phpMyAdmin Fatal Error with imageftbbox() after clicking ‘Profiling’ checkbox

Problem: I accidentally clicked the ‘Profiling’ textbox in the Browse view of phpMyAdmin (see image below) and it immediately redirected the page and spat the following error:

Fatal error: Call to undefined function imageftbbox() in /Users/[whatever]/Sites/phpmyadmin/libraries/chart/pChart/pChart.class on line 1118

From that point forward PMA was useless in any browse view. Reinstallation didn’t fix it either. The problem occurred because my PHP installation wasn’t compiled with Freetype support. Great… I don’t even want that, I just want PMA to work about in 5 mins time.

PhpMyAdmin profiling checkbox

Fix: Turns out that clicking the box saves some data in a session cookie. Deleting the cookie named phpMyAdmin fixed the problem for me. If you use Firefox, Chrome or Safari this is easily done in Developer Tools / Element Inspector. If you use IE, get off my site!

Leave a Reply

Your email address will not be published. Required fields are marked *