It must also be readable...the test is:
if ( ! is_readable( $settingsFile ) ) { print "A copy of your installation's LocalSettings.php\n" . "must exist in the source directory.\n"; exit(); }
Terry
-----Original Message----- From: mediawiki-l-bounces@wikimedia.org [mailto:mediawiki-l- bounces@wikimedia.org] On Behalf Of Terry Lalonde Sent: Monday, March 21, 2005 3:32 PM To: Rick DeNatale; MediaWiki announcements and site admin list Subject: RE: [Mediawiki-l] update.php failing on 1.4 install
A copy of LocalSettings.php must exist in /var/www/html/wiki in your case.
Terry
-----Original Message----- From: mediawiki-l-bounces@wikimedia.org [mailto:mediawiki-l- bounces@wikimedia.org] On Behalf Of Rick DeNatale Sent: Monday, March 21, 2005 3:11 PM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] update.php failing on 1.4 install
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!!!!! _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l