vb.org Archive

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

hunter22375 05-19-2008 08:42 PM

database error
 
Can anyone tell me what these means or how to fix them?

Invalid SQL:

SELECT text, languageid, special
FROM vb_phrase AS phrase
LEFT JOIN vb_phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
AND varname = 'registeremail' AND languageid IN (-1, 0, 1);

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Friday, May 16th 2008 @ 10:15:38 PM
Error Date : Friday, May 16th 2008 @ 10:15:49 PM
Script : http://thesourcecheck.com/forum/regi...p?do=addmember
Referrer : http://thesourcecheck.com/forum/regi...p?do=addmember
IP Address : XX.XX.XX.XX
Username : XXXXXXX
Classname : vB_Database
MySQL Version :

Database error in vBulletin 3.7.0:

Invalid SQL: UPDATE vb_datastore SET data = data - 1, data = IF(data < 0, 0, data) WHERE title = 'mailqueue';MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Friday, May 16th 2008 @ 10:31:21 PM
Error Date : Friday, May 16th 2008 @ 10:31:36 PMScript : http://www.thesourcecheck.com/forum/index.php
Referrer : http://www.thesourcecheck.com/forum/private.php
IP Address : XX.XX.XXX
Username : XXXXXX
Classname : vB_Database
MySQL Version :

Thanks in advance.

Guest210212002 05-19-2008 08:53 PM

Your MySQL server is timing out.

http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

Lynne 05-19-2008 08:53 PM

This is a server issue. See this: http://www.vbulletin.com/docs/html/t...mysql_goneaway

hunter22375 05-19-2008 08:57 PM

OK...timing out isn't necessarily a bad thing then? In other words, if you log back in or post something....the timer starts again? Also, will anything be harmed if I don't adjust the time out?

--------------- Added [DATE]1211234469[/DATE] at [TIME]1211234469[/TIME] ---------------

Also, note, everything on my board seems to be working just fine.

Jase2 05-19-2008 09:20 PM

MySQL server has gone away

Have you read the link Lynne gave you?

Lynne 05-19-2008 09:23 PM

Quote:

Originally Posted by hunter22375 (Post 1525124)
OK...timing out isn't necessarily a bad thing then? In other words, if you log back in or post something....the timer starts again? Also, will anything be harmed if I don't adjust the time out?

Well, I guess it could be considered 'not a bad thing' if you don't mind your users getting errors. Most users though, I would think, would find it frustrating to be on a site and keep getting database errors. And, it has nothing to do with you being logged in or anything. It's a mysql thing.

Guest210212002 05-20-2008 12:43 AM

Quote:

Originally Posted by hunter22375 (Post 1525124)
OK...timing out isn't necessarily a bad thing then? In other words, if you log back in or post something....the timer starts again? Also, will anything be harmed if I don't adjust the time out?

That's not how it works unfortunately. A timeout means, in this case, that the request sent to your database server didn't get a response in an amount of time specified by your server, so it dropped the query.

In laymans terms, it's like knocking on a door, waiting for someone to answer, and after awhile nobody comes, and then you leave.

hunter22375 05-20-2008 01:32 AM

OK...I understand....I read the link and it said the default time is 8 hrs....how much more should I set the time for then? Also, I have only received 2 of these errors....is it possible the server was just doen during those requests?

falconKing 05-20-2008 03:50 AM

Quote:

Originally Posted by hunter22375 (Post 1525344)
I have only received 2 of these errors

Lucky you, I receive 40+ different errors (see below e.g.) a day, althu, I have spoken to my host who increased the time period. But the problem remained :(

PHP Code:

Database error in vBulletin 3.7.0:
Invalid SQL:
                                       
UPDATE vb_session
                                       SET lastactivity 
1211229636location '/vb/attachment.php?attachmentid=95'inthread 1955incalendar 0badlocation 0
                                       WHERE sessionhash 
'4043033dca101c8026e4b53fd01c9227';
MySQL Error   MySQL server has gone away
Error Number  
2006

Request Date  
MondayMay 19th 2008 09:40:36 PM
Error Date    
MondayMay 19th 2008 09:41:54 PM
Script        
http://xxxxxxxx.com/vb/attachment.php?attachmentid=95
Referrer      :
IP Address    66.249.65.244

Hide quoted text -
Username      admin
Classname     
vB_Database_MySQLi
MySQL Version 



Guest210212002 05-20-2008 10:18 AM

It's more likely a resource issue. How busy is your site when you get this error? You're probably just running out of CPU/Memory.

--------------- Added [DATE]1211282339[/DATE] at [TIME]1211282339[/TIME] ---------------

Also, edit the username and IP out of your first post - for security reasons. :)


All times are GMT. The time now is 01:14 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.01097 seconds
  • Memory Usage 1,748KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete