Page MenuHomePhabricator

Special pages doesn't work with Nostalgia, causing an error
Closed, InvalidPublic

Description

Author: bee.veer

Description:
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.


Version: 1.4.x
Severity: critical
OS: Windows XP
Platform: PC

Details

Reference
bz1856

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:19 PM
bzimport set Reference to bz1856.
bzimport added a subscriber: Unknown Object (MLST).

brian wrote:

(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.

pjp wrote:

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?

zigger wrote:

(Resolving as "Invalid" after six months, due to lack of information.)

epriestley changed the task status from Invalid to Resolved by committing Unknown Object (Diffusion Commit).Mar 4 2015, 8:15 AM
epriestley added a commit: Unknown Object (Diffusion Commit).
Aklapper changed the task status from Resolved to Invalid.Mar 4 2015, 11:26 AM
Aklapper claimed this task.