Last modified: 2012-04-12 14:00:08 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 T27485, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25485 - [Database error] User::checkNewtalk
[Database error] User::checkNewtalk
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.16.x
PC Linux
: High blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
http://wiki.anti-hacker-team.info
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-11 08:27 UTC by Michal Dziczkowski
Modified: 2012-04-12 14:00 UTC (History)
2 users (show)

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


Attachments

Description Michal Dziczkowski 2010-10-11 08:27:19 UTC
I get following error:

Database error
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

    (SQL query hidden)

from within function "User::checkNewtalk". Database returned error "1146: Table 'wiki.ka0e_user_newtalk' doesn't exist (localhost)".
Comment 1 Sam Reed (reedy) 2010-10-11 09:08:27 UTC
Are you still on the 1.16 beta?

Have run update.php?
Comment 2 Michal Dziczkowski 2010-10-11 18:45:36 UTC
> Have run update.php?

yes, but I only see a blank page
Comment 3 Max Semenik 2010-10-11 18:50:08 UTC
Please read http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
The update script is not going to work from the web.
Comment 4 Michal Dziczkowski 2010-10-11 19:32:42 UTC
(In reply to comment #3)
> Please read
> http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
> The update script is not going to work from the web.

the only problem is that this script in on the hosting without shell access
Comment 5 Max Semenik 2010-10-11 19:38:17 UTC
(In reply to comment #4)

> the only problem is that this script in on the hosting without shell access

There are alternatives listed on the aforementioned page. In any case, your inability to run shell scripts is not a bug in MediaWiki.
Comment 6 Roan Kattouw 2010-10-11 19:39:32 UTC
If you rename LocalSettings.php to a different name, run the installer again with the same settings, then move your old LocalSettings.php back, that'll upgrade your database too. This is documented at the URL we gave you, although it could use some clarification and expansion:

"The preferred method of performing the update is using the command-line maintenance script, although it is also possible to re-run the web-based installer."
Comment 7 Michal Dziczkowski 2010-10-12 10:12:20 UTC
I would suggest to rewrite the update file to let it run from the web sire and not command line.
Comment 8 Max Semenik 2010-10-12 15:17:10 UTC
Please don't reopen this bug for reasons unrelated to your report (that is, you received an error message because you didn't run the updater). If you want a new feature to be implemented, file another bug, but be aware that it would make little sense because there are ALREADY means to run maintenance scripts from the web, as you've been told. And we're currently working on yet another update thingie, http://www.mediawiki.org/wiki/Extension:Deployment
Comment 9 Roan Kattouw 2010-10-12 15:40:22 UTC
(In reply to comment #8)
> Please don't reopen this bug for reasons unrelated to your report (that is, you
> received an error message because you didn't run the updater). If you want a
> new feature to be implemented, file another bug, but be aware that it would
> make little sense because there are ALREADY means to run maintenance scripts
> from the web, as you've been told. And we're currently working on yet another
> update thingie, http://www.mediawiki.org/wiki/Extension:Deployment

Also, according to Chad, the new installer coming in version 1.17 supports running database schema updates from the web.
Comment 10 Michal Dziczkowski 2010-10-12 16:55:59 UTC
(In reply to comment #8)

> And we're currently working on yet another
> update thingie, http://www.mediawiki.org/wiki/Extension:Deployment

and (In reply to comment #8)

> Also, according to Chad, the new installer coming in version 1.17 supports
> running database schema updates from the web.

ok... in this case I give the status: "Resolved: Later" until the new version get relased, ok ?

and btw. sorry for the trouble :)
Comment 11 Max Semenik 2010-10-12 16:58:45 UTC
No.

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


Navigation
Links