Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

pdf icons

Content Encoding Error in Joomla

We have encountered this error during a Joomla restore process on a local computer.

The restore was being done after obtaining a backup from our website on the Internet using the Joomla back component – Akeeba Backup (formally known as JoomlaPack)

The Joomla Administrator’s section restored properly.

The Joomla Front end failed to execute even after the restore completed successfully.The error message displayed is as shown in diagram 1.

Content Encoding Error
Diagram 1

Solution:

Login as Administrator. In the admin panel Click on the icon Global Configuration as show in diagram 2.

Joomla Global Configuration
Diagram 2

Server Setting
Diagram 3

Click the tab Server.
In the Server Settings section, ensure that the Gzip Page Compression is set to No.

After setting this property to No, the front end of the website should display but a Notice maybe displayed at the top of the page if your php.ini file has its display_errors=On as shown in diagram 4.

Error "Trying to get property of non-object" in aceseftools.php on line ***

diagram4.gif
Diagram 4

Solution:

Locate the file.
../administrator/components/com_acesef/classes/aceseftools.php

FIND the following line of code:
array_unshift($menus, $row->name);

ADD

      if (is_null($row))
      {
         break;
}

BEFORE
array_unshift($menus, $row->name);

TO READ AS:

      if (is_null($row))
      {
         break;
}

array_unshift($menus, $row->name);

The notice should get resolved.

OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download
LinkShare_180x150
Artisteer - DNN Skin Generator
Tapestry Theme - A Tumblog-Style Theme for Wordpress