By jhowe on
I tried to use some php code in a drupal block. After i tried to load my site with the new block it said,
"warning: Unknown(/var/www/jonweb/includes/init.php): failed to open stream: No such file or directory in /var/www/jonweb/includes/common.inc(1847) : eval()'d code on line 45.".
Whenever I try to go to the block page to remove it or disable it, it gives me that error.
I'm not really familliar with drupal but i figured that if i went into the database and removed the block data in the blocks table it would go away. Not true.
I really don't want to have to reinstall drupal, so any help would be very helpful.
Thanks a lot,
Jon
Comments
Clarification
Actually, after thinking a little longer, i actually just need to know the area in the database where the block code is stored.
Hello. Did you succeed? I
Hello.
Did you succeed?
I need to delete a block manually from the server but do not know how to locate the block file.
Is there a chance you could tell me the location?
Many thanks
It's easy, in your
It's easy, in your PHPmyAdmin, see the table for 'blocks'.
Go to browse, then find and delete the block you want. If you have installed more than one theme, have a look at each theme for that block.
why dont you just change the
why dont you just change the CODE of the block to non-php code for testing..
and then try disabling it...
also clear the cache after that..
just some pointers.. ;)
I can't login to change the
I can't login to change the code that is the problem I am having. I am unable to even view my site, login or disable the block that is causing the problem.
I don't have php Myadmin, I'm using Cyberduck to add modules/themes etc over ftp
Is there anything I can do in any of the files at the server end in order to stop this happening?