Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By cerr on
Hi,
I tried to change something in a template I had created and when I realized my changes didn't work, I undid them and resaved my file again. Now my page is loading very slowly and once i'm logged and I wanna click on Configuration to clear the caches (or any other admin link), i always get a server error 500. How can I get this fixed? I'm desperate!
Thank you!
Ron
Comments
Now I finally got the
Now I finally got the Configuration - Performance dialog but when I hit the "clear all caches" button I get this:
The message boils down to one
The message boils down to one thing: "mysql server has gone away". So restart your mysql server (if your website is on your laptop). Call your hosting company or server manager if it is on a live server, and tell them to sort it out by increasing database server resources. Slow loading suggests poor quality server setup, so if you are on a remote hosting account I strongly suggest firing your supplier and hiring a Drupal specialist company, without delay. As you are keen for a fast solution I will name a couple, civihosting.com, hotdrupal.com. If the site is on your laptop, install a faster hard disk.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
Hi John, Thanks for your
Hi John,
Thanks for your reply. My website is in fact hosted with GoDaddy, url: www.inetgate.biz - due to their size, I don't think I can just tell them to upgrade their system... any other clues by any chance? Or is switching hosting what I should do now?
Thanks,
Ron
if you are on shared hosting
if you are on shared hosting it would probably the size of the log is hitting the max sql packet size.
my best guess is by disabling the database log module plus emptying the cache table directly from phpmyadmin will work.
--------------------------------------------------------------------------------------------------------
if you can use drupal why use others?
VicTheme.com
Hi Duckland, Thanks for your
Hi Duckland,
Thanks for your reply!
I'm with GoDaddy and the website is www.inetgate.biz - any clue how I can disable db logging with them? Also which cache tables should I empty, there's a whole bunch of including the following:
Thanks!
You can safely empty all
You can safely empty (not drop / delete!) all cache tables. It is not usual to empty cache bootstrap I think, but it will do no harm.
If your server is so desperately bad (as GoDaddy may well be) that you have to disable db logging to get the site working, you have some more troubles waiting for you. But it might you get running. On bad quality shared hosting what often happens is that the database server grinds to a halt when people you are sharing it with are abusing it, then works well again when your neighbours stop abusing the server, so this problem is likely to come and go. A good shared hosting will go in, find the culprit, and suspend their account / website.
To disable logging you can go to Drupal's modules page and disable the Database Logging module. That will mean you will not have a record of error messages so I would not personally run a site that way, but in terms of getting the site working on inferior hosting, duckzland's advice is, as usual, good advice.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
Duckzand,I guess I'll use
I guess I'll use "TRUNCATE TABLE 'tablename'" to empty the cache, right?
I don't get through to my modules this time around, I keep getting a "500 Internal Server Error" :(
That will work. From command
That will clear caches, and might well fix the server error too.
From command line you can alternatively install and use drush to clear caches, and disable modules etc. more quickly and easily than by using raw mysql commands.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
Well, seems like GoDaddy is
Well, seems like GoDaddy is on it - hopefully!
I understand you are inquiring about your inetgate.biz hosted site. Thank you for bringing this to our attention. We are currently aware of the issue and are working towards a resolution. Unfortunately there is not a known time frame in which this issue will be fixed but we are working towards the quickest resolution possible. We appreciate your patience while we look further into this matter for you.
yes truncate them. and if you
yes truncate them. and if you are still cannot get the site up to disable the dblog, you can look for system table in the database and search for dblog under the name column and set the value of the status colum to 0.
My 2 cents about godaddy:
Don't use their shared server for Drupal, save yourself from wasting tons of hours in fixing problem that shouldnt be occurring, Their VPS is ok though although in my personal experience is is a tad slower than mediatemple.
--------------------------------------------------------------------------------------------------------
if you can use drupal why use others?
VicTheme.com
Well, seems like they've
Well, seems like they've figured it out and fixed it during the day today! :)
Did you ever find out what
Did you ever find out what they had fixed?