vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   mysql error (https://vborg.vbsupport.ru/showthread.php?t=269425)

leejohn02 08-31-2011 01:02 AM

mysql error
 
when i try to edit 1 post and add it to the one above i get this error, its only when i post this thread too

mysql error

Database error in vBulletin 4.1.5:

Invalid SQL:

(SELECT permissions, permissions2, FIND_IN_SET(forumid, '101,5,-1') AS pos, forumid
FROM moderator
WHERE userid = 1 AND forumid IN (101,5,-1)
ORDER BY pos ASC
LIMIT 1)
UNION
(SELECT permissions, permissions2, 0, forumid
FROM moderator
WHERE userid = 1 AND forumid = -1
);

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, August 31st 2011 @ 01:59:33 AM
Error Date : Wednesday, August 31st 2011 @ 02:00:04 AM
Script : http://www.pureglitching.com/newthre...stthread&f=101
Referrer : http://www.pureglitching.com/newthre...ewthread&f=101
IP Address : 86.21.216.84
Username : Glitch_Guru
Classname : vB_Database
MySQL Version :


thread
http://www.pureglitching.com/showthr...1597#post11597

can someone please help, cheers

BSMedia 08-31-2011 01:44 AM

Mysql server has gone away errors are usually the result of hosting.

Contact your hosting companies if you are getting the error a lot, or move hosts.

leejohn02 08-31-2011 01:50 AM

i am on a dedicated server, does that mean its something i have to do, im using WHM panel

update removed some of the bb codes within the post and was able to merg them fine, is there a set bb code allowance and if so how do i increase it

Lynne 08-31-2011 04:07 PM

No, there is no set bbcode allowance. That error is a server error and you can modify your server settings so you no longer get that error doing the same action. Probably the wait_timeout mysql value.

See this: https://www.vbulletin.com/docs/html/...mysql_goneaway and this: https://www.vbulletin.com/forum/show...265#post310265


All times are GMT. The time now is 09:49 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.01089 seconds
  • Memory Usage 1,717KB
  • 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)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