I have recently moved some of my older sites to a new server and now I am unable to login. These sites are Drupal 4.7 and are going to be phased out so there is no need to update. I have cleared the cache and session tables in the DB and cleared my local cache. Also did a cron.php

Details
Enter credentials at /user
login confirm screen shows and the admin links block shows
when I click any of the 'Admin' links next screen goes to the custom 'page not found' page

Is there any other things I can do?

Stuart Goff

Comments

hitka’s picture

The new server has probably newer PHP version. Drupal 4.7.x did not support PHP 5.2 until 4.7.5 AFAIK, the problem is that drupal cannot maintain a session (which seems to be exactly your issue). Try upgrading (preferably to drupal 6, last release of 4.7.x was 4.7.11 in january 2008).

Some links:
http://www.devissues.com/php-5-2-and-drupal-4-7-4-dont-work-together
http://drupal.org/node/185140
http://ftp.drupal.org/files/projects/drupal-4.7.11.tar.gz

stuartgoff’s picture

Thanks - This was the issue - AFAIK - upgraded to 4.7.11 and problem solved.

hitka’s picture

sorry, double-posted