I had a working version of the site on XAMPP running on my hard drive. I came back to it after a few days and got the messages shown below in both firefox and IE 8 with the caches cleaned. What is going wrong? There is no problem with the xampp that I can see. Phpmyadmin works fine. The only clue may be that I may have been still signed in when I closed the browser before leaving for a days.

Warning: session_set_save_handler() [function.session-set-save-handler]: Argument 5 is not a valid callback in D:\OPS\Met\xampp\htdocs\testsite1\includes\bootstrap.inc on line 938

Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: D:\OPS\Met\xampp\tmp) in D:\OPS\Met\xampp\htdocs\testsite1\includes\bootstrap.inc on line 939

Comments

yelvington’s picture

Drupal tells PHP to use a custom session handler that puts session info into the database.

The first error indicates that the callback is invalid. That should not be true, and it may indicate a corrupted file (probably session.inc, where the callbacks are defined).

Try replacing the Drupal core files.

jciconsult’s picture

I replaced all the include files and moved along further back to being locked out of the web site if I am not logged in as administrator. I previously fixed that rebuilding some table but I cannot find the link. Can you help me. The only way that I have found to cure the problem is to remove content access from anonymous users then to re-establish it.