X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=doc%2FTroubleshooting.html;h=98fd53549733eac259c43c1f27ac38b4ef4d4b52;hb=890afc32f744859d11b97eb26ed5c030af9b4145;hp=6965a578ea32d92ac4bb72741ee7024c94e1b433;hpb=27cf2e671d1f35bd8c9383d008cd3733fc1c6e0d;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Troubleshooting.html b/doc/Troubleshooting.html index 6965a578..98fd5354 100644 --- a/doc/Troubleshooting.html +++ b/doc/Troubleshooting.html @@ -36,6 +36,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
Depending on its configuration and installed plugins, the browser may remove or alter (spoof) HTTP referers, thus preventing Shaarli from properly redirecting between pages.
+See:
+HTTP settings are available by browsing about:config
, here are the available settings and their values.
network.http.sendRefererHeader
- determines when to send the Referer HTTP header
network.http.referer.XOriginPolicy
- Cross-domain origin policy
network.http.referer.spoofSource
- Referer spoofing (~faking)
network.http.referer.trimmingPolicy
- trim the URI not to send a full Referer
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.
To solve this, assign a local domain to your host, e.g.
+127.0.0.1 localhost desktop localhost.lan
+::1 localhost desktop localhost.lan
+and browse Shaarli at http://localhost.lan/.
+Related threads:
+Delete the file data/config.php
and display the page again. You will be asked for a new login/password.
The file data/log.txt
shows all logins (successful or failed) and bans/lifted bans.
Search for failed
in this file to look for unauthorized login attempts.
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:sessions
directory and a .htaccess
file containing:php 1
-SetEnv PHP_VER 5
+<IfDefine Free>
+php56 1
+</IfDefine>
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