Hello Sam,
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_remoteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKeditor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/appl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/devwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/usr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
- There isn't a FCKeditor.php file in the root dir; can it simply be copied from and existing wiki on the server?
Thanks ever so much!
-----------------------------------------
Sam.Sexton@thomsonreuters.com wrote:
Try running php ./update.php ...?
/Sam
sam.sexton@thomsonreuters.com thomsonreuters.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Tolliver Sent: 01 April 2010 15:29 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Upgrade to 1.15.2 question
Hello,
Thanks to everyone for all of your assistance, but I hope this is my last question:
Does anyone know what could be causing the following errors when I run ./update.php:
./update.php: line 1: ?php: No such file or directory ./update.php: line 2: require_once: command not found ./update.php: line 3: /appl: is a directory ./update.php: line 4: addwiki.php: command not found ./update.php: line 5: addwiki.php: command not found ./update.php: line 6: addwiki.php: command not found ./update.php: line 7: addwiki.php: command not found ./update.php: line 8: addwiki.php: command not found ./update.php: line 9: addwiki.php: command not found ./update.php: line 10: addwiki.php: command not found ./update.php: line 11: archives/: is a directory ./update.php: line 13: /appl: is a directory ./update.php: line 14: =: command not found ./update.php: line 15: syntax error near unexpected token `(' ./update.php: line 15: `$options = array( 'quick', 'nopurge' );'
Thanks, Graham
Platonides wrote:
Tolliver wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki's.
My understanding is, I can upgrade each wiki individually. Having
said
that, can I perform the install process of the new version, replace
the
old wiki's with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
Install process? You may be taking a wrong approach. You update by replacing the old files with the new ones, then running the script at maintenance/update.php Only the database of that wiki is affected.
So to update you should just surround it with a "foreach wiki..." Good prectises advise making a db backup before updating.
If the wikis are sharing the files, it may be a bit harder, since you would need to break the links for updating individually (or update all dbs one after other at the same time).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l