Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232288

Summary: Changing the theme results in a permenant $_SESSION or cache related bug (noisy)
Product: Gentoo Infrastructure Reporter: Paige Thompson <erratic>
Component: OtherAssignee: Gentoo Infrastructure <infra-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://http://gentoo-wiki.com/Special:Preferences
Whiteboard:
Package list:
Runtime testing required: ---

Description Paige Thompson 2008-07-19 03:27:26 UTC
Upon changing the theme on my gentoo-wiki account, I'm stuck with this lovely warning: 

Warning: Invalid argument supplied for foreach() in /var/www/en/htdocs/includes/SpecialPreferences.php on line 847

You could hide this simply by adding error_reporting(E_NONE) wherever applicable, you could even do this so that you can only view warnings/errors from a specific IP or something. 


Reproducible: Didn't try

Steps to Reproduce:
1. sign up for an account on gentoo-wiki.com and get automatically signed in
2. add a nickname on the user profile and save
3. go to the skins section and select the Nostalgia skin and click save.

Actual Results:  
Warning: Invalid argument supplied for foreach() in /var/www/en/htdocs/includes/SpecialPreferences.php on line 847 

and then the rest of the page.

Expected Results:  
SILENCE
Comment 1 Paige Thompson 2008-07-19 03:31:16 UTC
Sorry, after looking at this documentation: http://us2.php.net/error_reporting

I find that E_NONE isn't a valid parameter... maybe error_reporting(~E_ALL) 


Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-07-19 05:04:44 UTC
we don't run gentoo-wiki, it's external.