PDA

View Full Version : Database error in vBulletin 3.7.2


shlomot
06-25-2008, 09:30 AM
Here comes my first SQL error after 3.7.2 upgrade.

Can anyone tip me on how to figure out which MOD is responsible for this error?


Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT threadid FROM nlp_notifications_thread WHERE threadid=;

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 1
Error Number : 1064
Request Date : Wednesday, June 25th 2008 @ 05:24:21 AM
Error Date : Wednesday, June 25th 2008 @ 05:24:21 AM
Script : http://www.topsynergy.net/showthread.php?t=1681
Referrer :
IP Address : 212.143.241.49
Username : topsynergy
Classname : vB_Database
MySQL Version : 4.1.14-standard

Marco van Herwaarden
06-25-2008, 09:51 AM
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

Opserty
06-25-2008, 10:05 AM
Disable them one by one till your error goes away.

(Maybe if you post a list of the modifications you have installed, we could take a stab in the dark as to which is causing the problem. However you should still perform the instructions in my previous sentence.)

shlomot
06-26-2008, 04:17 AM
Thank you both for your assistance. Your debugging methods are definitely something to keep for future events.

Table nlp_notifications_thread (as well as nlp_notifications_read) belongs to the Threads notifications - show threads in notifications list (https://vborg.vbsupport.ru/showthread.php?t=183128) mod.

Marco van Herwaarden
06-26-2008, 07:47 AM
Disable the modification and contat the author for a solution.

shlomot
06-26-2008, 09:13 AM
Done. Thank you.

Disable the modification and contat the author for a solution.