Author Topic: phpMyAdmin Error text: Internal Server Error (rejected) Reasons  (Read 4057 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
phpMyAdmin Error text: Internal Server Error (rejected) Reasons
« on: December 24, 2020, 10:53:42 PM »
Maybe I can help someone with the same problem;

if your phpMyAdmin version is 4.7.9 and if you are getting 500 error when you click operations tab or other tabs on the phpMyAdmin control panel please check /usr/local/cwpsrv/var/services/pma/libraries/StorageEngine.php find line 191 and

change

switch(strtolower($engine)) {

with

switch(mb_strtolower($engine)) {

I think publisher of phpMyAdmin forgot to change strtolower => mb_strtolower in this version at this line

The cause of the problem is if your server uses one of the latin5 languages by default, strtolower function is not lowering latin characters as expected and this situation is causes called undefined function error and returning 500 code;

from operations.lib.php at line 1193 $innodbEnginePlugin = StorageEngine::getEngine('Innodb'); is calling this function with Innodb parameter but strtolower is lowercasing Innodb to => ınnodb without dot and this causes called undefined function error
« Last Edit: December 24, 2020, 11:07:07 PM by alkanlevent »