1
Jace303
Wiwimod Module and 2.0.7
  • 2004/6/17 21:00

  • Jace303

  • Just popping in

  • Posts: 38

  • Since: 2003/11/5


I've been using Wiwi Module with XOOPS 2.0.6. After upgrading to XOOPS 2.0.7 my comments are no longer shown. But they are still in database.

Is it possible there was a change in the comment system?

2
Mithrandir
Re: Wiwi Module and 2.0.7

There was a change to make the comments work with register globals = off, which now expects most variables to come via GET method - except when posting comments, where they come via POST.

I am not familiar with the wiwi module, however, so that may have broken something... but it shouldn't have.

3
Jace303
Re: Wiwi Module and 2.0.7
  • 2004/6/19 6:53

  • Jace303

  • Just popping in

  • Posts: 38

  • Since: 2003/11/5


The problem is indeed this line in comment_view.php

Quote:
$com_itemid = (trim($comment_config['itemName']) != '' && isset($HTTP_GET_VARS[$comment_config['itemName']])) ? intval($HTTP_GET_VARS[$comment_config['itemName']]) : 0;


in XOOPS 2.0.7 it changed to:
Quote:
$com_itemid = (trim($comment_config['itemName']) != '' && isset($_GET[$comment_config['itemName']])) ? intval($_GET[$comment_config['itemName']]) : 0;


The 2.0.6 version works with Wiwimod. In 2.0.7 comment_view.php would not show any output because of this if-statement (line 41)

Quote:
if ($com_itemid > 0) {

4
Xavier
Re: Wiwi Module and 2.0.7
  • 2004/10/25 23:18

  • Xavier

  • Just popping in

  • Posts: 38

  • Since: 2004/5/12


Wiwi 0.7 version now works fine with XOOPS 2.0.7 : as comments system expected $_GET array to be updated, and older versions expected $HTTP_GET_VARS , now both of them are set.
(see the last lines of wiwimod/index.html)

Xavier

Login

Who's Online

432 user(s) are online (283 user(s) are browsing Support Forums)


Members: 0


Guests: 432


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits