1
yyvonne
Problem with many modules
  • 2008/10/23 9:07

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


I have problem with many modules.

A few of the modules, when I install locally, there's no problem at all. So after I tested, I upload to my site and install. Then I encountered problem when I tried to create category or add items. It simply goes back to the same page without doing anything. It will not load the page that I want. Below is an example of my problem.

Reviews Module (same problem happen to a few other modules as well):

1. I go to the adminhttp://www.mysite.com/modules/myReviews/admin/

2. I click on "Manage Categories", and it goes back to the admin page (http://www.mysite.com/modules/myReviews/admin/) without doing anything.

Does anyone know what cause this problem? Is it due to chmod?

Thanks.

2
dslchart
Re: Problem with many modules
  • 2008/10/23 9:26

  • dslchart

  • Not too shy to talk

  • Posts: 112

  • Since: 2008/9/7 1


which XOOPS version? which php version? enable the debug mode and post your problems ...

3
yyvonne
Re: Problem with many modules
  • 2008/10/23 9:34

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


XOOPS Version - XOOPS 2.3.1 RC
PHP Version - 5.1.6
MySQL Version - 5.0.22

4
dslchart
Re: Problem with many modules
  • 2008/10/23 11:17

  • dslchart

  • Not too shy to talk

  • Posts: 112

  • Since: 2008/9/7 1


what say the debugger and have you php 5.1.6 local and online?

5
yyvonne
Re: Problem with many modules
  • 2008/10/23 11:38

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


It's Version 5.12 locally.

The error msg:

Warning: Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45

6
ghia
Re: Problem with many modules
  • 2008/10/23 12:50

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


These 'xxxxx is deprecated' messages are a new feature of 2.3.x and are only useful for module developers. They are not errors and may all be ignored.

7
trabis
Re: Problem with many modules
  • 2008/10/23 13:02

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Search and replace old php vars such as $HTTP_POST_VARS by $_POST, $HTTP_GET_VARS by $_GET, etc...

8
McDonald
Re: Problem with many modules
  • 2008/10/23 13:03

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
These 'xxxxx is deprecated' messages are a new feature of 2.3.x and are only useful for module developers. They are not errors and may all be ignored.


Are you really sure, ghia?
Try to comment out the source of this message in /class/xoopstree.php and you will see it just stops the module from using the class XoopsTree.

Best is to comment out these lines in all files of X23 when having probs with mods.

9
trabis
Re: Problem with many modules
  • 2008/10/23 13:11

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

McDonald wrote:

Best is to comment out these lines in all files of X23 when having probs with mods.


Are you really sure, McDonald?

Functions exists to maintain backward compatibility, and messages are there to remind you that your modules are needing some update (or not).

10
ghia
Re: Problem with many modules
  • 2008/10/23 15:24

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
Are you really sure, ghia?
Up to now I assumed these statements issued a message, but did not influence the normal program flow in any way.
Quote:
Try to comment out the source of this message in /class/xoopstree.php and you will see it just stops the module from using the class XoopsTree.
You mean it stops the module from using the class XoopsTree when it is UNcommented?
And when it is commented out, normal program flow is resumed?

If that is the case, it would be very bad!

Login

Who's Online

203 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits