Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get rid of notices in PHP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
igor92128
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 156
Location: California

PostPosted: Fri Oct 14, 2005 2:17 am    Post subject: Can't get rid of notices in PHP Reply with quote

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
View user's profile Send private message
igor92128
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 156
Location: California

PostPosted: Fri Oct 14, 2005 6:17 am    Post subject: Reply with quote

Nevermind I figured it out...had to turn of debugging within Xoops admin tool.
Back to top
View user's profile Send private message
potatoface
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: ::7F00:1

PostPosted: Sun Dec 25, 2005 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum