Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

3537 Posts in 675 Topics- by 443 Members - Latest Member: ludus529
Pages: [1]
Print
Author Topic: Spoofuser Error  (Read 358 times)
0 Members and 1 Guest are viewing this topic.
Will3
Jr. Member
**
Posts: 4


View Profile
« on: July 05, 2012, 14:38:33 »

Hi again, having more issues. When some of the folks, myself included when I tested it, keep getting this error:
Quote
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 "SpoofUser::getConflicts". Database returned error "1146: Table 'usnwwiki_wiki.spoofuser' doesn't exist (localhost)".

Anyone have any suggestions?

Thank You smile
Logged
Sove
Full Member
***
Gender: Male
Posts: 172



View Profile
« Reply #1 on: July 06, 2012, 12:14:55 »

"Table 'usnwwiki_wiki.spoofuser' doesn't exist (localhost)"

It says the reason quite clearly. You need to make that table first.
Logged
Sasha Ehrenstein
Hero Member
*****
Posts: 501


Community Wiki Staff


View Profile WWW
« Reply #2 on: July 06, 2012, 13:05:47 »

If you're installing an extension, you need to copy the text of all the files that end in .sql into the database.  You might be able to use a cron job to run update.php.
Logged

Community Wiki Founder
http://community.wikkii.net

Sturmkrieg unoffical Warhammer gaming and fanfiction encyclopedia.
http://www.sturmkrieg.com

http://www.sturmkrieg.de
Fanra
Full Member
***
Posts: 119



View Profile WWW
« Reply #3 on: July 15, 2012, 22:17:32 »

You might be able to use a cron job to run update.php.

If, like myself, you have Advanced Hosting and no idea how to create a cron job, you can install https://www.mediawiki.org/wiki/Extension:MaintenanceShell in order to run update.php.
Logged
Sasha Ehrenstein
Hero Member
*****
Posts: 501


Community Wiki Staff


View Profile WWW
« Reply #4 on: July 16, 2012, 11:35:06 »

The only trouble is that sometimes the wiki doesn't even work if you don't have the tables added.  LiquidThreads is like that.
Logged

Community Wiki Founder
http://community.wikkii.net

Sturmkrieg unoffical Warhammer gaming and fanfiction encyclopedia.
http://www.sturmkrieg.com

http://www.sturmkrieg.de
Twibbles
Jr. Member
**
Gender: Male
Posts: 50


Coder and Game Designer


View Profile
« Reply #5 on: July 16, 2012, 18:42:44 »

You can update the tables through the installer.
Logged

The Cake may be a lie, but the cookies are not! Nom... Nom... Nom...
Skype: Twb6543 PenguinGames SkypeDisplayName: Twibbles
Sasha Ehrenstein
Hero Member
*****
Posts: 501


Community Wiki Staff


View Profile WWW
« Reply #6 on: July 17, 2012, 01:43:44 »

Is it difficult to use the cron job?  I think the main complicated part is making sure you look at the server time for setting the time to run the script.
Logged

Community Wiki Founder
http://community.wikkii.net

Sturmkrieg unoffical Warhammer gaming and fanfiction encyclopedia.
http://www.sturmkrieg.com

http://www.sturmkrieg.de
Twibbles
Jr. Member
**
Gender: Male
Posts: 50


Coder and Game Designer


View Profile
« Reply #7 on: July 17, 2012, 02:09:29 »

Cron Jobs are fairly easy to use, You just have to be careful in setting it up and the command to execute. For example FlaggedRev updates the Stats every Hour on the Hour on my wiki. For this the Time is set like so:
Min:0
Hr:*
Day:*
Mnt:*
WkDay:*

And it runs this:
php /public_html/wiki/extensions/FlaggedRevs/maintenance/updateStats.php

That just initiates the Php file UpdateStats;

I find it easiest to navigate to URLTOWIKI/mw-config/ and run that, it updates the tables correctly for most of the extensions.

Or I directly add the SQL Generation code to the database.
Logged

The Cake may be a lie, but the cookies are not! Nom... Nom... Nom...
Skype: Twb6543 PenguinGames SkypeDisplayName: Twibbles
Pages: [1]
Print
Wikkii Suport ForumSupport CategoryTechnical SupportTopic: Spoofuser Error
Jump to: