By hapworth on
Well I was trying to figure out that problem I just posted about, and tried printing a variable in what seemed like the wrong way. Now I can't get back to edit the template and any page showing that template doesn't work?
Here's the error:
Fatal error: Cannot use string offset as an array in (site)www/modules/contemplate/contemplate.module(589) : eval()'d code on line 4
Help!
Comments
you should be able to get
you should be able to get back in if you go in through the admin panel. if not you can also edit the template through mysql.
Here's the current issue:
Here's the current issue: http://drupal.org/node/113980
So far mysql seems the only option.
I used this:
update contemplate set body = "blank text" where type = "content_type_name";
Edit (March 1, 2008)
here's related:
http://drupal.org/node/101144
http://drupal.org/node/113980
http://drupal.org/node/123061
http://drupal.org/node/137719
http://drupal.org/node/220374
Deleting templates in Contemplate
The ability to delete the template from /admin/content/templates is in Contemplate 5.x-1.9 releasing tonight.
Actually, you may not have to delete it.
Actually you may not have to delete it. I saved my [explative deleted] by deleting the offending code in phpMyAdmin. All I did was search for the exact phrase and I was able to isolate and remove it without having ot re-create an entire Content Type. Whew!
Adam
www.primalmedia.com