简单云吧 关注:732贴子:6,432

joomla1.7 操作时页面错误 Infinite loop detected in JError

只看楼主收藏回复

发现Infinite loop detected in JError这样的提示错误,常了是configuration.php里密码设置错了,这一点就比joomla1.5的做的好,像magento一样,将直接的执行错误隐藏起来。
按以下修改server /libraries/joomla/error/error.php
remove the //commenting tag and add the < pre > tags to get a readable output
// echo debug_print_backtrace();
change to:
print"<pre>"; echo debug_print_backtrace(); print"</pre>";出错时,更多提示:#1 JError::raise(1, 500, Application Instantiation Error, , 1) called at [/home5/web/public_html/libraries/joomla/error/error.php:252]#2 JError::raiseError(500, Application Instantiation Error) called at [/home5/web/public_html/libraries/joomla/factory.php:50]#3 JFactory::getApplication() called at [/home5/web/public_html/libraries/joomla/error/error.php:721]#4 JError::customErrorPage(JException Object ([] => 1,[] => 500,[] => JLIB_UTIL_ERROR_CONNECT_DATABASE,[] => ,[] => /home5/web/pub......#24 JFactory::getApplication(administrator) called at [/home5/web/public_html/administrator/index.php:30]Infinite loop detected in JError解决方法:
1 后台删除两个无用联系方式的插件(测试是否插件安装过多影响所致)
2 configuration.php 修改
public $dbtype = *mysqli*; // if your server doesn*t support mysqli, try *mysql* 从之前修改过的mysql改回mysqli public $password = *[some password]*; // wrong password could be the cause3 cpanl重新定议数据库密码,修改configuration.php4 FTP修改文件configuration.php权限为666问题依然
5 configuration.php 修改
public $dbtype = *mysqli*; // if your server doesn*t support mysqli, try *mysql* 从之前修改过的mysqli改回mysql public $password = *[some password]*; // wrong password could be the cause6 删除插件检测密码强度7 将安装版的configuration.php文架构更改上传8 php.ini 加上一段代码
Ini kemungkinan dikarenakan anda menggunakan tipe database mysqli, namun di file php.ini nya belum diload untuk extension tersebut.
Untuk itu silahkan anda tambahkan extension tersebut di php.ini
Anda login ke spanel > domain > kelola subdomain > klik sunting php.ini di subdomain yang anda maksud > lalu anda tambahkan baris :
extension=mysqli.so
Semoga bermanfaat,
9 joomla之门继续发贴提问找思路
10 bluehost 将迁移域名后的【更新位置】定位为最新的域名
11 垃圾评论过多,删除评论和早前安装几个没启用的优化joomla插件
12 禁停加速joomla系列插件之一的:CDN for Joomla!


1楼2014-10-20 02:34回复
    支持楼主,哇哈哈


    6楼2014-12-31 22:11
    回复
      看了楼主的帖子不由得精神为之一振


      8楼2014-12-31 22:11
      回复
        我就是来顶楼主的


        12楼2014-12-31 22:11
        回复
          看完楼主的这个帖子以后,我的心久久不能平静,震撼啊


          17楼2014-12-31 22:12
          回复