Cannot Start Session Without Errors

RegisterLogin
Cannot Start Session Without Errors
Post Description: Cannot Start Session Without Errors
Tags: Cannot, Start, Session, Without, Errors
This Post Was Posted On Oct 09, 2009 By Gustavio #2516
09p-2516-phpmyadmin-error.gif border=
please help me, i follow your tutorial on how to do the installation of phpmyadmin but i get this error

phpMyAdmin - Error

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
vaibhav
#5313 1
there is no user named lighttpd. whom should i give the chmod command to? please guide me
Jul 10, 2011 Reply Report abuse
smc
#4866 2
hello, i had this problem and i cleared the cookies cache like you suggested and everything worked! thanks
Feb 28, 2011 Reply Report abuse
Bobby
#4772 3
thanks, that did for me too.
Jan 20, 2011 Reply Report abuse
gustavio
#2533 4
wow!!!

finally, it works..

THANKS SO MUCH!!!!!!!!
Oct 09, 2009 Reply Report abuse
webune
#2532 5
09p-2516-clear-cookies.gif
hmm. ok, you will need to clear your cookies on your browser.

so clear your cache and cookies, then close your browser and the open it

then try to open phpmyadmin again
Oct 09, 2009 Reply Report abuse
gustavio
#2531 6
i refreshed by browser, but still it says the same error:

phpMyAdmin - Error

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Oct 09, 2009 Reply Report abuse
webune
#2530 7
ok, it seems that php is trying to write your sessions to /var/lib/php/session/ but it doesnt have permission.

so give it permission:
chmod 777 /var/lib/php/session/


if that doesnt work, make sure that the session/ directory belong to lighttpd user and group so send these command:

chown lighttpd /var/lib/php/session/


chgrp lighttpd /var/lib/php/session/


after that try to open phpmyadmin again.

Oct 09, 2009 Reply Report abuse
gustavio
#2529 8
2009-10-09 12:08:27: (mod_fastcgi.c.2618) FastCGI-stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_396sea245vm4fij4rd696iefvu0bidrp, O_RDWR) failed: Permission denied (13) in /srv/www/lighttpd/phpMyAdmin/libraries/session.inc.php on line 87

2009-10-09 12:08:27: (mod_fastcgi.c.2618) FastCGI-stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_396sea245vm4fij4rd696iefvu0bidrp, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
Oct 09, 2009 Reply Report abuse
webune
#2528 9
login to your server using a ssh session.

once you are logged into the shell type this command and tell me what is the last entry

cat /var/log/lighttpd/error.log
Oct 09, 2009 Reply Report abuse
gustavio
#2527 10
OS = LINUX CENTOS 5

WEB SERVER: http light [lighttpd]
Oct 09, 2009 Reply Report abuse
webune
#2526 11
please tell us:

OS:
WebSerter Type:

you are using?
Oct 09, 2009 Reply Report abuse
Leave Your Comments...
©2011 Webune Forums - Sun Dec 18, 2011 8:40 pm
Powered by: Webune Forums V3