Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your browser was unable to load the scripts and styles of this page. #12812

Closed
StefWeb12 opened this issue May 2, 2018 · 9 comments
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@StefWeb12
Copy link

StefWeb12 commented May 2, 2018

Hey Matomo-Team,

I have downloaded Piwik. At the start to the installation 2 Errormessages came on my Homepage.
I have disabled my AdBlocker. But this didn't helped.

  1. Your browser was unable to load the scripts of this page.
  2. Your browser was unable to load the style of this page.

I have uploaded the Files like it stands in the Documentation.

I don't know the Problem why this 2 Errormessages coming.

Here is a Pic of it:
piwik_installationsfehler

With frindly Greetings,
Stef

@Findus23
Copy link
Member

Findus23 commented May 2, 2018

Hi,

Chances are very high that an adblocker has blocked the scripts and styles of Matomo.
Just disable it on your Dashboard.

@StefWeb12
Copy link
Author

Hey,

I have disabled my AdBlocker and started the Browser new. But there came the same as before when the AdBlocker ist on.

@Findus23
Copy link
Member

Findus23 commented May 2, 2018

Hi,

Can you then open the developer tools of your browser (F12) and check for errors in the console or failed requests in the network tab.
Maybe you need to completely reload the page (Strg+⇧ Shift+R)

@StefWeb12
Copy link
Author

In the Console is coming 1 Error and 3 Things which arent loadable.
After completely reload the page there are no Changes.

consoleerrors

@Findus23
Copy link
Member

Findus23 commented May 2, 2018

Hm, can you try opening one of the three URLs directly?

Does the network tab show any reason for the failure?
Can you easily try another browser (like Chrome which shows more verbose errors)

@StefWeb12
Copy link
Author

StefWeb12 commented May 2, 2018

I have open it now via Google Chrome.

There i get more Errors. Some Scripts are blocked by AntiVirus-Programm.
fehlerchrome

@Findus23
Copy link
Member

Findus23 commented May 2, 2018

Okay this means there is a software that is intercepting all of your web requests (and as it is not a https-site this is trivial) and blocking the files Matomo needs.

So to fix the issue, configure this software (most likely your antivirus) to not block the files anymore.

But I think you should better completely disable this feature as intercepting webrequests (or even encrypted ones) nearly always causes more insecurity than security.

And as you seem to be in Germany you will need to think about GDPR/DSGVO (see here for more information). And in my personal opinion it is impossible to comply to the law if you don't know where your visitors data is stored as it is transferred completely unencrypted without HTTPS. So you should be setting up HTTPS as soon as you can.

@Findus23 Findus23 added the answered For when a question was asked and we referred to forum or answered it. label May 2, 2018
@va3093
Copy link

va3093 commented Aug 16, 2018

The problem for me was that I was using nginx to proxy requests to https://mysite.blah/matomo to matomo which was running in a docker container. However the client side calls were making requests to https://mysite.blah/index.php?asdfasd. As a result I the resources were not being found. I have changed my confif to instead redirect https://matomo.mysite.blah. Then it works

@Mogekoff
Copy link

I solved this problem by removing the line
Header always set Content-Type "text/html; charset=utf-8"
from my .htaccess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

4 participants