Manual talk:Update.php/de

Jump to navigation Jump to search

About this board

update.php doesn't recognize the expected database

Ulf Dunkel (talkcontribs)

I run a multi-languages Wiki setup with several subdomains (like,, etc.) which all use independent databases. For shared images I also use a 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 site seems to use the 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 (talkcontribs)

When I try to execute it I have this error. Does anybody know why? Thanks (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