View previous topic :: View next topic |
Author |
Message |
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Fri Oct 14, 2005 2:17 am Post subject: Can't get rid of notices in PHP |
|
|
I just installed Xoops and I'm having an annoying problem. At the main page under the login screen I get about 200 lines of these notices:
Code: |
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215
|
I tried to turn them off by setting my notices settings in php.ini to this:
Code: |
error_reporting = E_ALL & ~E_NOTICE & ~E_USER_NOTICE
|
and it didn't work so I tried this:
Code: |
error_reporting = ~E_ALL
|
which didn't work either. This may not be relevant, but I also tried made this change:
Code: |
pgsql.ignore_notice = 1
|
And nothing seems to work. I restarted my Apache server after each change also, so what then could be the problem? |
|
Back to top |
|
|
igor92128 Apprentice
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Fri Oct 14, 2005 6:17 am Post subject: |
|
|
Nevermind I figured it out...had to turn of debugging within Xoops admin tool. |
|
Back to top |
|
|
potatoface Guru
Joined: 18 Feb 2004 Posts: 542 Location: ::7F00:1
|
Posted: Sun Dec 25, 2005 9:59 pm Post subject: |
|
|
thanks, man...
i had the same problem and couldnt find an answer... _________________ The generation of random numbers is too important to be left to chance.
Adopt an unanswered post. |
|
Back to top |
|
|
|