vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Threadrate MySQL error (https://vborg.vbsupport.ru/showthread.php?t=163666)

djdonx 11-26-2007 07:04 PM

Threadrate MySQL error
 
Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT *
FROM threadrate
WHERE userid = 3
AND 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 4
Error Number : 1064
Date : Monday, November 26th 2007 @ 09:02:00 PM
Script : http://www.domain.com/showthread.php...newpost&t=4724
Referrer : http://www.domain.com
IP Address : xx.xxx.xx.xx
Username : djdonx
Classname : vB_Database
How do I go about fixing this?

Paul M 11-26-2007 07:38 PM

Start by disabling any modifications you have.

djdonx 11-26-2007 07:42 PM

Ive forgotten how I do it :P

snakes1100 11-26-2007 08:18 PM

Place this in the second line of your config.php file.

Code:

define('DISABLE_HOOKS', true);

djdonx 11-27-2007 03:00 PM

okay forget this, my forum was hacked and all threads and posts were deleted so I'm just gonna install a 2 week old backup :(


All times are GMT. The time now is 05:56 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.01100 seconds
  • Memory Usage 1,714KB
  • 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
  • (5)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