Author: mark
Description:
I've been banging my head against a wall trying to upgrade to 1.6.3 from 1.5.6
and I figured out that there is something wrong with the 1.6.3 release. After I
unpack the new source code to my 1.5.6 release, move the directory to be called
mediawiki-1.6.3, change the w symlink to point to that and then change
LocalSettings.php and AdminSettings.php to point to the new path and be setup
properly, I run
php maintenance/update.php
and get this error:
Content-type: text/html
X-Powered-By: PHP/4.3.10
<br />
<b>Fatal error</b>: Call to undefined function: wfrunhooks() in
<b>/home/blgpedia/www/dev.bloomingpedia.org/mediawiki-1.6.3/includes/QueryPage.php</b>
on line <b>44</b><br />
For some reason, the $IP variable gets nullified in the includes/QueryPage.php
file when running the wfRunHooks function in there. I haven't looked into it
much more than that but that should give you a start. Today, I tried upgrading
to older version of the 1.6 code and found that I was able to successfully
upgrade to 1.6.1, 1.6.2 fine. I tried upgrading to 1.6.3 again just to make
sure it was still a problem and it was still giving the same error.
The changelog on the website says that all that changed from 1.6.2 to 1.6.3 is
"Installation on MySQL 4.0 older than 4.0.18 should work again." but that
doesn't affect me. Perhaps some file or code was overwritten in SVN or
something got botched.
It it makes any difference, this installation of mediawiki was first installed
under 1.4.7, then upgraded to 1.5.6, there could be some files left over that
the upgrade script didn't get or something.
Version: 1.6.x
Severity: major
OS: Linux
Platform: PC
URL: http://www.bloomingpedia.org