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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5429, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3429 - PHP 5.0.5 fatal errors with MediaWiki 1.4
PHP 5.0.5 fatal errors with MediaWiki 1.4
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.4.x
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Brion Vibber
http://wiki.offeneuni.tk/mediawiki/in...
:
Depends on:
Blocks:
  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: ---


Attachments

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

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


Navigation
Links