Intermittent problem starting phpMyAdmin
Posted by: timski (---.zone9.bethere.co.uk)
Date: August 28, 2010 11:46AM

Hello, I hope someone can help with this problem.


Intermittently my phpMyAdmin won't start. I get the following error message displayed.

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly (highlighted in a red background).

This happens despite making no changes to the setup of mySql, PHP or apache.


I might start phpMyAdmin from my wampserver icon check a database, go back to some coding and then when I try and log back in later get the above error message.


I have the following message in my mysql.log

100828 10:10:31 [Note] Event Scheduler: Purging the queue. 0 events
100828 10:10:31 InnoDB: Starting shutdown...
100828 10:10:32 InnoDB: Shutdown completed; log sequence number 0 46409
100828 10:10:32 [Warning] Forcing shutdown of 1 plugins
100828 10:10:32 [Note] wampmysqld: Shutdown complete

100828 10:10:32 [Note] Plugin 'FEDERATED' is disabled.
100828 10:10:33 InnoDB: Started; log sequence number 0 46409
100828 10:10:33 [Note] Event Scheduler: Loaded 0 events
100828 10:10:33 [Note] wampmysqld: ready for connections.
Version: '5.1.36-community-log' socket: '' port: 3306 MySQL Community Server (GPL)


This message occurs frequently. Perhaps it is related to this but I couldn't find any people reporting the same problem as I have related to this?

Here is the access.log for my latest successful login:
127.0.0.1 - - [28/Aug/2010:10:39:02 +0100] "GET /phpmyadmin/print.css HTTP/1.1" 304 -
127.0.0.1 - - [28/Aug/2010:10:39:02 +0100] "GET /phpmyadmin/themes/original/img/logo_right.png HTTP/1.1" 304 -
127.0.0.1 - - [28/Aug/2010:10:39:02 +0100] "GET /phpmyadmin/themes/original/img/b_help.png HTTP/1.1" 304 -
127.0.0.1 - - [28/Aug/2010:10:39:02 +0100] "GET /phpmyadmin/themes/original/img/s_warn.png HTTP/1.1" 304 -
127.0.0.1 - - [28/Aug/2010:10:39:02 +0100] "GET /phpmyadmin/themes/original/img/s_notice.png HTTP/1.1" 304 -
127.0.0.1 - - [28/Aug/2010:10:39:19 +0100] "POST /phpmyadmin/index.php HTTP/1.1" 302 -
127.0.0.1 - - [28/Aug/2010:10:39:19 +0100] "GET /phpmyadmin/error.php?lang=en&dir=ltr&type=Error&error=Cannot+start+session+without+errors%2C+please+check+errors+given+in+your+PHP+and%2For+webserver+log+file+and+configure+your+PHP+installation+properly. HTTP/1.1" 200 1209

Thanks,
Tim.

Re: Intermittent problem starting phpMyAdmin
Posted by: stevenmartin99 (---.251.255.12.threembb.ie)
Date: August 28, 2010 12:11PM

Do u have another mysql installed maybe ?

It maybe interfere.

But also try delete the sessions in c:/wamp/temp

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Re: Intermittent problem starting phpMyAdmin
Posted by: timski (---.zone9.bethere.co.uk)
Date: August 28, 2010 12:22PM

Thanks for the tip. Clearing tmp of the sessions has allowed me back in again.


For information, I only have one installation of mysql, although I have uninstalled and reinstalled it a few times. Do uninstals of mysql leave any registry entries behind, or anything else, that might cause a problem if the above trick doesn't work next time?

Thanks,
Tim.

Re: Intermittent problem starting phpMyAdmin
Posted by: timski (---.zone9.bethere.co.uk)
Date: August 28, 2010 01:39PM

OK clearing the tmp folder of sessions worked before but alas it hasn't worked since.

Any other ideas?

Thanks,
Tim.

PS. Are there any error logs that I've missed? I would have thought there would be an error message somewhere that might point me in the right direction?

Sorry, only registered users may post in this forum.