I had to reinstall a website. After a fresh install, I uploaded all of the modules from a particular date and then imported the sql script from the same date.
Problem - I cannot access any pages or the site at all. Calling example.comredirects immediately to example.com/home that also serves up this error page.
Not Found The requested URL/home was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Things I have tried
I enabled error reporting by writing this into the top portion of index.php, but it does not display any errors.
error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE);
I checked my error logs, but it just reports what is occurring.
[Wed Apr 28 07:04:43 2010] [error] [client 24.252.155.156] File does not exist: /home/drini/public_html/home [Wed Apr 28 07:04:37 2010] [error] [client 24.252.155.156] File does not exist: /home/drini/public_html/home [Wed Apr 28 07:02:35 2010] [error] [client 24.252.155.156] File does not exist: /home/drini/public_html/home [Wed Apr 28 07:01:37 2010] [error] [client 24.252.155.156] File does not exist: /home/drini/public_html/home [Wed Apr 28 06:49:33 2010] [error] [client 24.252.155.156] File does not exist: /home/drini/public_html/home [Wed Apr 28 06:49:28 2010] [error] [client 24.252.155.156] File does not exist: /home/drini/public_html/home
Using php.ini EZConfig within my cPanel I did the following actions -
enabled output buffering checked memory limit 96M checked max_execution_time 30 enabled display_errors enabled display_startup_errors enabled log_errors
I cleared the cache table.
I disabled unused modules in the system table.
I rebuilt permissions using a script
I visited #drupal-support and got this advice - see what the front page currently is? SELECT * FROM variable WHERE name='site_frontpage'; And I got this result - s:4:"node"; which I do not know how to interpret.
This is my general server information - Operating system - Linux Service Status Click to View Kernel version - 2.6.33.1 Machine Type - i686 Apache version - 2.2.11 PERL version - 5.8.8 Path to PERL - /usr/bin/perl Path to sendmail - /usr/sbin/sendmail PHP version - 5.2.9 MySQL version - 5.1.30 cPanel Build - 11.25.0-STABLE 44718
I am really at a loss as to how to solve this problem. Any help will be greatly appreciated.