Manual talk:Update.php/de

Jump to navigation Jump to search

About this board

update.php doesn't recognize the expected database

1
Ulf Dunkel (talkcontribs)

I run a multi-languages Wiki setup with several subdomains (like de.mywiki.org, en.mywiki.org, etc.) which all use independent databases. For shared images I also use a pool.mywiki.org with its own database.

When I want to update my different wikis, I expected this to work:

$ cd /var/www/mydomain/w/de/maintenance

$ php update.php --conf ../LocalSettings.php

This indeed updates "a" database, but afterwards I can no longer see my German wiki articles, but the de.mywiki.org site seems to use the pool.mywiki.org database instead, as if I had entered:

$ cd /var/www/mydomain/w/pool/maintenance

$ php update.php --conf ../LocalSettings.php

I wonder what I am doing wrong here.

Reply to "update.php doesn't recognize the expected database"

In update.php : syntax error, unexpected '[' in line 170

2
193.33.2.101 (talkcontribs)

When I try to execute it I have this error. Does anybody know why? Thanks

2.137.90.91 (talkcontribs)

Same problem here. I'm trying to update from 1.20 to 1.27. I'm using php 5.6.27 and MySQL 5.0.11.

I'm stuck because my 1.20 doesn't work with php 5.6 and the new one needs this database update. I was googling and there's no information about this problem.

Reply to "In update.php : syntax error, unexpected '[' in line 170"
There are no older topics