CakePHP Session Problem

By October 10, 2010 July 10th, 2017 PHP Programming

Ever got this type of error in your CakePHP application?

[function.session-start]: open(/var/php_sessions/
sess_55725da39073051a9529a124c99b54df, O_RDWR) failed: No such file or
directory (2) [CORE/cake/libs/session.php, line 539]”

There is an easy fix. Open core.php inside your app/config folder. Look for

Configure::write(‘’, ‘php’);

Then change this to

Configure::write(‘’, ‘cake’);

Problem solved 🙂 If this post has helped you, please tweet us at @optimind with this link or link this solution to your blog. Good luck on your project!

Leave a Reply