Error after updating

  • Sabine
  • Sabine's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 6 months ago - 1 year 6 months ago #1 by Sabine
Error after updating was created by Sabine
Hi Christopher,
I just updated myshortlist on a duplicate site, Joomla 5.2.1, Myshort list 1.11.1856

The site send me an erro message after updating : "Content encoding error"

I tried to change public $gzip = '1'; 

To Code PHP: public $gzip = '0';. 

But nothing change, do you have an idea please ?
Last edit: 1 year 6 months ago by Sabine.

Please Log in or Create an account to join the conversation.

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
1 year 6 months ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Error after updating
Hello Sabine and thank you for posting.
I don't think updating MyShortlist has anything to do with such an error.
Are you receiving this error when loading MyShortlist's JS and CSS files?

If so, perhaps you need to open your Joomla's root directory in a file manager and open the .htaccess file.
Near the end, it should say:
Code:
## GZIP & BROTLI ## These directives are only enabled if the Apache mod_headers module is enabled. ## This section will check if a .gz file exists and if so will stream it ##     directly or fallback to gzip any asset on the fly ## If your site starts to look strange after enabling this file, and you see ##     ERR_CONTENT_DECODING_FAILED in your browser console network tab, ##     then your server is already gzipping css and js files and you don't need this ##     block enabled in your .htaccess <IfModule mod_headers.c>     # Serve gzip compressed CSS files if they exist     # and the client accepts gzip.     RewriteCond "%{HTTP:Accept-encoding}" "gzip"     RewriteCond "%{REQUEST_FILENAME}\.gz" -s     RewriteRule "^(.*)\.css" "$1\.css\.gz" [QSA]     # Serve gzip compressed JS files if they exist     # and the client accepts gzip.     RewriteCond "%{HTTP:Accept-encoding}" "gzip"     RewriteCond "%{REQUEST_FILENAME}\.gz" -s     RewriteRule "^(.*)\.js" "$1\.js\.gz" [QSA]     # Serve correct content types, and prevent mod_deflate double compression.     RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1,E=no-brotli:1]     RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1,E=no-brotli:1]     <FilesMatch "(\.js\.gz|\.css\.gz)$">         # Serve correct encoding type.         Header set Content-Encoding gzip         # Force proxies to cache gzipped &         # non-gzipped css/js files separately.         Header append Vary Accept-Encoding     </FilesMatch> </IfModule>

If you suspect this has to do with gzip, perhaps removing these lines may help?
Otherwise, I would have to take a look. Please feel free to share the URL via email at me@mavxr.com.

Thanks again!

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros