备忘:phpmyadmin 报错

安装pma本来都正常,一改目录名,提示


Fatal error: Call to a member function getName() on a non-object in  /www/wwwroot/phpmyadmin1111122222/libraries/common.inc.php on line 723

很奇怪,之前都是正常的,翻翻common.inc.php,

$GLOBALS['theme']           = $_SESSION['PMA_Theme']->getName();


解决办法:


#chown -R www:www   phpmyadmin1111122222
#chmod -R 755 phpmyadmin1111122222

唉,明明记得都改了的,改了目录名折腾半天……


你可能感兴趣的:(session,function,phpMyAdmin)