Hello,
I have a small site running on Drupal 4.7.4. (not upgraded to 5 as it ceases to exist in 6 weeks anyway).
My webhost has upgraded MySQL to 5.0.45 (previously 4.1.21) and PHP to 5.2.4 (previously 5.0.4).
Now, logging in as admin or user is still accepted. However, as soon as one clicks on anything (menu, node), the site switches back to "not-logged-in" mode. So I just get logged off and can't do any admin stuff anymore.
Looking at the Watchdog table (with phpMyAdmin), I can see that my session was indeed opened as user 1 (admin). As soon as I click "Administer" in the site's menu, Watchdog writes UID 0 access denied.
Is there any way to make it work again without upgrading to Drupal 5 (as the site will disappear at the end of November anyway) ?
Thank you.

Comments

Aristide’s picture

This fix works wonderfully well and helps me a great deal.
Thank you Giles for this great and time-saving solution (after only 15 minutes or so) !
Aristide.