vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Database error in vBulletin 3.7.2 (https://vborg.vbsupport.ru/showthread.php?t=183468)

shlomot 06-25-2008 08:30 AM

Database error in vBulletin 3.7.2
 
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?

Code:

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 08: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 09: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 03: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 mod.

Marco van Herwaarden 06-26-2008 06:47 AM

Disable the modification and contat the author for a solution.

shlomot 06-26-2008 08:13 AM

Done. Thank you.

Quote:

Originally Posted by Marco van Herwaarden (Post 1559328)
Disable the modification and contat the author for a solution.



All times are GMT. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01585 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete