Last modified: 2010-05-15 15:33:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3429 - PHP 5.0.5 fatal errors with MediaWiki 1.4
PHP 5.0.5 fatal errors with MediaWiki 1.4
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Brion Vibber
Depends on:
  Show dependency treegraph
Reported: 2005-09-11 20:05 UTC by Martin Steldinger
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Martin Steldinger 2005-09-11 20:05:02 UTC
Since the update of PHP 4x to 5.0.5 this problem exists. Since that we cannot
look at differences between versions of a page.

It runs on debian/gnu linux, x86:
    MediaWiki ( 1.4.9 
    PHP ( 5.0.5 (apache) 
    MySQL ( 4.0.24_Debian-10-log

Mediawiki shouts:
Fatal error: Only variables can be passed by reference in
/var/www/ofu3/www/mediawiki/includes/DifferenceEngine.php on line 105

php.ini says:
allow_call_time_pass_reference = On
safe_mode = Off
Comment 1 James Lick 2005-09-13 09:27:35 UTC
I am also seeing this problem.  I have just installed MediaWiki recently, so I'm
not sure what is the triggering factor, but I'm also running a very recent
version of PHP, which we need to fix a PHP bug that causes uploads to break on
Solaris when too many files are open.

Here's what we're using:
Solaris 10
MediaWiki 1.4.9
PHP 5.1.0RC1
Apache 2.0.54
Mysql 4.1.13a
Comment 2 Brion Vibber 2005-09-13 09:45:07 UTC
Note that MediaWiki 1.4 will not work on PHP 5.1 at all; install the 1.5 release 
candidate, which includes changes to accord with the new restrictions on 
Comment 3 Brion Vibber 2005-09-13 09:52:34 UTC
No problem on 5.0.4; upgrading test box to 5.0.5 for further testing.
Comment 4 Brion Vibber 2005-09-13 10:19:28 UTC
Looks like PHP has silently introduced some incompatible fatal errors in 5.0.5, 
either the same or similar to those in 5.1.0.

MediaWiki 1.4 is incompatible with these changes; upgrade to 1.5.
Comment 5 James Lick 2005-09-13 10:22:32 UTC
Brion, Thanks for the quick update.  I upgraded to 1.5rc4 and the problem is
fixed.  I suspect this is going to become a hot issue now that PHP 5.0.5 is
released and 5.1.0 is close to release.

Note You need to log in before you can comment on or make changes to this bug.