X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FTroubleshooting.md;h=8e30fce5a8a2cf47dbdf27da24762f883dbf8a9f;hb=9cf93bcfc53c36e0dd59fcfc717ac483ee74b35a;hp=4e6cdb063b458515160d1dfaccb16b231d52a6d3;hpb=6335a0fc0ce0c2f962333f0b4d6baac1671df901;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Troubleshooting.md b/doc/Troubleshooting.md index 4e6cdb06..8e30fce5 100644 --- a/doc/Troubleshooting.md +++ b/doc/Troubleshooting.md @@ -25,6 +25,7 @@ HTTP settings are available by browsing `about:config`, here are the available s `network.http.referer.spoofSource` - Referer spoofing (~faking) - false (default): real referer - true: spoof referer (use target URI as referer) + - known to break some functionality in Shaarli `network.http.referer.trimmingPolicy` - trim the URI not to send a full Referer - 0 (default): send full URI @@ -32,7 +33,7 @@ HTTP settings are available by browsing `about:config`, here are the available s - 2: scheme+host+port ### Firefox, localhost and redirections -`localhost` is not a proper Fully Qualified Domain Name (FQDN); if Firefox has been set up to spoof referers, or anly accept requests from the same base domain/host, Shaarli redirections will not work properly. +`localhost` is not a proper Fully Qualified Domain Name (FQDN); if Firefox has been set up to spoof referers, or only accept requests from the same base domain/host, Shaarli redirections will not work properly. To solve this, assign a local domain to your host, e.g. ``` @@ -61,11 +62,12 @@ Search for `failed` in this file to look for unauthorized login attempts. ## Hosting problems ### Old PHP versions - * On **free.fr** : Please note that free uses php 5.1 and thus you will not have autocomplete in tag editing. Don't forget to create a `sessions` directory at the root of your webspace. Change the file extension to `.php5` or create a `.htaccess` file in the directory where Shaarli is located containing: + * On **free.fr** : free.fr now support php 5.6.x([link](http://les.pages.perso.chez.free.fr/migrations/php5v6.io))and so support now the tag autocompletion but you have to do the following : At the root of your webspace create a `sessions` directory and a `.htaccess` file containing:[](.html) ```ini -php 1 -SetEnv PHP_VER 5 + +php56 1 + ``` * If you have an error such as: `Parse error: syntax error, unexpected '=', expecting '(' in /links/index.php on line xxx`, it means that your host is using php4, not php5. Shaarli requires php 5.1. Try changing the file extension to `.php5`