1
Bazus
Should I worry about all these 'debug errors' i'm getting ???
  • 2003/11/3 7:54

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


I have turned on debug on and I get all these in the main page:(xoops2)


Quote:
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: lang_rememberme in file templates_c/db%3Asystem_block_login.html line 7
Notice [PHP]: Undefined index: sslloginlink in file templates_c/db%3Asystem_block_login.html line 10
Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: topics in file templates_c/db%3Anewbb_block_active.html line 20
Notice [PHP]: Undefined index: xoops_ccblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: stories in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 20
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 74
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 20
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 74
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 20
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 74
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: xoops_module_header in file templates_c/default^theme.html line 36
Notice [PHP]: Undefined index: xoops_clblocks in file templates_c/default^theme.html line 257
Notice [PHP]: Undefined index: xoops_crblocks in file templates_c/default^theme.html line 271


is that important?? and if avoidable how can I correct it?

2
Herko
Re: Should I worry about all these 'debug errors' i'm getting ???
  • 2003/11/3 8:37

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Not important Smarty caches files which do not declare all its variables before using them. It's the quick way of programming and it doesn't break the code in any way, so your site functions normally.

Herko

3
mariuss
Re: Should I worry about all these 'debug errors' i'm getting ???
  • 2003/11/11 1:10

  • mariuss

  • Just popping in

  • Posts: 99

  • Since: 2002/9/6 5


I am getting the same errors, is there a way to get ridd off them?

I understand that they can be ignored, but being some many, at the bottom of every single page, makes hard (if not impossible) to catch real errors.

Thanks,
Marius

4
mvandam
Re: Should I worry about all these 'debug errors' i'm getting ???
  • 2003/11/11 1:52

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


If you want to get rid of some, you could edit the class/errorhandler.php file and perhaps filter out anything with 'templates_c' or 'resource.db' in the path. Or perhaps even turning off all notices.

Login

Who's Online

231 user(s) are online (175 user(s) are browsing Support Forums)


Members: 0


Guests: 231


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