add JS loading error

rugk 2016-12-12 17:32:32 +01:00
parent 3b138fdfc9
commit 3683424abf

12
FAQ.md

@ -15,6 +15,7 @@ Please have a look at these questions *before* opening an issue in this repo.
* [How can I securely clone/download your project?](#how-can-i-securely-clonedownload-your-project)
* [How should I setup HTTPS?](#how-should-i-setup-https)
* [How to fix "There is no suitable CSPRNG installed on your system"?](#how-to-fix-there-is-no-suitable-csprng-installed-on-your-system)
* [Why does not the "Loading…" message go away?](#why-does-not-the-loading-message-go-away)
* [How to make PrivateBin work on my Android phone with data saver mode?](#user-content-how-to-make-privatebin-work-on-my-android-phone-with-data-saver-mode)
* [How to make PrivateBin work when using Cloudflare for DDoS protection?](#user-content-how-to-make-privatebin-work-when-using-cloudflare-for-ddos-protection)
* [How to make PrivateBin work when I have changed some JavaScript files?](#user-content-how-to-make-privatebin-work-when-i-have-changed-some-javascript-files)
@ -153,6 +154,17 @@ echo '<pre>PHP version used: ', PHP_VERSION, PHP_EOL,
If all these checks fail, you need to either: upgrade to PHP 7, [install libsodium](https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium), add `/dev/urandom` to your `open_basedir` setting, install mcrypt (which also needs access to `dev/urandom`, so `open_basedir` must also be set) or install com_dotnet.
### Why does not the "Loading…" message go away?
If PrivateBin seems to be loading for an infinite amount of time, this generally shows that the requirwed JavaScript could not be loaded (although JavaScript is enabled in the browser).
If you are using an Android phone, you may have a look at ["How to make PrivateBin work on my Android phone with data saver mode?"](#how-to-make-privatebin-work-on-my-android-phone-with-data-saver-mode). Otherwise you should contact the server admin.
If you are the server admin you may have a look at ["
How to make PrivateBin work when using Cloudflare for DDoS protection?"](#how-to-make-privatebin-work-when-using-cloudflare-for-ddos-protection) in case you are using Cloudflare and ["How to make PrivateBin work when I have changed some JavaScript files?"](#how-to-make-privatebin-work-when-i-have-changed-some-javascript-files), which can also cause this error.
If everything does not help, have a look into your browser console. If any CSP failure messages related to PrivateBin appear (many are also caused by browser add-ons), you see that the CSP header (a security feature deployed by PrivateBin) prevented the JS files to load as they seemed to be modified.
If all previous steps did not help you you might report this issue to us, so we can have a look. Please include all browser console messages and preferably try it with a fresh browser/profile (and/or another browser) to make sure no add-ons are interfering.
### How to make PrivateBin work on my Android phone with data saver mode?
As a user, either switch to a PrivateBin instance on a server offering HTTPS or disable data saver mode in Settings > Data Saver.