Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232288 - Changing the theme results in a permenant $_SESSION or cache related bug (noisy)
Summary: Changing the theme results in a permenant $_SESSION or cache related bug (noisy)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Infrastructure
URL: http://http://gentoo-wiki.com/Special...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-19 03:27 UTC by Paige Thompson
Modified: 2008-07-19 05:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.