Advertisement

Admin site is TEXT only

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
preikschas
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jul 27, 2022 3:51 pm

Admin site is TEXT only

Post by preikschas » Wed Jul 27, 2022 6:54 pm

I've installed a clean/new copy of Joomla 4.1.5, the site template looks as it is supposed to, but the Admin site is just a plain HTML (Plain Text) site.

Is there a way to install an Admin template?
joomla.JPG
You do not have the required permissions to view the files attached to this post.

Advertisement
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31337
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Admin site is TEXT only

Post by Per Yngve Berg » Wed Jul 27, 2022 7:33 pm

You may be a victim of the double Gzip problem. Disable the Gzip configured on the server.

Please use the Forum Post Assistant. See red frame above.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31337
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Admin site is TEXT only

Post by Per Yngve Berg » Wed Jul 27, 2022 7:38 pm

Mod. Note: Your identical topic about the subject has been merged in.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2872
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Admin site is TEXT only

Post by ceford » Thu Jul 28, 2022 5:13 am

Please see this article:

https://docs.joomla.org/J4.x:Assorted_I ... no_styling

Per, I think this is ambiguous:
Disable the Gzip configured on the server.
Did you mean what is in the article?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31337
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Admin site is TEXT only

Post by Per Yngve Berg » Thu Jul 28, 2022 6:01 am

Yes, gzip is enabled both in .htaccess/php.ini and in Joomla.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Admin site is TEXT only

Post by sozzled » Thu Jul 28, 2022 6:27 am

preikschas wrote: Wed Jul 27, 2022 6:54 pmIs there a way to install an Admin template?
No, there is no need to "install" the Atum template.

The solution is simple. @ceford showed you the answer:
See this section—lines 134-166—of the .htaccess file:

Code: Select all

## 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>
	# 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 gzip.
	RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1]
	RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1]

	<FilesMatch "(\.js\.gz|\.css\.gz)$">
		# Serve correct encoding type.
		Header append Content-Encoding gzip

		# Force proxies to cache gzipped &
		# non-gzipped css/js files separately.
		Header append Vary Accept-Encoding
	</FilesMatch>
</IfModule>
Simplest solution is to delete these lines from that file. I have never needed to use these lines in any .htaccess file for J!; in fact, the "template .htaccess" for J! 4.x (htaccess.txt) seems to cause problems unnecessarily. I've had this problem before and, when I've deleted those lines, the problem went away. 8)

[ redacted ]
Last edited by toivo on Thu Jul 28, 2022 8:39 am, edited 1 time in total.
Reason: mod note: unnecessary commentary removed

Advertisement

Locked

Return to “General Questions/New to Joomla! 4.x”