Try running   php ./update.php    ...?

/Sam

[email protected]
thomsonreuters.com


-----Original Message-----
From: [email protected]
[mailto:[email protected]] 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>   


_______________________________________________
MediaWiki-l mailing list
[email protected]
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to