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

Assets not readable cause asset manager to fail and not display error message #2498

Closed
mattab opened this issue Jun 20, 2011 · 3 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jun 20, 2011

See bug report in http://forum.piwik.org/read.php?2,78043,page=1#msg-78088

the bug is that, now that assets are loaded from libs/jqplot/, if the directory doesn't have the same read permissions, the assets could fail if some files don't have right permission.

It would be nice that the assets generation would show the error message. Users have reported error 500 without message instead.

@mattab
Copy link
Member Author

mattab commented Jun 22, 2011

There is also in this same forum post a general thread about Asset compiling now failing on some low memory webhosts (now that concatenated Javascript code in Piwik is about 1MB).

Like a user said, jqplot is a beast. It is mate. Not much of a quick fix I don't think ;)

@robocoder
Copy link
Contributor

The asset generation is via proxy. We can't provide an error message directly. We could change it so the asset manager returns the error in its output (i.e., return a script that opens a popup).

Low memory webhosts are going to have a bigger problem with archive processing, and in either case, isn't trappable. Defer this aspect for mitigation by #2514.

@mattab
Copy link
Member Author

mattab commented Jun 29, 2011

OK I guess, if we get this error often, we can create a FAQ :)

@mattab mattab added this to the 1.5.1 Piwik 1.5.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants