Last modified: 2010-05-15 15:33:44 UTC
If Nostalgia is the skin choosed in the preferences, special pages (with special: namespace), doesn't work any longer, causing the following error: Fatal error: Cannot redeclare class specialpage in c:\wamp\wiki\includes\SpecialPage.php on line 106 Programs used: php 4.3.11 MySQL 5.0.3-NT Alpha Apache 2.0.53 Running on Windows 98 as a testserver The title of the page will appear in the browser's titlebar, and the header of the page will load too (DOCTYPE, everything between <head> and </head>, and then the body tag. Finally the error, and nothing more then.) The user who have this problem, can't change the skin, because the preferences page is a special page too.
(In reply to comment #0) > If Nostalgia is the skin choosed in the preferences, special pages (with special: namespace), doesn't > work any longer, causing the following error: > Fatal error: Cannot redeclare class specialpage in c:\wamp\wiki\includes\SpecialPage.php on line 106 > Programs used: > php 4.3.11 > MySQL 5.0.3-NT Alpha > Apache 2.0.53 > Running on Windows 98 as a testserver > The title of the page will appear in the browser's titlebar, and the header of the page will load too > (DOCTYPE, everything between <head> and </head>, and then the body tag. Finally the error, and nothing > more then.) > The user who have this problem, can't change the skin, because the preferences page is a special page > too. I just tried this on Wikimedia Commons - it seems to work fine.
Same error produced after a clean install. User began switching through skin choices and is now stuck after choosing the Nostalgia skin. On accessing any special page: Fatal error: Cannot redeclare class specialpage in /public_html/wiki/includes/SpecialPage.php on line 106 (In reply to comment #0) > If Nostalgia is the skin choosed in the preferences, special pages (with special: namespace), doesn't > work any longer, causing the following error: > Fatal error: Cannot redeclare class specialpage in c:\wamp\wiki\includes\SpecialPage.php on line 106 > Programs used: > php 4.3.11 > MySQL 5.0.3-NT Alpha > Apache 2.0.53 > Running on Windows 98 as a testserver > The title of the page will appear in the browser's titlebar, and the header of the page will load too > (DOCTYPE, everything between <head> and </head>, and then the body tag. Finally the error, and nothing > more then.) > The user who have this problem, can't change the skin, because the preferences page is a special page > too.
Check the include_path setting in LocalSettings.php. Is the $IP variable set to the correct path? Add in a var_dump( get_included_files() ) right before the failed line and report back exactly what is listed. Do you have inaccessible parent directories in the path?
(Resolving as "Invalid" after six months, due to lack of information.)