After using MAMP for over a year, I suddenly get the error when trying to run PHPMyAdmin:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Have checked php_error.log The last lines are:
[22-Jan-2011 18:44:26] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/php) in Unknown on line 0
[22-Jan-2011 18:46:57] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/Applications/MAMP/tmp/php/sess_cc05e4eafda929edae67de499df04552b6851f89, O_RDWR) failed: No such file or directory (2) in /Applications/MAMP/bin/phpMyAdmin/libraries/session.inc.php on line 87
[22-Jan-2011 18:46:57] PHP Warning: Unknown: open(/Applications/MAMP/tmp/php/sess_cc05e4eafda929edae67de499df04552b6851f89, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[22-Jan-2011 18:46:57] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/php) in Unknown on line 0
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/drupal/includes/common.inc on line 906
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/drupal/includes/common.inc on line 906
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/drupal/includes/common.inc on line 906
in the Applications/MAMP/tmp/ directory there is no php directory, only eaccelerator and mysql directories.
How can I solve this problem?
ASKER
Works perfectly (or seems to) when I just create the new php directory. Thanks so much.
Have not created the phpcore directory. Is this necessary?
Brian