vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Unknown Database Error (https://vborg.vbsupport.ru/showthread.php?t=293083)

MayerZwo 12-18-2012 09:04 AM

Unknown Database Error
 
Hello

Since a few Weeks I`m getting daily a few Mails with the following MySQL Error:


Invalid SQL:

SELECT *
FROM vb3_style
WHERE (styleid = 4 AND userselect = 1)
OR styleid = 4
ORDER BY styleid ASC
LIMIT 1;

MySQL-Error : MySQL server has gone away
Error-No. : 2006



I can not reproduce this Error.
It seems not be a big Problem, but I would like to know how to get rid of it.

As I don`t know much about MySQL, I hope anyone here can give me a Hint. ;)
vBulletin Version is 4.1.11

Best regards
Michael

Simon Lloyd 12-18-2012 09:56 AM

If your server has run out of resources you'll get that message.

betterthanyours 12-19-2012 09:59 AM

Quote:

Originally Posted by Simon Lloyd (Post 2391462)
If your server has run out of resources you'll get that message.

This can also happen due to misconfiguration though....the timeout variable might be too low or was probably exceeded or elapsed.

Videx 12-21-2012 03:49 PM

If it's a shared server you may just have to get used to it as the default timeouts in PHP/mysql have been lowered. Fortunately, it doesn't seem to bother vb much as whatever failed just gets retried until it works.

I just made a mail filter for them. But lately they seem to be slowing down, with only one from 12/17 in there right now. maybe my host relented and raised the settings.


All times are GMT. The time now is 03:25 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.00962 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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