Hello.

I have a Drupal site running but I have not used it for some time now. I am wanting to get back into running the site but for some odd reason '/admin' will not load. The homepage and content pages seem to load fine. It is not a problem with my login. When loading /admin the page simply times out.

I have been on my hosting Cpanel and this does not seem to be a problem with memory space...

Could anybody help me or make a suggestion as to what might have happened?

Thanks, I appreciate your time.
Tom

Comments

zbricoleur’s picture

What do you see at /admin/reports/dblog ? Are there errors in the log?

Anonymous’s picture

Unfortunately nothing, again this leads to a blank, white screen... The Logs do not load.
Thanks.

Anonymous’s picture

I have just seen this error message on my site:

warning: fopen(sites/default/files/filecache/cache/8/87cd8b8808600624d8c590cfc2e6e94b--variables) [function.fopen]: failed to open stream: Permission denied in /home/database/public_html/sites/default/modules/cacherouter/engines/file.php on line 127.

I have not seen that before.

zbricoleur’s picture

Do you have the permissions set on the sites/default/files folder so that Drupal can write to that folder?

Anonymous’s picture

I do indeed, i've just checked. I have not yet found the reason for this problem. As I say, the site was working fine about 6 weeks ago, I've made no updates and now the /admin section or any extension that comes after /admin will not work.

Thanks for the suggestion though. Any more ideas?

Anonymous’s picture

I've manually turned on error reporting by adding the code below into my index.php file.

<?php

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

// $Id: index.php,v 1.94 2007/12/26...

I'm being presented with these errors which seem to be something to do with 'cacherouter'

Notice: Undefined index: cache_page in /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php on line 15

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php:15) in /home/m19bing/public_html/includes/bootstrap.inc on line 1162

Notice: Undefined index: cache in /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php:15) in /home/m19bing/public_html/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php:15) in /home/m19bing/public_html/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php:15) in /home/m19bing/public_html/includes/bootstrap.inc on line 728

Warning: Cannot modify header information - headers already sent by (output started at /home/m19bing/public_html/sites/default/modules/cacherouter/engines/file.php:15) in /home/m19bing/public_html/includes/bootstrap.inc on line 729

Is there a way I can manually disable this module, bearing in mind I cannot access pages after the /admin url extension?

Thanks

zbricoleur’s picture

In the system table in the database, find the row for this module and change the Status field to zero. You may also have to empty your cache tables to flush the error out completely.

Anonymous’s picture

I've taken a look at the cacherouter row in the system table database, the value for the status field is already set to zero.

Could you briefly talk me through manually emptying the cache? I believe I have already done this through phpmyadmin but I'd like to check.

Thanks

zbricoleur’s picture

In phpMyAdmin, empty every table whose name begins with 'cache_'. That's overkill but it won't hurt anything and I don't know for sure which table is the problem. If you still have the error try removing the module from the modules directory.

Anonymous’s picture

Emptying all of the tables which have the name beginning 'cache_' has unfortunately not done the trick.

If I remove the module from the modules directory I get a fatal error.

I'm rather stuck for ideas... Thanks for your efforts so far.

Anonymous’s picture

I've solved the problem.

Deleted Cacherouter directory, cleared all caches and removed the caherouter lines from the bottom of the settings.php folder.

Still no idea why the module went wrong after running stable for atleast a year...