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.6.7 (https://vborg.vbsupport.ru/showthread.php?t=150475)

bahattab 06-23-2007 08:24 PM

Database error in vBulletin 3.6.7
 
hi
dose any one know why i am getting this errors and how to fix it :




Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT COUNT(threadid) AS total FROM thread WHERE postuserid=;

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
Date : Saturday, June 23rd 2007 @ 05:18:01 PM
Script :
http://www.site.net/vb/external.php?...S2&forumids=96
Referrer :
IP Address : 86.60.67.86
Username : غير مسجل
Classname : vb_database

Dismounted 06-24-2007 06:06 AM

What hacks have you installed?

bahattab 06-24-2007 03:57 PM

hi

i have alot of hacks in the forum , do you think the problem form the hacks ?

thanks

Eikinskjaldi 06-25-2007 04:09 AM

the problem is

"where postuserid=;"

postuserid has to be compared to a number of some kind.

bahattab 06-25-2007 06:14 AM

how can i find that in the hacks ?

puertoblack2003 06-25-2007 02:57 PM

Quote:

Originally Posted by bahattab (Post 1275908)
how can i find that in the hacks ?

the only way to trigger that is you would have to disable the hack one by one to figure out which hack is the culprit or disable the whole feature to see if its the hack or not, its not an easy task..good luck

bahattab 06-26-2007 06:46 PM

Quote:

Originally Posted by puertoblack2003 (Post 1276180)
the only way to trigger that is you would have to disable the hack one by one to figure out which hack is the culprit or disable the whole feature to see if its the hack or not, its not an easy task..good luck

thanks :D

i will try to disable the hacks and i will see what is going you happen :confused:

thanks for your help :)


All times are GMT. The time now is 03:27 AM.

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.01020 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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