Posted by pyutaros on November 12, 2007 at 12:32am
Jump to:
| Project: | Devel |
| Version: | 7.x-1.x-dev |
| Component: | devel_themer |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
After enabling devel themer, I receive the following error whenever I access any page other than the front page of my site. I am running php 5.2.2 on Debian Linux.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@example.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.
Comments
#1
Same issue here, except I get the error when hitting submit on the module page as I attempt to enable devel themer.
MAMP 1.7.1
Drupal 6 RC1
Devel 6.x-1.x-dev (2008-Jan-06)
#2
I can't recreate this bug. I'm testing on UbuntuGutsy.
I do have the situation that when a page loads it can take a very long time (and lots of memory, it seems) which may be a related issue. How much memory is available to your site?
#3
Also, what do your apache logs say? They are usually at /var/log/apache2/access.log or similar.
#4
PHP memory is set to 64 MB.
Here's the browser message - "Safari can’t open the page “http://localhost:8888/drupal6/admin/build/modules” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later."
Firefox returns the WSOD.
My Apache log says "[Thu Jan 10 08:29:55 2008] [notice] child pid 842 exit signal Segmentation fault (11)".
Apache/2.0.59
PHP/5.2.5
MySQL 5.0.41
Update: I'm getting the same error message with Drupal 6 RC2 and Devel 6.x-1.0.
#5
do you have a lot of modules installed? this module really isn't tested beyond a fresh install of drupal. i think it could get pretty intensive for pages with loads of theme calls like Views, CCK, etc. We'll see once those modules start releasing for D6.
#6
No, Devel is the only contributed module installed. Installed core-optional modules are Comment, Database logging, Help, Menu, Taxonomy & Update status.
#7
And the same issue here. SQL 5.0.45, PHP 5. Other Modules installed: CCK.
Now Apache returns with this boring segmentation Fault and I'm looking for a way to regain access to my drupal-site. Any suggestions ?
Hosting: Webhostone.de
#8
@kle - This issue is about the devel themer which is only available in 6.x so I don't think this is your issue.
Perhaps you are suffering from http://drupal.org/node/126098
#9
Drupal 6 RC4/MAMP Update: Thanks for the link to the Zend Optimizer issue. I decided to check and see if MAMP had Zend Optimizer on by default and it was on (version 3.2.2). I disabled Zend Optimizer and the Devel Themer works as advertised.
If someone else can confirm, then adding Devel Themer to the Zend Optimizer note on the main project page might be a good idea.
#10
Ugh. Is there no function we can call to check if a site is running this older, buggy version of zend optimizer?
#11
Based on more recent reports it seems to be nearly all versions of Zend Optimizer and PHP5.
Perhaps we could just capture the output of phpinfo and looking for zend optimizer and then doing a drupal_set_message(t('Warning, your site may completely fail if you enable query logging.', 'error') ?
#12
Seeing as how many people may have had to migrate to PHP5 due to the register_globals issue in Drupal, it would seem that this might be something to correct in the module itself rather than just having a warning. In other words, is there a way to make the module play nice with all of these things?
#13
So a debug_backtrace() will kill all those installs! Optimizer is the worst product of all time. AFAICT, it doesn't optimize anything. It decodes php scripts that have been scrambled with their zend guard product.
Yeah, i'd be happy if someone mad a patch to detect optimizer in hook_requirements()
#14
#15
I can confirm this zend bug.
Again MAMP 1.7.1, the apache error log notes
I updated php.ini and removed zend optimizer - the devel module is now working with all it's firebug-like niceties.
Paddy.
#16
I kind of have a pseudo php.ini with Dreamhost. Would you mind posting the exact text and location of the line you altered?
Thanks,
Jonathan
#17
I updated php.ini, and commented out the following
Zendlines:[Zend]
; zend_optimizer.optimization_level=15
; zend_extension_manager.optimizer=/Applications/MAMP/bin/php5/zend/lib/Optimizer-3.2.2
; zend_optimizer.version=3.2.2
; zend_extension=/Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so
I hope that this helps.
Paddy.