vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Database errors (https://vborg.vbsupport.ru/showthread.php?t=252933)

Doctor Death 10-31-2010 01:07 PM

Database errors
 
Is it ok to have vbulletin database errors infrequently that dont affect the operation of the board?

I get emails from my server every now and then about vbulletin database errors but there never seems to be an operational impact.

Anyone else get these?

Paul M 10-31-2010 01:53 PM

What do the errors actually say ?

Doctor Death 10-31-2010 04:31 PM

Here is one that just came in:

Quote:

Database error in vBulletin 4.0.8:

Invalid SQL:

SELECT a.attachmentid
FROM vywhbabh_attachment AS a
WHERE
(filedataid = AND userid = 1);

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 'AND userid = 1)' at line 4
Error Number : 1064
Request Date : Sunday, October 31st 2010 @ 11:25:48 AM
Error Date : Sunday, October 31st 2010 @ 11:25:48 AM
Script : http://www.xxxxxxxxx.com/forums/cron...and=1288538721
Referrer : http://www.xxxxxxxxxxxxx.com/forums/...php?5468-Locks
IP Address : 121.51.81.42
Username : Unregistered
Classname : vB_Database
MySQL Version :

Doctor Death 11-02-2010 11:38 PM

Any idea of what mod would cause this and/or how I would go about fixing it?

Lynne 11-02-2010 11:42 PM

It's from a cron job, but I can find no default vbulletin query like that.

Doctor Death 11-03-2010 06:49 PM

Lynne;

Thanks... do you have any suggestions on how I would search for the source of this error within the CRON jobs?

Lynne 11-03-2010 09:55 PM

Look to see what cron jobs you are running that aren't from default vbulletin. Or, even look at the time it ran at and see what jobs run at that time.


All times are GMT. The time now is 05:57 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.01055 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
  • (1)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