Support jOOmla! Autoit!
 
DocMan组件出现的 pear.php 错误问题 输出PDF 打印 E-mail
Author Author: Autoit | Date Date:2006-06-05 | View Count View: 7081 | Digg Count 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

Shares: Google书签 Yahoo书签 雅虎收藏夹 365Key网摘 新浪ViVi 百度收藏 天极网摘 diglog 和讯网摘 POCO网摘 YouNote网摘 博拉网 天下图摘 spurl blogmarks BlinkList reddit digg Del.icio.us   |  Tags: DocMan  pear  

 
放置 Google's Ad 所制作的一个N简单的模块   将近30M体积的 jOOmla! 组件: CiviCRM 1.4