【发布时间】:2018-06-27 10:26:20
【问题描述】:
当我在我的网站上切换页面或快速刷新几次时,我得到 factory.php 的“应用程序实例化错误”
这里是代码 index.php
$app = JFactory::getApplication('site');
这是/libraries/joomla/factory.php中的代码
public static function getApplication($id = null, array $config = array(), $prefix = 'J')
{
if (!self::$application)
{
if (!$id)
{
throw new Exception('Application Instantiation Error', 500);
}
self::$application = JApplication::getInstance($id, $config, $prefix);
}
return self::$application;
}
有没有办法解决这个问题?这是 Joomla 错误还是数据库错误?
希望有人能提供帮助。
【问题讨论】:
-
Joomla 有一个单独的堆栈交换站点,我建议你在那里问。 Joomla