Closed (works as designed)
Project:
Content Templates (Contemplate)
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2008 at 20:48 UTC
Updated:
12 Jun 2011 at 13:11 UTC
Jump to comment: Most recent
Comments
Comment #1
jrglasgow commentedCheck your apache error logs, the reason for the crash will be in the logs. When you get the "White Screen of Death" (WSOD) it means there was a fatal PHP error.
Comment #2
sohopub commentedHow does one recover from that? I'm having the same problem and can't access the admin areas to correct the line of code.
Comment #3
Anonymous (not verified) commentedYou need to acces the template directly in the Database Table. probably using phpMyAdmin
Remember always make a copy of your template before editing. That way if something does go wrong or if you need to go to the table you can quickly cut and paste to get you back where you was.
I have also tended to keep two windows open with the template in edit mode. So if one goes wrong i click submit on the other to effectivly get me back
Comment #4
sohopub commentedThanks, My DB is about 49MB and I can't seem to open it in any text editors. they seem to hang up. Any suggestions?
Comment #5
Anonymous (not verified) commentedI am guessing your trying to access a backup as you talk about text editors?
You need to go directly into the database that you are running the site from probably using phpMyAdmin
the table you need is
contemplate
Just look for the row that is for the content type that you were editing
either substitute the body field with the correct information or replace with
To at least allow you to get to the drupal interface
Comment #6
daleeman commentedThis is an old issue that I'm bumping here, but it seems odd that the contemplate admin pages would ever need to evaluate the content of the body/teasers of a template. In a quick look at the code I couldn't see where that was being done, but I would think it should just be handled as text.
Is that not correct?
Comment #7
dgtlmoon commentedUnfortunately it is just the nature of the beast.
It's the same as when you are using the PHP input format for node or block edits and you pass some bad code in your page, you will get the white-screen-o-death in other parts of Drupal when not using the contemplate module