Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-10-29 13:22:47

Summer
Member
Registered: 2018-01-29
Posts: 60

CSS loading error

Hi guys, I updated to the new version with this problem:
admin-themes/hive/assets/css/textpattern.css is not loaded, because its MIME type “application/octet-stream” is not “text/css”.
How can I solve it?

Offline

#2 2020-10-30 01:15:56

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,168
Website

Re: CSS loading error

You seem to have some server misconfiguration or some errand entry in your .htaccess file.

The correct mime-type is indeed text/css. You can fix it yourself by adding that mime-type to your .htaccess file – there is already an entry for SVG files in the default TXPO .htaccess file. or you can add:

<IfModule mod_mime.c>
    AddType text/css css
</IfModule>

The other reason for this problem might be a error during FTP upload.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#3 2020-10-30 05:17:05

Summer
Member
Registered: 2018-01-29
Posts: 60

Re: CSS loading error

phiw13

Thank you for reminding me. I found the problem. I use an Nginx server.
Server configuration conflicts with mime.types

Last edited by Summer (2020-10-30 05:19:21)

Offline

Board footer

Powered by FluxBB