J4.x

J4.x:Assorted Issues

From Joomla! Documentation

Revision as of 14:48, 5 December 2021 by Ceford (talk | contribs) (Removed Symptom to shorten title in JDOC Manual)

A page displays with no styling.

Possible cause: A gzip section in .htaccess is compressing already compressed css and js files.

See this section of the .htaccess file:

## 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, 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>
...
</IfModule>

If present, comment out or remove.

The list of Site Modules is empty.

Possible cause: The MySQL sort buffer size may be too small.

Using phpMyAdmin, go to Home / Variables / sort buffer size.

It should be at least 256K and preferably 512K. On some shared hosting services it may be set to 128K. Ask the hosting service to increase it.

Update fails after updating to 4.0.4

Cause: an essential change to the update procedure affecting a small number of users.

Look in .htaccess for this line:

RewriteRule ^administrator/components/com_joomlaupdate/restore\.php$ - [L]

Change it to:

RewriteRule ^administrator\/components\/com_joomlaupdate\/extract\.php$ - [L]

For further information see:

https://www.joomla.org/announcements/release-news/5850-changes-to-update-process-that-you-need-to-be-aware-of.html