PDA

View Full Version : Database error


Andr? Noberto
04-05-2011, 08:20 PM
good, now inadvertently put a wrong syntax to create a plugin, and with it all my forum seems to have gone awry and have no access to anything, all the forum's database error, without exception of any page, tools.php is not useful in this case, I tried to upgrade the version of the following error:

Database error in vBulletin 3.8.6:

Invalid SQL:

SELECT fieldname, varname, text
FROM phrase
WHERE languageid IN(-1,0) AND
fieldname IN ();

MySQL Error : 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 4
Error Number : 1064
Request Date : Tuesday, April 5th 2011 @ 06:12:45 PM
Error Date : Tuesday, April 5th 2011 @ 06:12:46 PM
Script : http://myforum.com/install/finalupgrade.php?step=2
Referrer : http://myforum.com/install/finalupgrade.php?step=1
IP Address : 187.40.215.45
Username :
Classname : vB_Database
MySQL Version : 5.0.92-community

I tried to disable the plugin system for phpmyadmin, but also did not work I need urgent help, I'm kind of desperate =s

Frosty
04-06-2011, 12:26 AM
Hmm. Weird, so you made a mistake in the plugin, and ever since then you can't access your board, right? Have you tried disabling plugins globally?

If you haven't read this:
http://www.vbulletin.com/docs/html/disable_plugins

Andr? Noberto
04-06-2011, 11:51 AM
thank you for your comment, your solution, not working.
I think something got corrupted in my forum, I dunno, something else happened detrimental to my database, which presents the error mentioned above.

kh99
04-06-2011, 12:33 PM
Did you upgrade you vbulletin version? I don't know anything about the upgrade process, but the error message is saying that the error occurred in install/finalupgrade.php?step=2, so maybe the upgrade is failing for some reason?

Andr? Noberto
04-06-2011, 12:54 PM
yes the error posted above appears in exactly this update step, while the rest of this forum on Database Error