vb.org Archive

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

Milobil 08-28-2015 05:17 PM

Database error in showgroups.php
 
Hi,

When i open this url : myforum.com/showgroups.php, i get a database error with this message :

Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO vb_cache
SET cacheid = 'showgroups.groupcache',
expires = 1440799765,
created = 1440788965,
locktime = 0,
data = "too long message so i didin't past it here"


I tried to clear the cache, repair & optimize tables through admincp but i'm still facing this problem.

If you have any idea what's the problem please help me :)

squidsk 08-28-2015 05:43 PM

That's not the complete error message. Your missing the part where it tells you what the query is and which part of it has the invalid sql.

Dave 08-28-2015 07:08 PM

I have a feeling this is the "max_allowed_packet" error, which is related to your database server.
If that's the case, you should ask your host to increase that parameter its value in MySQL.

Milobil 08-29-2015 09:25 PM

So I don't have to do anything on the vb_cache table myself ?

ozzy47 08-29-2015 09:31 PM

Post the entire error message.

Lynne 08-29-2015 10:24 PM

Well, not the "too long message so i didin't past it here" part, but post the part that looks like this:

Code:

MySQL Error : some sort of something here
Error Number : another something here
Date : Sunday, April 13th 2008 @ 11:16:43 AM
Script : http://address.path.path/page.php
Referrer :
IP Address : **.***.**.***
Username : username
Classname : database


Milobil 08-31-2015 04:53 PM

Well I just contacted my host and they told me that I had to optimize the script because the request was taking to much time to be executed through mysql, thanks for your help anyways!

squidsk 09-01-2015 01:14 PM

If they're telling you that they don't know what they're talking about and don't really want to look into the issue.

Either way what's the actual error message, the part in the code block that Lynne posted in post #6.

Milobil 09-01-2015 07:00 PM

Well, it seems that it tries to display all the users datas, and the script can't end itself, i have to stop the page loading myself, here's a part of the error message :

https://vborg.vbsupport.ru/external/2015/09/31.png

ozzy47 09-01-2015 07:12 PM

Ohhh good grief.

Dave 09-01-2015 07:56 PM

Ask your host to increase the value of max_allowed_packet in MySQL.

ForceHSS 09-02-2015 04:40 PM

Or close everything down and go on a cruise and bring me with u :)

the one 09-02-2015 05:47 PM

Quote:

Originally Posted by ForceHSS (Post 2554127)
Or close everything down and go on a cruise and bring me with u :)

Can i come

whoops sorry back to topic

Milobil 09-03-2015 08:11 PM

Quote:

Originally Posted by Dave (Post 2554060)
Ask your host to increase the value of max_allowed_packet in MySQL.

They said that it wasn't possible to do that as it's a shared hosting :/

ozzy47 09-03-2015 08:32 PM

Then it's time to find a new host.

Dave 09-04-2015 08:33 AM

Quote:

Originally Posted by Milobil (Post 2554213)
They said that it wasn't possible to do that as it's a shared hosting :/

Yeah unfortunately many shared hosting companies have a lot of limitations.
In case you do look for a new host, be sure to ask them before hand if such values can be changed or what the default values are.

If you need a recommendation: I'm very satisfied with stablehost.com.
In case your forum is big, you may want to consider getting a VPS instead of shared hosting.

Milobil 09-04-2015 08:32 PM

All right thanks for your help guys!

HM666 09-06-2015 07:58 AM

Quote:

Originally Posted by ozzy47 (Post 2554217)
Then it's time to find a new host.

Yep, exactly or purchase a different plan that allows for the proper set up. Although if it were me I'd go to another host. There are lots of good ones that do not cost much that do not have a problem in helping with these types of matters.


All times are GMT. The time now is 01:06 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.01186 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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