1
Jace303
2.0.5.1: Undefined Index Notice
  • 2003/11/26 19:56

  • Jace303

  • Just popping in

  • Posts: 38

  • Since: 2003/11/5


Hi,

I'm getting the following notices on top of my page since I updated to 2.0.5.1 (PHP debug mode):

Notice: Undefined index: default_theme in /xoopspath/class/smarty/plugins/resource.db.php on line 71

Notice: Undefined index: default_theme in /xoopspath/class/smarty/plugins/resource.db.php on line 74

Notice: Undefined variable: file_path in /xoopspath/class/smarty/plugins/resource.db.php on line 96

I know these are just notices.. but I would feel better if I could fix them! Thanks for any help.

2
skalpa
Re: 2.0.5.1: Undefined Index Notice
  • 2003/11/26 20:32

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Damn we forgot about that one...

The resource.db.php file has already been updated but it's not included in the 2.0.5.1

If you don't want to see the notices, remove php_debug
(hehehe)
Or more seriously, you may get the updated resource.db.php file from CVS and replace your current version, it will work...

Skalpa.>

3
robekras
Re: 2.0.5.1: Undefined Index Notice
  • 2003/11/26 20:32

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


As I see in the changes.txt the
- Temporarily disabled XoopsErrorHandler class (onokazu)

this means that when you have enabled the PHP Debug within your XOOPS site, that the errors and warnings which occure
are not handled by the XoopsErrorHandler.
So disable PHP Debug for your site.


4
Herko
Re: 2.0.5.1: Undefined Index Notice
  • 2003/11/26 20:41

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


You don't have to fix them, because they're part of the smarty codes. If you fix them, they'll be overwritten when smarty is updated, to the new version, for example.

[edit] Post is obsolete now... Other people, more knowlegable then myself have beat me to it [/edit]

Herko

5
Jace303
Re: 2.0.5.1: Undefined Index Notice
  • 2003/11/27 0:01

  • Jace303

  • Just popping in

  • Posts: 38

  • Since: 2003/11/5


Thanks everybody for your help.

Login

Who's Online

188 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits