« It's gonna be a rough summer for commuters | Main | Google improves streetmaps »
Monday
Mar312008

Phpmyadmin error: "Cannot start session without errors"

I have been trying to get phpmyadmin working on my Fedora 8 server i've been setting up, and struggled for the past day or so on this error:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

Turns out it's very easy to fix. First thing you'll want to do is have a look at your error logs. For me this was in /var/log/lighttpd/error.log (i'm using lighttpd instead of Apache). Have a look at your error log and you will probably see errors referencing permission errors writing to your session directory.

Simply chmod 777 that directory and you should be good to go.

Reader Comments (8)

chmod 777 WHAT DIRECTORY? The /etc/phpmyadmin directory?

June 7, 2009 | Unregistered CommenterStephen Farlow

The error I am getting is Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. I can't find the logfile that tells me what is going on here. I am running Debian Lenny.

June 7, 2009 | Unregistered CommenterStephen Farlow

I had the same issue stated above. make sure you have write permissions to /var/lib/php5 in debian lenny.

July 10, 2009 | Unregistered CommenterBirdman

то: Stephan Farlow

no bro,:

chmod 777 /var/lib/php5

January 20, 2011 | Unregistered Commenterkokane

[...] into my phpmyadmin.  Finally I found several references to chmod 777.  This brief blog entry, phpmyadmin error: “Cannot start session without errors”, and  Thread: What is Chmod 777, totally helped me figure out what in the world chmod 777 was and [...]

May 13, 2011 | Unregistered CommenterAngelina

GooawwGVdwoyop http://nbl.gs/6hs" rel="nofollow">gap outlet coupons
Lwopcfpndn

September 2, 2011 | Unregistered CommenterWattpooff

What about the same issue in Windows 7? How to change the access in Windows?

November 11, 2011 | Unregistered CommenterMaitreya

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>