Search code examples
phpmyadminmamp

MAMP Pro - updating phpMyAdmin issue


I am having an issue after updating my MAMP Pro to the latest phpMyAdmin (4.0.0). The error is:

Unknown language: en-iso-8859-1.

How do I resolve this? I attempted to edit config.inc.php by removing the en- part of the language and charset conversion settings. I have edited both config.inc.php files in Applications/MAMP/bin/phpMyAdmin, and /Library/Application Support/appsolute/MAMP PRO/ directories. I am still encountering the issue. What else do I need to check?


Solution

  • I had the same problem when I upgraded phpMyAdmin. Take a look here Applications/MAMP/bin/phpMyAdmin/locale and see if there is a folder named en and I suspect there won't be. It turns out that when I downloaded the update it was the British English version and the folder was named en_GB which I believe is the reason for the error Unknown language: en-iso-8859-1 but I do not know for sure.

    My solution was to change the config.inc.php file to this:

    $cfg['DefaultLang'] = 'en_GB-iso-8859-1';

    Previously it was $cfg['DefaultLang'] = 'en-iso-8859-1';

    I no longer have this error message for phpMyAdmin on MAMP 2.1.3. Hope this helps.