|
DocMan组件出现的 pear.php 错误问题
|
|
|
|
Author: Autoit | Date:2006-06-05 | View: 7081 | Digg: 1 |
|
在无缘无故的空间出现问题后恢复回来的时候, Docman页面出现 Fatal error: Cannot redeclare class pear in /usr/local/lib/php/PEAR.php on line 86 而不能打开打... 得到的答案是 " the server has loaded pear class by default" 所以解决方法为:搜索"/administrator/components/com_docman/contrib/pear HTML_Select.php"里的 //only load if it hasn't already been loaded 将下面的3行改为下面即可. /*if(!class_exists( "PEAR")) {
require_once dirname(__FILE__) . '/PEAR.php';
} */
Permanent URL: http://www.autoit.cn/index.php/content/view/35/25.html
Only registered users can write comments. Please login or register. |