Add JS modification FAQ

rugk 2016-09-11 12:18:19 +02:00
parent 6de8520bf2
commit 70e707c15b

8
FAQ.md

@ -103,3 +103,11 @@ 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.
### PrivateBin does not seem to react in any way. I can not create or read pastes or even click on the hamburger menu. What is going on?
You seem to have problems with the JS files. They are not correctly executed.
This may have different reasons, but as we use [SRI](https://scotthelme.co.uk/subresource-integrity/) the most likely reason is that your JS files were modified. If you did this by yourself you can have follow [these instructions](https://github.com/PrivateBin/PrivateBin/wiki/Development#subresource-integrity-for-javascript-resources) to regenerate the file hashes, so that the match the JS files.
If you do not changed the JS files intentionally, there might be someone/something interfering with these files. Most likely this is a CDN, such as Cloudflare, or some VPN/data saver modes in your clients.
Some known examples of technologies you should disable when using PrivateBin are Cloudflares rocket loader and auto-minification and Chrome's "data saver" mode on Android.