Frustration this evening updating my TurnKey Linux LAMP appliance. Couldn’t get phpMyAdmin to load after update. Server error. Couldn’t track the darn thing down.
After a step by step “echo ‘here i am'” campaign, it came down to this: in /usr/share/phpmyadmin/config.inc.php, it was trying to “Load autoconf local config” from /var/lib/phpmyadmin/config.inc.php. Problem was /var/lib/phpmyadmin/config.inc.php was set to no read permission! Probably a result of some failed upgrade or something. I just don’t have time for this right now! Arg!
Anyway, chmod a+r (sudo or as root, etc) on /var/lib/phpmyadmin/config.inc.php did the trick.
UPDATE 2012-Aug-9: Doing some maintenance work on yet another virtual appliance, and not only was config.inc.php thus afflicted, so was blowfish_secret.inc.php. The above command plus this command fixed it:
I love trying new stuff, so I went ahead and installed OS X Mountain Lion Developer Preview 4. Of note, X11 isn’t included any more. But that’s actually a good thing – you’ll be using the latest and greatest XQuartz by the time you’re finished. If you’re like me, you’re in a rush to fix some program (like Gimp, for example, which is why I wanted to get this fixed right away), here’s the short story.
This is the message you’ll get when you try to run an X11 program, but don’t have X11 because you’re on OS X Mountain Lion. It says you can Continue on to an Apple Knowledge Base Article to get yourself sorted, but all I got was a 404 (and an apology).
The long and short of it is that you now need XQuartz, which was actually the X11 that we in use in OS X to begin with, but now you’ll have to get directly from the XQuartz site. Download and install and *poof* off you go.