致命错误:找不到类"JFactory" [英] Fatal error: Class 'JFactory' not found
问题描述
我最近开始在Joomla工作,但遇到错误,请帮助我
I am recently start work in Joomla and I have an error please help me
致命错误:在joomla/helpers/system.php中找不到类"JFactory" 在第48行,第48行显示的行是
Fatal error: Class 'JFactory' not found in joomla/helpers/system.php on line 48 the line show in 48 row is
$this->application = JFactory::getApplication();
推荐答案
首先,请确保您拥有所使用版本的最新版本.所以1.5.26、2.5.8或3.0.2
Firstly, ensure you have the latest version of the build you're using. So either 1.5.26, 2.5.8, or 3.0.2
完成后,下载Joomla的新副本,提取包含" 和库" 文件夹,然后通过以下方式上传这2个文件夹(最好是zip文件) FTP并将其解压缩.
Once done, download a fresh copy of Joomla, extract the "includes" and "libraries" folders, and upload these 2 folder (preferably as zip files) via the FTP and extract them.
作为一点说明.如果已经拥有,请不要编辑任何核心的Joomla文件.这可能在事物的安全性和功能性方面引起各种各样的问题.
As a little side note. If you already have, please don't edit any core Joomla files. This can cause all sorts of problems on the security and functionality side of things.
这篇关于致命错误:找不到类"JFactory"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!