vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Update Thread Info Error (https://vborg.vbsupport.ru/showthread.php?t=56417)

DannyBoy8406 08-21-2003 08:38 PM

Update Thread Info Error
 
ok, whenever i try to update my thread info I get an SQL error...it reads as follows

Code:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE thread SET lastpost=1059575913,replycount=13,postusername='Alessandra', postuserid='3', lastposter='Kimmy',attach= WHERE threadid=24
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 'WHERE threadid=24' at line 1

mysql error number: 1064

Date: Thursday 21st of August 2003 05:35:45 PM
Script: http://www.wb-devotions.com/admin/misc.php
Referer: http://www.wb-devotions.com/admin/mi...ction=chooser&

According to what i have backed up the Query in misc.php is what its supposed to be like.....can anyone tell me whats going on?

assassingod 08-21-2003 09:11 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=54118" target="_blank">https://vborg.vbsupport.ru/showt...threadid=54118</a>

DannyBoy8406 08-22-2003 11:01 PM

ok...tells me what it means, but doesn't really explain how to fix it...

assassingod 08-22-2003 11:07 PM

It's probably caused by the last hack you installed. Try contacting the author for further help.

lifesourcerec 09-03-2003 03:44 AM

I'm in the same situation. I've installed a number of hacks and never ran update thread info. I'm thinking it has to do with the multiple attachment hack, but not positive.

Steve Machol 09-03-2003 05:26 AM

This is a problem with MySQL 4.0.13. The fix is here:

http://www.vbulletin.com/forum/showt...546#post463546

lifesourcerec 09-03-2003 10:35 AM

Did that Steve, and that worked also :) Hopefully that's the last time I have to mess with misc.php for a while :)


All times are GMT. The time now is 03:32 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.00983 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)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