phpMyAdmin Locked up

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
toonbon
Forum Newbie
Posts: 5
Joined: Thu Jan 20, 2011 10:16 am

phpMyAdmin Locked up

Post by toonbon »

I was building some tables with phpMyAdmin and then went off to other pages in the browser and finally closed the browser. Now when I try to restart phpMyAdmin I get the error message below
Attachments
phpError.png
phpError.png (3.08 KiB) Viewed 927 times
toonbon
Forum Newbie
Posts: 5
Joined: Thu Jan 20, 2011 10:16 am

Re: phpMyAdmin Locked up

Post by toonbon »

Sorry for the terminated message above. Here's the complete question:
I was building some tables with phpMyAdmin and then went off to other pages in the browser and finally closed the browser. Now when I try to restart phpMyAdmin I get the error message below. I may well have done something wrong in the tables, but if I can't get back into phpMyAdmin how can I fix it? It's definitely not a problem with the phpMyAdmin configuration since it's been working fine for weeks and I haven't changed anything there. And it doesn't seem to have anything to do with PHP. It seems to be a problem between phpMyAdmin and MySQL.


Also, where is the PHP Log file they're asking me to check.
Thanks for any suggestions
Attachments
phpError.png
phpError.png (3.08 KiB) Viewed 926 times
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: phpMyAdmin Locked up

Post by McInfo »

You can edit and delete your posts on this forum.

Is the session problem isolated to phpMyAdmin or is it more widespread? Test with a simple script like this.

Code: Select all

<?php
session_start();
echo ($_SESSION['n'] = isset($_SESSION['n']) ? ($_SESSION['n'] + 1) : 1);
// You should see the counter increase each time you refresh the page
To find the log file, look through your server folders for a folder named "logs" or something similar. You should find a file named "error_log" or something similar. Near the end of the file (use Ctrl+End to jump to the end), you should find error messages from around the time you last tried to access phpMyAdmin. They might (or not) explain what is wrong.
toonbon
Forum Newbie
Posts: 5
Joined: Thu Jan 20, 2011 10:16 am

Re: phpMyAdmin Locked up

Post by toonbon »

Thanks for your help.

Actually, this sort of cleared itself before I could try your php suggestion. It cleared when I went into the XAMPP Control Panel Application and clicked the Admin button to the right of the Apache service (below). On the next screen that came up I selected phpMyAdmin under Tools and it came up without the error. And now it comes up without an error from the normal link I use to reach it.

I didn't find any kind of a log file. There are a lot of XAMPP folders and files at C:\xampp, including a phpMyAdmin folder, but nothing that looks like a log file (ends with .log or even has "log" in the name).

Thanks
Attachments
XAMPP_CP.png
XAMPP_CP.png (26.9 KiB) Viewed 914 times
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: phpMyAdmin Locked up

Post by McInfo »

For future reference, the log files might be found in "C:\xampp\apache\logs\".
Post Reply