X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FTroubleshooting.html;h=0d58f3214c0e3cbf2a85fd26ff04b9991fd2e033;hb=52ccf0d7ee25eb0b6fc405aafcf7211ef07307e1;hp=98fd53549733eac259c43c1f27ac38b4ef4d4b52;hpb=f8b936e7e75601b5d96525f25d5b52dbabd909b4;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Troubleshooting.html b/doc/Troubleshooting.html index 98fd5354..0d58f321 100644 --- a/doc/Troubleshooting.html +++ b/doc/Troubleshooting.html @@ -4,31 +4,49 @@ -
Login form is protected against brute force attacks: 4 failed logins will ban the IP address from login for 30 minutes. Banned IPs can still browse links.
To remove the current IP bans, delete the file data/ipbans.php
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.
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 and a .htaccess
file containing:<IfDefine Free>
+<IfDefine Free>
php56 1
-</IfDefine>
+</IfDefine>
- 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
- On 1and1 : If you add the link from the page (and not from the bookmarklet), Shaarli will no be able to get the title of the page. You will have to enter it manually. (Because they have disabled the ability to download a file through HTTP).
- If you have the error
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /â¦/index.php on line xxx
, it means that your host has disabled the ability to fetch a file by HTTP in the php config (Typically in 1and1 hosting). Bad host. Change host. Or comment the following lines:
-//list($status,$headers,$data) = getHTTP($url,4); // Short timeout to keep the application responsive.
+//list($status,$headers,$data) = getHTTP($url,4); // Short timeout to keep the application responsive.
// FIXME: Decode charset according to charset specified in either 1) HTTP response headers or 2) <head> in html
-//if (strpos($status,'200 OK')) $title=html_extract_title($data);
+//if (strpos($status,'200 OK')) $title=html_extract_title($data);
- On hosts which forbid outgoing HTTP requests (such as free.fr), some thumbnails will not work.
- On lost-oasis, RSS doesn't work correctly, because of this message at the begining of the RSS/ATOM feed :
<? // tout ce qui est charge ici (generalement des includes et require) est charge en permanence. ?>
. To fix this, remove this message from php-include/prepend.php