Joomla.在我将网站移动到bluehost服务器上并手动导入新域的sql数据库后,在JError中检测到无限循环


Joomla. Infinite loop detected in JError after I moved website on a bluehost server and manually imported sql database for new domain?

我不得不在bluehost服务器上移动一个网站,该服务器位于Joomla Platform 1.7中。我在Joomla.org和谷歌上做了很多研究,但仍然没有重新研究这个问题。我收到以下错误:在JError中检测到无限循环。我抛出了配置文件,并确保数据库和用户与我的新数据库参数匹配,我仍然收到这个问题。非常感谢。紧急反应将非常有帮助。目前正在进行这项工作,但这不是一个好的开始。:(

我在将Joomla站点从一台服务器移动到另一台服务器时遇到了同样的问题。我学到了以下内容;

确保查看configuration.php中的参数。仔细检查configuration.php文件中的以下变量是否正确。(仔细检查)您确实提到您已经这样做了。在这种情况下,我98%确信您在使用configuration.php处理文件Attributes时遇到问题。将configuration.php的Attributes444更改为666。

要获取有关错误的详细信息,请打开服务器上/librarys/joomla/error/中的error.php文件。

在以下代码中:

public static function throwError(&$exception)
{
static $thrown = false;
 // If thrown is hit again, we've come back to  JError in the middle of    
  throwing
 another JError, so die!
 if ($thrown) {
// echo debug_print_backtrace();
jexit(JText::_('JLIB_ERROR_INFINITE_LOOP'));
}

更改行//echo-debug_print_backtrace()

到以下位置:

**print"<pre>";
  echo debug_print_backtrace();
print"</pre>";**

记住-当您将configuration.php中的参数更改为新数据库时,请确保configuration.php文件属性设置为666,否则,当您保存文件时,它不会更改。先试试这个。。祝你好运