By ckclarke on
After adding a block with some Adbrite code to my site the other day, I find I cannot login to it. Drupal throws the following error:
Fatal error: Cannot redeclare tla_ads() (previously declared in /home/.sites/13/site245/web/includes/common.inc(1158) : eval()'d code:7) in /home/.sites/13/site245/web/includes/common.inc(1158) : eval()'d code on line 45
This error page stays there after I get it, unless I manually clear the cookie out of my cache. Then when I try to login again, it crashes with this error.
Anyone have any ideas of how to get *in* to my site to get rid of the offending code?
Comments
Edit the database
Use myphpadmin (or anytool that will edit the database). Look at the table 'blocks', if you can tell which record is for the problem block, set status for that block to 0. If you do not know which block it is set the status to 0 for all the blocks (this of course means you will need to re-enable any blocks you want).