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 cause
3 cpanl重新定议数据库密码,修改configuration.php
4  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 cause
6 删除插件检测密码强度
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 应rank-ad.com 垃圾评论过多,删除评论和早前安装几个没启用的优化joomla插件

12 禁停加速joomla系列插件之一的:CDN for Joomla!

发表评论

您的电子邮箱地址不会被公开。