Page 1 of 1

Failed to load resource Panel UI

Posted: 23 Oct 2020, 15:24
by sezing
Hi

I use DirectAdmin with CSF firewall. Our panel UI can't show images css etc.
Here screenshots:


Image[

Image
Image

how can I solve it?

I tried uninstall and install again but no luck.

Re: Failed to load resource Panel UI

Posted: 23 Oct 2020, 16:00
by sezing
I found that install script don't use : mkdir /usr/local/directadmin/plugins/csf/images/
That is the problem.

Re: Failed to load resource Panel UI

Posted: 23 Oct 2020, 17:30
by ForumAdmin
Thank you for reporting this. We've just release csf v14.07 that fixes this.

Re: Failed to load resource Panel UI

Posted: 28 Oct 2020, 10:36
by Lubos
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:

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
From the Network panel:
Image

Re: Failed to load resource Panel UI

Posted: 28 Oct 2020, 10:49
by ForumAdmin
That is a different issue. See viewtopic.php?f=4&t=11967