I'm trying to update from 1.3.x to 1.4. I've unpacked the tar file over my 1.3 install which is in /var/www/html/wiki
when I cd to /var/www/html/wiki/maintenance and run php update.php I get:
-----
[rick@frodo maintenance]$ php update.php X-Powered-By: PHP/4.2.2 Content-type: text/html
<br /> <b>Warning</b>: The argument needs to be an array in <b>/var/www/html/wiki/maintenance/commandLine.inc</b> on line <b>26</b><br /> <br /> <b>Warning</b>: Variable passed to reset() is not an array or object in <b>/var/www/html/wiki/maintenance/commandLine.inc</b> on line <b>33</b><br /> A copy of your installation's LocalSettings.php must exist in the source directory.
---
My LocalSettings.php is in the ../wiki directory. I created an AdminSettings.php file with the db user and password, but I don't think I'm getting that far.
Does update.php need some undocumented arguments?
HELP!!!!!
I am making a test to see something. I kindly ask that anyone (only one, no more than one needed) answers this email (with anything like " !!!!!" ). just to see wether anyone receives this Thanks very much and sorry to bother tyou for such nonsense...
Rick DeNatale wrote:
I'm trying to update from 1.3.x to 1.4. I've unpacked the tar file over my 1.3 install which is in /var/www/html/wiki
when I cd to /var/www/html/wiki/maintenance and run php update.php I get:
[rick@frodo maintenance]$ php update.php X-Powered-By: PHP/4.2.2 Content-type: text/html
You're running PHP's CGI script interface instead of the command line script runner. The command-line arguments thus aren't passed to the script correctly, and it's unable to identify the proper directory to work in.
There may be a separate command-line executable on your system called 'php-cli' or similar (you might have to install a separate package on some systems).
4.2.2 is a very old version with a lot of bugs; upgrade to 4.3.10 if you can.
-- brion vibber (brion @ pobox.com)
I managed to get it up by using the web interface after renaming LocalSettings.php.
I'm still running Redhat 9 on the server, and the little bit googling I've done hasn't turned up a later version of php for RH9 at least in rpm form.
On Mon, 21 Mar 2005 13:22:05 -0800, Brion Vibber brion@pobox.com wrote:
Rick DeNatale wrote:
I'm trying to update from 1.3.x to 1.4. I've unpacked the tar file over my 1.3 install which is in /var/www/html/wiki
when I cd to /var/www/html/wiki/maintenance and run php update.php I get:
[rick@frodo maintenance]$ php update.php X-Powered-By: PHP/4.2.2 Content-type: text/html
You're running PHP's CGI script interface instead of the command line script runner. The command-line arguments thus aren't passed to the script correctly, and it's unable to identify the proper directory to work in.
There may be a separate command-line executable on your system called 'php-cli' or similar (you might have to install a separate package on some systems).
4.2.2 is a very old version with a lot of bugs; upgrade to 4.3.10 if you can.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org