Troubleshooting / Errors

Something is not working on the site? See common problems here.

Drupal cron problems - not running , white page

Drupal cron job is really easy to setup. However for some old running websites cron job stops working after updating drupal to new version. For one of my websites I had similar issue. The cron job was not running. Neither automatically not manually. Running cron job used to return a blank white page, which means you dont know what the issue is. I even tried installing poormanscron module still it used to fail.

Drupal site down - 500 Internal server error , blank page , heavy usage of resources

One of my drupal websites suddenly went into lot of issues 1) It became extremely slow and I had not done any changes to the website, and all my modules and scripts were upto date 2) It became inaccessible and was throwing 500 Internal server error and max database connection error.

Drupal site is slow ?. What should be done to improve performance ?

Drupal can scale if you have the right server architecture. There are numerous large sites such as the  that use Drupal. When you find performance issues on your website, its not one magic stick that will work. First check some modules to start debugging the issue:

Error - 'max_user_connections' active connections in lock_may_be_available()

An active drupal 7 website, one fine day was throwing the following error PDOException: SQLSTATE[42000] [1203] User ******** already has more than 'max_user_connections' active connections in lock_may_be_available() (line 167 of ******************/includes/ There were no changes done on the website nor to my webhosting so it was quite surprizing to suddenly see this error. However my website was not down. It was still working, Every time I get the error I would use refresh button in my browser and the page would appear correctly.  However I did the following

EDIT - 24th March 2015 -  Using the new module Asynchronous prefetch database query cache seems to solve this issue of locking. 

White empty screen on Save and viewing Status report page

One of my clients has a very simple website. Using Articles, Gallery, Views module and some utility modules. The website was running for a year on 7.14 and recently I upgraded it to 7.24. Upgrade from 7.14 to 7.24 went almost fine and website and theme was working fine.

Some pages I was getting a white empty screen like on Admin >> Status report. However I did not care that that , I thought it must be an issue with my browser cache.

None of the Themes rendering on drupal website

Today I had a weird problem with one of my drupal websites. I did not make any changes to this website and it has been running for some years. Suddenly my theme is completely broken and its not appearing either on website or admin pages

Neither Admin nor Users are able to access the "Edit" user profile page in drupal website.

Another issue which I faced one day for my drupal website.

Users and Admin not able to login to drupal site - redirect loop

On one of my websites, I had this weird issue one day suddenly . Both users and admin was not able to login to website. It was going into redirect Loop and it used to display page not found "404" or it used to just be on the login page. I read in forums on and several other pages. There were many solutions proposed, which were actually quite confusing and not convincing I had not changed anything on my website to cause this issue, they why suddenly no-one is able to login.

How to Speed up and Optimize Drupal 7

Before we go into the details of techniques and tips to speed up drupal 7, lets understand what slows down drupal.

  1. Database queries
  2. Loading CSS and Javascript
  3. Images which are loaded on your page
  4. Loading unwanted modules

Now lets see what are some of the quick things you can do to speed up and optimize.

Books lost on upgrade from Drupal 5 to 6

I recently upgraded one of my site from Drupal 5 to Drupal 6 and found that the books and book pages were lost. I saw in Admin >> Content section that the content was there only the structure was lost.

Upon manually trying to recreate the books I was getting Duplicate error, so even the manual option was not working. It seems that this was a common error for many people

I did some reading and found many people have done some complex things to get around it. Let me tell you what worked for me.


Subscribe to RSS - Troubleshooting / Errors