1
drsoul
Problems understanding what the PHP Debug is telling me
  • 2004/1/14 22:43

  • drsoul

  • Just popping in

  • Posts: 7

  • Since: 2004/1/13


I have swiched PHP-Debugging on as i am unable to 'view account'

it gives me this:

Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: modules in file class/smarty/Smarty.class.php line 626
Error [Xoops]: Smarty: [in db:system_userinfo.html line 112]: syntax error: expecting '=' after attribute name 'ts' (Smarty_Compiler.class.php, line 1375) in file class/smarty/Smarty_Compiler.class.php line 1824

on the main page i get this when i press back:

Notice [PHP]: Undefined index: xoops_lblocks 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: xoops_ccblocks in file templates_c/x2t^theme.html line 167

when i go to the gallery page that ive only just got working i get this:

Notice [PHP]: Undefined property: app in file modules/xoopsgallery/config.php line 5
Notice [PHP]: Use of undefined constant no - assumed 'no' in file modules/xoopsgallery/config.php line 36
Notice [PHP]: Undefined index: showOwners in file modules/xoopsgallery/config.php line 59
Notice [PHP]: Undefined index: HTTPS in file modules/xoopsgallery/init.php line 74
Notice [PHP]: Undefined variable: GALLERY_NO_SESSIONS in file modules/xoopsgallery/init.php line 107
Notice [PHP]: A session had already been started - ignoring session_start() in file modules/xoopsgallery/session.php line 51
Notice [PHP]: Undefined property: albumName in file modules/xoopsgallery/init.php line 148
Notice [PHP]: Undefined property: albumListPage in file modules/xoopsgallery/albums.php line 42
Notice [PHP]: Undefined variable: imageDir in file modules/xoopsgallery/albums.php line 52
Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: edit in file modules/xoopsgallery/albums.php line 156
Notice [PHP]: Undefined variable: edit in file modules/xoopsgallery/albums.php line 157
Notice [PHP]: Undefined index: albums in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: show_search in file templates_c/db%3Axoopsgallery_index.html line 3
Notice [PHP]: Undefined index: url in file templates_c/db%3Axoopsgallery_index.html line 20
Notice [PHP]: Undefined index: url in file templates_c/db%3Axoopsgallery_index.html line 122
Notice [PHP]: Undefined index: xoops_ccblocks in file templates_c/x2t^theme.html line 167

forum gives me this:

Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Warning [PHP]: fopen(/home/revelati/public_html/main/cache/mod_newbb^49239658c330f6b7c20dbd19645ddb58^db%3Anewbb_index.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1998
Notice [PHP]: Undefined index: categories in file class/smarty/Smarty.class.php line 626
Warning [PHP]: fopen(/home/revelati/public_html/main/cache/mod_newbb^49239658c330f6b7c20dbd19645ddb58^db%3Anewbb_index.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1998
Notice [PHP]: Undefined index: lang_activenotifications in file templates_c/db%3Asystem_notification_select.html line 7
Notice [PHP]: Undefined index: xoops_ccblocks in file templates_c/x2t^theme.html line 167


why am i having all these issues and what do they mean?
http://www.revelationsound.org is the site.

thanks.
Drsoul

2
fatman
Re: Problems understanding what the PHP Debug is telling me
  • 2004/1/14 23:49

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


The only error you need to worry about is this one.

Error [Xoops]: Smarty: [in db:system_userinfo.html line 112]: syntax error: expecting '=' after attribute name 'ts' (Smarty_Compiler.class.php, line 1375) in file class/smarty/Smarty_Compiler.class.php line 1824

That means there is most likely a typo in your system_userinfo.html file at around 112. Smarty is expecting an '=' where there is none.

You can try to fix this bug by going to System > Prefs > Templates section, but you'll only be able to edit if you've cloned your templates and are have that cloned copy active in System > Prefs > General

All the other Notices and Warnings are not actually errors. By default PHP is configured not to show warnings/notices, XOOPS overrides this setting. So you can safely ignore these.

Login

Who's Online

523 user(s) are online (348 user(s) are browsing Support Forums)


Members: 0


Guests: 523


more...

Donat-O-Meter

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

Latest GitHub Commits