Hi
I use DirectAdmin with CSF firewall. Our panel UI can't show images css etc.
Here screenshots:
[
how can I solve it?
I tried uninstall and install again but no luck.
Failed to load resource Panel UI
Re: Failed to load resource Panel UI
I found that install script don't use : mkdir /usr/local/directadmin/plugins/csf/images/
That is the problem.
That is the problem.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Failed to load resource Panel UI
Thank you for reporting this. We've just release csf v14.07 that fixes this.
Re: Failed to load resource Panel UI
Hi there, I've just done a fresh install of 14.07 on a CentOS 8 VPS. The problem is still present for me.
Maybe the Firefox warnings will help you track it down. Looks like content-encoding was not specified for the resources. Not sure if that's the entirety of the problem:
From the Network panel:
Maybe the Firefox warnings will help you track it down. Looks like content-encoding was not specified for the resources. Not sure if that's the entirety of the problem:
Code: Select all
The script from “https://<IP>:<Port>/<sessionID>/images/jquery.min.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
The script from “https://<IP>:<Port>/<sessionID>/images/bootstrap/js/bootstrap.min.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
Uncaught ReferenceError: $ is not defined
<anonymous> https://<IP>:<Port>/<sessionID>/:200
<sessionID>:200:1
<anonymous> <IP>:<Port>/<sessionID>/:200
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Failed to load resource Panel UI
That is a different issue. See viewtopic.php?f=4&t=11967