致命错误:未找到“JFactory”类(Fatal error: Class 'JFactory' not found)

174 IT屋

I am recently start work in Joomla and I have an error please help me

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();
解决方案

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

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.

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.

我最近开始在Joomla工作,我有一个错误,请帮助我




致命错误:找不到类'JFactory'第48行的joomla / helpers / system.php
48行中显示的行是




  $ this-> application = JFactory :: getApplication(); 

解决方案

首先,确保您拥有最新版本的版本你正在使用。所以1.5.26,2.5.8或3.0.2



完成后,下载Joomla的新副本,提取包含libraries文件夹,并通过FTP上传这2个文件夹(最好是zip文件)并解压缩。



作为一点点边注。如果您已经拥有,请不要编辑任何核心Joomla文件。这可能会在安全性和功能方面造成各种问题。


本文地址:IT屋 » 致命错误:未找到“JFactory”类