1
Hi all,
I've been using XOOPS for a while now and after several upgrade paths (it's at v2.2.3a) I noticed a few problems. I turned out PHPDEBUG and the following shows up on every page (of course it varies from page to page but they are all similar):
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/profilefield.php line 505
Warning [PHP]: fopen(): open_basedir restriction in effect. File(/home/ecltech/public_html/cache/profilefields.tmp) is not within the allowed path(s): (/home/ecltech:/usr/lib/php:/usr/local/lib/php:/tmp) in file /backup/ecltech/public_html/kernel/profilefield.php line 510
Warning [PHP]: fopen(/home/ecltech/public_html/cache/profilefields.tmp): failed to open stream: Operation not permitted in file /backup/ecltech/public_html/kernel/profilefield.php line 510
Warning [PHP]: fputs(): supplied argument is not a valid stream resource in file /backup/ecltech/public_html/kernel/profilefield.php line 511
Warning [PHP]: fclose(): supplied argument is not a valid stream resource in file /backup/ecltech/public_html/kernel/profilefield.php line 512
Warning [PHP]: implode(): Bad arguments. in file /backup/ecltech/public_html/kernel/profilefield.php line 322
Notice [PHP]: unserialize(): Argument is not a string in file /backup/ecltech/public_html/kernel/profilefield.php line 323
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/profile.php line 94
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/include/common.php line 223
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/config.php line 239
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/config.php line 239
Notice [PHP]: Undefined index: theme in file /backup/ecltech/public_html/kernel/object.php line 279
Notice [PHP]: Undefined index: theme in file /backup/ecltech/public_html/kernel/object.php line 280
Notice [PHP]: Undefined index: theme in file /backup/ecltech/public_html/kernel/object.php line 375
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/modules/system/admin/preferences/main.php line 39
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/modules/system/admin/preferences/main.php line 45
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/module.php line 1447
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/modules/system/admin/preferences/main.php line 53
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/include/cp_functions.php line 41
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/include/cp_functions.php line 50
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/include/cp_functions.php line 58
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/include/cp_functions.php line 90
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/modules/smartfaq/xoops_version.php line 310
Notice [PHP]: Only variable references should be returned by reference in file /backup/ecltech/public_html/kernel/module.php line 172
Notice [PHP]: Only variable references should be returned by reference in file /backup/ecltech/public_html/kernel/module.php line 172
Is this something I need to worry about? Possible misconfiguration on my end?
Another issue I have is when I go to View or Edit account when I'm logged in I get the following:
Fatal error: Call to a member function on a non-object in /backup/ecltech/public_html/class/theme.php on line 499
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/profilefield.php line 505
Warning [PHP]: fopen(): open_basedir restriction in effect. File(/home/ecltech/public_html/cache/profilefields.tmp) is not within the allowed path(s): (/home/ecltech:/usr/lib/php:/usr/local/lib/php:/tmp) in file /backup/ecltech/public_html/kernel/profilefield.php line 510
Warning [PHP]: fopen(/home/ecltech/public_html/cache/profilefields.tmp): failed to open stream: Operation not permitted in file /backup/ecltech/public_html/kernel/profilefield.php line 510
Warning [PHP]: fputs(): supplied argument is not a valid stream resource in file /backup/ecltech/public_html/kernel/profilefield.php line 511
Warning [PHP]: fclose(): supplied argument is not a valid stream resource in file /backup/ecltech/public_html/kernel/profilefield.php line 512
Warning [PHP]: implode(): Bad arguments. in file /backup/ecltech/public_html/kernel/profilefield.php line 322
Notice [PHP]: unserialize(): Argument is not a string in file /backup/ecltech/public_html/kernel/profilefield.php line 323
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/profile.php line 94
Notice [PHP]: Only variable references should be returned by reference in file /backup/ecltech/public_html/kernel/module.php line 1349
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/include/common.php line 223
Notice [PHP]: Only variables should be assigned by reference in file /backup/ecltech/public_html/kernel/config.php line 239
Notice [PHP]: Undefined index: theme in file /backup/ecltech/public_html/kernel/object.php line 279
Notice [PHP]: Undefined index: theme in file /backup/ecltech/public_html/kernel/object.php line 280
Notice [PHP]: Undefined index: theme in file /backup/ecltech/public_html/kernel/object.php line 375
I looked at the theme.php file on line 499 but don't know much about php to figure this out on my own.
Any help would be greatly appreciated.
Thank you.
-Mike