Jump to content

Topic on Extension talk:Phpbb Single Sign-On/Flow

Fatal error: Cannot redeclare deregister_globals()

2
118.152.0.36 (talkcontribs)

When trying to skin the vector template I keep getting this error. It appears across the whole mw header.

" Fatal error: Cannot redeclare deregister_globals() (previously declared in /home/user/www/phpBB3/includes/startup.php:36) in /home/user/www/phpBB3/includes/startup.php on line 85 "

I'm running MW 1.26 and phpBB 3.1.6, and applied the below modifications. Sorry for my lack of knowledge.

128.72.54.22 (talkcontribs)

Got same problem. Solution is:

In vector template change phpbbUser declaration to

global $wgPhpbbSSO;

$phpbbUser = $wgPhpbbSSO;

Reply to "Fatal error: Cannot redeclare deregister_globals()"