Topic on Extension talk:LiquidThreads

66.109.35.130 (talkcontribs)

I installed LQT. Unzipped it, renamed it, put it in the right directory. I added the "require once" line of code to my LocalSettings.php

Now when I load the wiki, it gives me the following 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 "NewMessages::newMessageCount". Database returned error "1146: Table 'ecovativewiki.ew_user_message_state' doesn't exist (localhost)"."

What should I do about this? I need it fixed ASAP

Jasper Deng (talkcontribs)

You forgot to create the necessary database tables. Try running /maintenance/update.php.

66.109.35.130 (talkcontribs)

I tried running that, but anytime I go to my browser and type in "wiki.ecovativedesign.com/maintenance/update.php" It says I don't have access and I am forbidden to view the document. But I'm the webmaster! I even tried copying "update.php" into the main directory. Then it gives me access to the document, but says there is a server error. Any ideas?

Jasper Deng (talkcontribs)

You have to run that from your command line.

Craig131 (talkcontribs)

If you don't know how to run it from the command line, like Jasper suggests, you can do it in your browser by navigating to /mw-config/ and following the instructions there. So, in your case you would type "wiki.ecovativedesign.com/mw-config/" into your address bar. Let me know if you need more help with this.

210.89.56.38 (talkcontribs)

A database query error has occurred. This may indicate a bug in the software. Query:

   SELECT user_claim FROM `user` WHERE user_id=
   Function: DatabaseBase::select
   Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near  at line 1 (localhost)
Jasper Deng (talkcontribs)

Please give your MediaWiki, MySQL, and LiquidThreads versions.

Ciencia Al Poder (talkcontribs)

You should create a new thread for this issue.

Apparently, an empty user_id is being passed to the query, which produces the error. ¿Did you deleted stuff from database directly, or used any extension to do a cleanup of spam user accounts?

Reply to "Database Error"