UI Broken for v14.06

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
leenux
Junior Member
Posts: 2
Joined: 20 Oct 2020, 17:58

UI Broken for v14.06

Post by leenux »

Hi,

My CSF UI is broken. Try to inspect element on my chrome and get error on index line 168
Image

There is no error on lfd log. And i just set TESTING=0, enable UI, fill username password and allow my ip for UI_PORT on csf.allow.
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: UI Broken for v14.06

Post by ForumAdmin »

We're not able to recreate a problem with the UI (nothing has changed in it for this version). If you view the source of the page what HTML code is around line 168?

And just to confirm, is this using the inbuilt UI or is it in a specific control panel?
leenux
Junior Member
Posts: 2
Joined: 20 Oct 2020, 17:58

Re: UI Broken for v14.06

Post by leenux »

Hi ForumAdmin

Im using inbuilt UI with CUSTOM_STYLE="0" and STYLE_MOBILE="0"

Uncaught ReferenceError: $ is not defined at (index):168 referer to

Image
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: UI Broken for v14.06

Post by ForumAdmin »

That might suggest that the jquery library is not loading in your browser before it hits the end of the page. We'll look into it, but it may take some time to address.
Lubos
Junior Member
Posts: 2
Joined: 28 Oct 2020, 10:18

Re: UI Broken for v14.06

Post by Lubos »

Hi I've posted some details about this issue in another thread. It may or may not be helpful:
viewtopic.php?p=32049#p32049
gmariani405
Junior Member
Posts: 11
Joined: 05 Nov 2014, 14:47

Re: UI Broken for v14.06

Post by gmariani405 »

Running into the same issue on 14.07 on CentOS 7 using the integrated UI. None of the CSS or JavaScript files are loading.

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.

All of these files load with zero bytes:
https://<IP>:<Port>/<sessionID>/images/jquery.min.js
https://<IP>:<Port>/<sessionID>/images/bootstrap/js/bootstrap.min.js
https://<IP>:<Port>/<sessionID>/images/bootstrap/css/bootstrap.min.css
https://<IP>:<Port>/<sessionID>/images/configserver.css
https://<IP>:<Port>/<sessionID>/images/csf_small.png
gmariani405
Junior Member
Posts: 11
Joined: 05 Nov 2014, 14:47

Re: UI Broken for v14.06

Post by gmariani405 »

14.08 fixed this error for me
Post Reply