1
andrey3761
mydownloads 1.6 and Class 'XoopsTree'

In module mydownloads 1.6 there are errors

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


How to correct?
XOOPS 2.3.3
PHP 5.2

2
ghia
Re: mydownloads 1.6 and Class 'XoopsTree'
  • 2009/9/28 22:34

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is a warning for the module developers and can be ignored. Switch off debug in the preferences.

3
andrey3761
Re: mydownloads 1.6 and Class 'XoopsTree'

I too develop modules for the site...
I wished to rectify this error. On a working site debugging is switched off.

4
ghia
Re: mydownloads 1.6 and Class 'XoopsTree'
  • 2009/10/1 23:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Go to the /class/xoopstree.php file and put the trigger error line of the XoopsTree function in comment.

More difficult is to replace the object XoopsTree by XoopsObjectTree in the module as an example here.

Login

Who's Online

214 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

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

Latest GitHub Commits