[inline:error.png]
I don't really like to write this blog, but I'm too angry with the panels module.
I knew panels for a while and really like the feature this module brings to Drupal. It allow you to create nested design without touching the code. But it drove me mad today.
Today, I decided to use panels to restructure my frontpage, add some of my personal feeds and so on. Everything went fine but network connection was quite slow. I thought it was normal. If you live in Vietnam, having a slow ADSL is something you must accept, especially when you use the cheapest package.
And when I nearly finished the frontpage, I made a serious mistake: flush all cache. Since then my site was really really really really slow and I could not access anything at all. I checked the error log:
[Wed Apr 08 08:02:02 2009] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php [Wed Apr 08 08:02:44 2009] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php
It means PHP output malformed header, sometime because PHP errors but It isn't useful because you don't know the header so you can't debug the problem.
What next ? I checked the watchdog table, and it gave me a better explanation. There were a lot of internal_error.html not found log ( I don't really know why ) and some error logs said: The specialized Panels menu router rebuild failed. Some paths may not work correctly.. Then the site was slow because Drupal were re-building the menu route. I googled the error message and got into a drupal issue. Too Great, the issue is a wont-fix-issue, the author say he doesn't have enough information and whatsoever (why didn't he change the status to "need more info" instead of "won't fix" ?).
Ok, so far I knew that panels module was unstable and I had to disable it manually. I followed the introduction on Drupal to disable all panels module manually. And then cleared the cache. But, it was no use at all :O . Same error kept happening. Ok, I was really mad at that time. I ran a query to completely remove panels modules from my site, clear the cache. And things came back to normal, without my whole afternoon work. Sh!t!
I hope merlinofchaos, the maintainer of panels module, quickly solve the problem because panels is really useful for Drupal developer. If someone falls the same trap as mine, all you have to do is executing this query and use drupal to clear the cache (don't try emptying the cache table, it's no use).
DELETE FROM system WHERE name LIKE "%panels%"
This will get you out of the mess :-(
Image from flickr.
7 Comments
What a nice picture! lolz
Submitted by nhc (not verified) on
What a nice picture! lolz
looks like a crap :">
Submitted by GS (not verified) on
looks like a crap :">
amazing!
Submitted by Azi (not verified) on
amazing!
hey Bao, I had a serious
Submitted by Anonymous (not verified) on
hey Bao, I had a serious problem with panels too...whenever I'd hit the Update & Save button it would erase all the content...I've found that if I hit update, then hit the save and go back to the content page things worked okay. Also, whenever I'd try to change the settings on a panel I'd get an "Unknown Panel ID" error. I solved THIS problem by just deleting the content and starting it over.
ugh.
Thanks for your suggestion.
Submitted by bao on
Thanks for your suggestion. I'm having the same problem with Panels & Views too. But it's a problem from ctools module, since the integration module is provided in ctools. I have submitted the issue here and hope they will fix it soon.
So as I was designing my site
Submitted by Anonymous (not verified) on
So as I was designing my site here in Lansing Michigan I was running into the same problem with Drupal. Don't get me wrong I love Panels and it is constantly improving. I was unable to delete my front page and the site was directing to the old Panels front page no mater what I designed or manipulated. Everything was fine once I logged in so I figured I would just remove panels since I determined it was overkill for the website I was designing. I could disable all the panels related modules but once I disabled Panels I got the white screen of death. One error I did notice in your post: The MySQL syntax should be DELETE FROM system WHERE name LIKE "%panels%" instead of DELETE FROM systems WHERE name LIKE "%panels%" (there is no "systems" table in Drupal.
Jon
The Lansing Web Designer
I have updated the
Submitted by bao on
I have updated the query.
Thanks for your comment :)
Add new comment