在/usr/share/phpMyAdmin/libraries/Error.class.php中找不到phpMyAdmin类'PMA_Message' [英] phpMyAdmin Class 'PMA_Message' not found in /usr/share/phpMyAdmin/libraries/Error.class.php
问题描述
我刚遇到此错误(最近两年phpMyAdmin中没有错误):
I just got this error (no errors in phpMyAdmin for the last 2 years):
PHP致命错误:在第24行的/usr/share/phpMyAdmin/libraries/Error.class.php中找不到类'PMA_Message'
PHP Fatal error: Class 'PMA_Message' not found in /usr/share/phpMyAdmin/libraries/Error.class.php on line 24
我尝试搜索网络和类似链接
I tried searching the net and links like
- https://web.archive.org/web/20141102061301/http://gnuwhatimsaying.com/phpmyadmin-error-class-pma_message-not-found/(更改/var/lib/php/的所有权会话/文件夹到apache:apache-已经设置好了)
- https://web.archive.org/web/20160316021748/http://rakesh.sankar-b.com/2012/05/20/phpmyadmin-pma-message-class- not-found/(quote:我有一个奇怪的主意,看看该空间是否可用于PHP创建会话–陷阱,这就是我的问题所在.我清理了一些不必要的项目,一切都进行得很顺利. -老实说,我不知道作者是什么意思
- https://web.archive.org/web/20141102061301/http://gnuwhatimsaying.com/phpmyadmin-error-class-pma_message-not-found/ (changing the ownership of /var/lib/php/session/ folder to apache:apache - it's already set like that)
- https://web.archive.org/web/20160316021748/http://rakesh.sankar-b.com/2012/05/20/phpmyadmin-pma-message-class-not-found/ (quote: "I got a weird idea to see if the space is available for PHP to create sessions – gotcha, that is where my problem was. I cleaned up some unnecessary items and all went well." - to be honest I don't know what the author meant by this)
但没有一个解决了我的问题,而且很奇怪-这些只是两个链接,它们在google搜索此错误的前50个链接中弹出.因此,请对此有所了解.
but none solved my issues, and strangely enough - these are only two links which pop up in the first 50 links of google search for this error. So, please shed some light on this.
顺便说一句,此服务器上托管的站点运行正常,DB运行正常(mysql,通过SSH登录).
Btw, the site which is hosted on this server works fine, DB works fine (mysql, login via SSH).
推荐答案
我通过重新启动apache解决了此问题.
I fixed this issue by restarting apache.
这篇关于在/usr/share/phpMyAdmin/libraries/Error.class.php中找不到phpMyAdmin类'PMA_Message'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!