Last modified: 2013-05-13 13:35:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49157, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47157 - The error message for $wgSqliteDataDir being wrong is super unintuitive
The error message for $wgSqliteDataDir being wrong is super unintuitive
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.21.x
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-12 08:24 UTC by Bawolff (Brian Wolff)
Modified: 2013-05-13 13:35 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bawolff (Brian Wolff) 2013-04-12 08:24:35 UTC
Updating from 1.20.3

php update.php
MediaWiki 1.21.0rc2 Updater

Going to run database updates for ngramwiki-145668
Using SQLite file: '/users/webhome/wolff/nlp/ngramwiki-145668.sqlite'
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
...site_stats table does not exist, skipping new field patch.
PHP Warning:  Invalid argument supplied for foreach() in /users/webhome/wolff/nlp/wiki/includes/objectcache/SqlBagOStuff.php on line 232
PHP Warning:  Invalid argument supplied for foreach() in /users/webhome/wolff/nlp/wiki/includes/objectcache/SqlBagOStuff.php on line 232
PHP Warning:  Invalid argument supplied for foreach() in /users/webhome/wolff/nlp/wiki/includes/objectcache/SqlBagOStuff.php on line 232
PHP Warning:  Invalid argument supplied for foreach() in /users/webhome/wolff/nlp/wiki/includes/cache/MessageCache.php on line 433
PHP Warning:  Invalid argument supplied for foreach() in /users/webhome/wolff/nlp/wiki/includes/cache/MessageCache.php on line 450
A database query syntax error has occurred.
The last attempted database query was:
"SELECT  ss_active_users  FROM site_stats   LIMIT 1  "
from within function "DatabaseUpdater::doActiveUsersInit".
Database returned error "4: malformed database schema - near "VIRTUAL": syntax error"
Comment 1 Bawolff (Brian Wolff) 2013-04-12 08:31:38 UTC
Sorry, I may  have been a little quick filing this. I think this is my fault combined with a very unintuitive error message...
Comment 2 Bawolff (Brian Wolff) 2013-04-12 08:37:07 UTC
Ok, looks like this particular host, the webserver has a different directory structure than the login server. So running things from a command line, the sqlite db is located in a different place (Which I had wrong in LocalSettings.php)

However on top of that, even after fixing, it seems like the web-server directory is still saved inside the db ??

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links