Control Web Panel

WebPanel => MySQL => Topic started by: alkanlevent on December 24, 2020, 10:53:42 PM

Title: phpMyAdmin Error text: Internal Server Error (rejected) Reasons
Post by: alkanlevent 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