thanks much for reply.
i am connecting via LAN and there is no proxy server between my laptop and the server. also using three different browsers, and all of them reporting same issue. could it be related to database or somehow to the permissions of files? my cacti folder's permissions are apache:apache. is that correct?
cacti 1.2.3 fresh install web interface broken
Moderators: Moderators, Developers
Re: cacti 1.2.3 fresh install web interface broken
second time i got the web graphic on the page and here is the exception i am getting
another exception added.
please need help
another exception added.
please need help

- Attachments
-
- another exception.PNG (49.73 KiB) Viewed 815 times
-
- exception return json.png (21.51 KiB) Viewed 815 times
Re: cacti 1.2.3 fresh install web interface broken
What version of jquery is it using? Since this is a packaged install (we don't offer packages), sometime they like to swap out our known working versions with the latest which can break things.
Re: cacti 1.2.3 fresh install web interface broken
sorry, where i can check that? is it browser related or operating system related?cigamit wrote:What version of jquery is it using? .
can you tell me more on how i can check that?
####
in the devtools console:
$().jquery
TypeError: $(...) is null
or
($ === jQuery)?$().jquery:'no jquery';
"no jquery"
or
this is returning 3.3.1 in a popup window:
if (typeof jQuery != 'undefined') {
// jQuery is loaded => print the version
alert(jQuery.fn.jquery);
}
or
console.log(jQuery().jquery);
TypeError: jQuery.fn.init is not a constructor
debugger eval code:139:10
console.log(jQuery.fn.jquery);
3.3.1 debugger eval code:1:9
undefined
Re: cacti 1.2.3 fresh install web interface broken
i think something is wrong with the source of the application, not letting it to be displayed.
now i have [url]https://www.smarthostingplans.com/ ... -centos-7/[/url], but still running into same issue
can you please let me know what could be the issue?
now i have [url]https://www.smarthostingplans.com/ ... -centos-7/[/url], but still running into same issue
can you please let me know what could be the issue?
Re: cacti 1.2.3 fresh install web interface broken
in chrome devtools, i see following error,while trying to launch the http://myserver/cacti/:
does it give you any idea where the problem can be? and I really dont think this problem should be only with me
if you try to install cacti 1.2.3,4 on fresh centos7 install, u should face the same issues
#####
another refresh giving me this:
Code: Select all
Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://myserver/cacti/include/themes/modern/jquery.zoom.css?aabc6f45db68bd321ca27338899ef75d".
if you try to install cacti 1.2.3,4 on fresh centos7 install, u should face the same issues
#####
another refresh giving me this:
Code: Select all
6Resource interpreted as Stylesheet but transferred with MIME type text/plain: "<URL>".
index.php:93 Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://my-server/cacti/include/themes/modern/jquery.zoom.css?aabc6f45db68bd321ca27338899ef75d".
index.php:94 Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://my-server/cacti/include/themes/modern/jquery-ui.css?a7406d654968e3c1531207059a9d15d2".
index.php:95 Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://my-server/cacti/include/themes/modern/default/style.css?b16e44c8ea2180ea769a22921bc369ad".
index.php:99 Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://my-server/cacti/include/themes/modern/c3.css?4aef467349628c8e407ecc205eac5375".
index.php:101 Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://my-server/cacti/include/fa/css/fontawesome.css?c33e55a3e79984d24f3309545701cb1b".
index.php:103 Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://my-server/cacti/include/themes/modern/main.css?8791fa69240d3a78a49efb9709975783".
5Resource interpreted as Stylesheet but transferred with MIME type application/x-troff: "<URL>".
index.php:96 Resource interpreted as Stylesheet but transferred with MIME type application/x-troff: "http://my-server/cacti/include/themes/modern/jquery.multiselect.css?e8d1b3ce433249ef1f2f15343caa74fb".
index.php:97 Resource interpreted as Stylesheet but transferred with MIME type application/x-troff: "http://my-server/cacti/include/themes/modern/jquery.timepicker.css?431ab7d4ef48afd9c39a647c5c990b0a".
index.php:98 Resource interpreted as Stylesheet but transferred with MIME type application/x-troff: "http://my-server/cacti/include/themes/modern/jquery.colorpicker.css?24366e47db1fb3b58658a53d9a445214".
index.php:100 Resource interpreted as Stylesheet but transferred with MIME type application/x-troff: "http://my-server/cacti/include/themes/modern/pace.css?813d842ea49d68287a59d7f49575aaa6".
index.php:102 Resource interpreted as Stylesheet but transferred with MIME type application/x-troff: "http://my-server/cacti/include/vendor/flag-icon-css/css/flag-icon.css?216e807dd0b784846799cb18051f250d".
Re: cacti 1.2.3 fresh install web interface broken
As I said earlier, the Cacti code is properly setting the MIME type
If you look at your earlier post where you posted the source code of the page
https://forums.cacti.net/viewtopic.php?p=278297#p278297
You see it set to
If you look at your earlier post where you posted the source code of the page
https://forums.cacti.net/viewtopic.php?p=278297#p278297
You see it set to
You are getting this error<link href='/cacti/include/themes/modern/jquery.zoom.css?aabc6f45db68bd321ca27338899ef75d' type='text/css' rel='stylesheet'>
which means that something on your side (browser or something) is screwing with things.Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://myserver/cacti/include/themes/mo ... 38899ef75d".
Re: cacti 1.2.3 fresh install web interface broken
ok maybe you are right, since i am not developer and don't know things as you know, but how this happens on all three browsers on two laptops?
you think all six browsers are screwing things? personally me i don't think so, it maybe apache related configuration issue or web page related, otherwise on browser can screw, second can screw, but not third....and sixth.
dont you agree with me?
you think all six browsers are screwing things? personally me i don't think so, it maybe apache related configuration issue or web page related, otherwise on browser can screw, second can screw, but not third....and sixth.
dont you agree with me?
Re: cacti 1.2.3 fresh install web interface broken
I am just agreeing that it doesn't appear to be an issue with Cacti itself. There are a million other things it could be, anywhere from browser, to transparent proxy, to apache modules, etc... We can sit here and guess all day what it may be, but the software is clearly sending the right HTML back, so you can rule that out. From there its all in your hands.
Re: cacti 1.2.3 fresh install web interface broken
i fully agree with you, there could be millions of causes for this. however, i need to narrow down the problem, and to my understanding it could be smth related to the apache config. and since i am unable to narrow down myself, that's why i asked for help on the forum, hoping someone more skills can tell me which modules i should look at...
Re: cacti 1.2.3 fresh install web interface broken
just in case someone else reads this forum. issue got resolved by adding below lines to <IfModule mime_module> of apache config file (httpd.conf) of centos and restart of httpd service:
AddType text/css .css
AddType text/javascript .js
this was really insane.
thanks
AddType text/css .css
AddType text/javascript .js
this was really insane.
thanks