Last modified: 2010-05-15 15:33:00 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 (http://wikipedia.sf.net/): 1.4.9
PHP (http://www.php.net/): 5.0.5 (apache)
MySQL (http://www.mysql.com/): 4.0.24_Debian-10-log
Fatal error: Only variables can be passed by reference in
/var/www/ofu3/www/mediawiki/includes/DifferenceEngine.php on line 105
allow_call_time_pass_reference = On
safe_mode = Off
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:
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
No problem on 5.0.4; upgrading test box to 5.0.5 for further testing.
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.
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.