vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   i'm having this database error (https://vborg.vbsupport.ru/showthread.php?t=54475)

msimplay 06-18-2003 06:20 AM

i'm having this database error
 
Quote:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: UPDATE thread SET lastpost=1055889283,replycount=4,postusername='Tan ny', postuserid='85', lastposter='KALKI',attach= WHERE threadid=1163
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=1163' at line 1

mysql error number: 1064

Date: Wednesday 18th of June 2003 03:18:37 AM
Script: http://www.wambam.net/Vbulletin/Vbul...admin/misc.php
Referer:
it happens when i try to Update Thread Info from admin cp
please help

Erwin 06-18-2003 06:41 AM

Mmm... an attachment is missing? Something is wrong in that thread...

Go here:

http://www.wambam.net/Vbulletin/show...?threadid=1163

And delete the attachment, or delete the whole thread if you don't need, and try again...

msimplay 06-18-2003 06:43 AM

Quote:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: UPDATE thread SET lastpost=1055887296,replycount=39,postusername='wA mbAm', postuserid='1', lastposter='Ree',attach= WHERE threadid=1162
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=1162' at line 1

mysql error number: 1064

Date: Wednesday 18th of June 2003 03:41:11 AM
Script: http://www.wambam.net/Vbulletin/Vbul...admin/misc.php
Referer:
now i get this :(
p.s theres are no attachments in that thread :s

Erwin 06-18-2003 07:06 AM

Did you hack your misc.php? Try uploading an unhacked one.

The query you are trying to run:

PHP Code:

UPDATE thread SET lastpost=1055887296,replycount=39,postusername='wAmbAm'postuserid='1'lastposter='Ree',attachWHERE threadid=1162 

will not work since there is nothing in "attach=" - see where it runs into trouble? The issue is finding out why.

msimplay 06-18-2003 07:09 AM

yeh tried that
i was thinkin they might ave changed the mysql on server and its causing errors now

is this possible

msimplay 06-18-2003 07:19 AM

now its just moved on again
after deleting that thread

Quote:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: UPDATE thread SET lastpost=1055886725,replycount=11,postusername='Th ugangel', postuserid='19', lastposter='Tanny',attach= WHERE threadid=1160
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=1160' at line 1

mysql error number: 1064

Date: Wednesday 18th of June 2003 04:18:02 AM
Script: http://www.wambam.net/Vbulletin/Vbul...admin/misc.php
Referer:

msimplay 06-18-2003 09:30 AM

It seems to be a problem when there is no attachment in the post

msimplay 06-18-2003 09:38 AM

i dont understand it the Misc.php is default

msimplay 06-18-2003 09:50 AM

erm is it serios if i can't update the threads ?


All times are GMT. The time now is 10:00 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.01436 seconds
  • Memory Usage 1,732KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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