Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
This should be an easy one, but I guess I'm just not searching on the right terms.
What I basically want to do, is that within my pages, I sometimes need to insert either PHP code, or command line commands so you can just copy and paste it.
I've seen some editors where you can specify that what you're inputing is code and to display it without formatting or transformation. How do I do this?
I'm using Drupal 4.7, and TinyMCE as my editor.
I am not ranting (or may be I am), but I just have to let this out of my system- returning to taxonomy is killing me: no automatic breadcrumbs, no automatic menu items, no intro paragraphs, no automatic menu blocks, nothing. Why was it ever designed like this? I have one word for it- horrible.
Warning: Table 'database.drupal_system_catalog' doesn't exist query: SELECT DISTINCT dbname FROM drupal_system_catalog LIMIT 1 in /drupal/includes/database.mysqli.inc on line 121
Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Table FROM drupal_system_catalog' at line 1 query: SELECT DISTINCT tabname as Table FROM drupal_system_catalog in /drupal/includes/database.mysqli.inc on line 121