Broken site

Events happening in the community are now at Drupal community events on www.drupal.org.
fchandler's picture

I hope I have done this right, it is my first post.

So I adventured into working with real Drupal themes (as opposed to the Artisteer theme builder I was using). I decided to use the Fusion theme, downloaded Fuison 6x-1.0, and Skinr 6x-1.5. That was all working fine. I then decided to try Aquia Slate 6x-3.0 and downloaded the additional required modules, skinr 6x-2dev, dialog 6x-1dev, jquery-ui 6x-1.4 (already had jquery_update 6x-1.1). I started enabling the modules and got everything running with Dialog being the last one to enable. When I clicked the enable and saved, all I got was a white screen. Arghh. I can not access the site now. This is in my development environment which is Uniform Server 5.6.1-Nano on a Flashdrive. Other specs on the server, if it helps, are:
* Apache 2.2.15
* MySQL 5.1.45-community
* PHP 5.3.2
* eAccelerator 1.0-DEV
* phpMyAdmin 3.3.1
* ActivePerl 5.10.0.1005 - Plugin
* ActivePerl 5.10.0.1006 - Plugin
* UniTray
* Cron - Scheduler
* DtDNS - IP address updater
* db_backup - Database back-up
* msmtp - Mail client for PHP
How do I get my site back?

Comments

With a "white screen" the

cgmonroe's picture

With a "white screen" the first thing is to check your php/webserver logs. This might show you where the problem is occuring.

A quick fix might be to run update.php. One of the modules you updated might have something that the update process needs to set up.

If you know what module is causing the problem, there is a way to turn modules off via SQL statements. The basic format is:

UPDATE (optional table prefix)SYSTEM SET status=0 WHERE name='module_name' and type='module';

Alternatively, you MIGHT be able to do this via drush on the command line.

Check your log for a php error message

hallman's picture

Sounds like your getting a php error. Check for a message in the log.

Judy Hallman

SQL FTW

afreeman's picture

Whitescreen of death generally indicates an unreported PHP fatal error. First thing I'd do is turn on PHP error reporting (Example: http://faqbay.com/how-enable-php-errors-htaccess-file) or look at your apache logs so you can see what's throwing an error. Assuming it's a module (and not a theme) that's causing the problem the following should work.

Armed with that information I'd then connect to the database with your MySQL tool of choice (probably phpMyAdmin, personally I prefer the commandline) and run

SELECT name FROM system WHERE type = 'module';

This will give you a list of all the modules currently enabled on your site. Find the offending module in the list and note how it's name is represented in the system table. Next run:

UPDATE system SET status=0 WHERE name = '' AND type = 'module';

This should disable the offending module and restore your access to the site.

I note there are several dev versions of modules listed. +1 for listing module versions. Out of curiosity do those modules not have a more stable release available?

that worked

fchandler's picture

Thanks! I haven't done much with MySQL, but the suggestions got the site working again. It was the dialog module that had kicked it out. As to the dev modules, that is what the latest version of Aquia Slate requires in order to tweak it.

triDUG

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: