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

Create FAQ to help troubleshoot the error "Failed to load HTML file" #5404

Closed
mattab opened this issue Jul 3, 2014 · 3 comments
Closed

Create FAQ to help troubleshoot the error "Failed to load HTML file" #5404

mattab opened this issue Jul 3, 2014 · 3 comments
Labels
Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jul 3, 2014

Since we've migrated to AngularJS #4691 and moving more code to use AngularJS, there is an issue with some servers that do not serve HTML static files.

this problem can be caused by several different causes. We should add a FAQ for this as suggested by Thomas this ticket

Some of the ways to solve problem:

  • put "AddHandler text/html .html" in the "<directory>" section of the Apache host config.
  • PageSpeed
  • AddHandler in case of CGI
  • Outdated nginx config / blocked HTML
  • server redirects requests "index.php" -> "index" (causing loss of _POST variables)

Once the FAQ is created:

  • link to this FAQ entry from the warning which is displayed in the UI in case there is a 40* or 500 HTTP error.
@mattab
Copy link
Member Author

mattab commented Jul 3, 2014

in this forum post a user reported having to disable mod page speed:

 ModPagespeedDisallow "*path_to_piwik*"

@mattab mattab added this to the 2.5.0 - Piwik 2.5.0 milestone Jul 8, 2014
@tsteur
Copy link
Member

tsteur commented Jul 21, 2014

Regarding pagespeed see #5081 (comment)

@mattab mattab added this to the Piwik 2.5.0 milestone Aug 3, 2014
@mattab
Copy link
Member Author

mattab commented Aug 5, 2014

@mattab mattab closed this as completed Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants