So the other night i figured i'd try out the devel module on a site that i am currently developing. I've never used devel and was excited to try it out. Installation went fine but when i went to play around with devel settings my whole site crashed.

I got a "500 Internal Server Error" followed by:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@***********.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I search the web and drupal forum discussions for hours with no avail. I found a couple of posts showing others with the same devel problem as me but there didn't seem to be any solutions.

The Solution:

If you can't switch web hosts, you have to manually delete the devel module as suggested by Nancy W. in this discussion. http://drupal.org/node/118885#comment-231911

It is too bad dreamhost insists on using this version of Zend Optimizer which breaks a PHP function used by devel.

Comments

pwolanin’s picture

Which version of PHP 5 is installed? Also, it may be a memory problem - do you have a lot of modules installed?

If this is correct, you should look in the issue queue for that module and write a bug report if none exists yet: http://drupal.org/project/issues/devel

---
Work: BioRAFT

JonSTeps’s picture

I'm using 5.2.2, I don't have many modules installed. It seems that the problem is with dreamhost more than the devel module or the drupal installation. As shown here.

http://wiki.dreamhost.com/Drupal_Troubleshooting

heine’s picture

See http://drupal.org/project/devel

And please, contact your host and tell them that perfectly valid function calls (debug_backtrace) crash the server.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

moshe weitzman’s picture

technically, it is the core drupal function db_query() which uses debug_backtrace(). so i guess dreamhost and drupal are a bad match. the real problem is dreamhost and their unwillingness to upgrade to a non broken version of zend optimizer.