Update FAQ and override wrong value of arg_separator.output during check_setup

This commit is contained in:
Frederic Guillot 2015-05-17 10:00:44 -04:00
parent 4d6e5d2e2c
commit 085468346c
2 changed files with 29 additions and 1 deletions

View File

@ -33,3 +33,8 @@ if (! extension_loaded('mbstring')) {
if (! is_writable('data')) {
die('The directory "data" must be writeable by your web server user');
}
// Fix wrong value for arg_separator.output, used by the function http_build_query()
if (ini_get('arg_separator.output') === '&') {
ini_set('arg_separator.output', '&');
}

View File

@ -5,7 +5,7 @@ Can you recommend a web hosting provider for Kanboard?
------------------------------------------------------
Kanboard works well with any great VPS hosting provider such as [Digital Ocean](https://www.digitalocean.com/?refcode=4b541f47aae4),
[Linode](https://www.linode.com) or [Gandi](https://www.gandi.net/).
[Linode](https://www.linode.com/?r=4e381ac8a61116f40c60dc7438acc719610d8b11) or [Gandi](https://www.gandi.net/).
To have the best performances, choose a provider with fast disk I/O because Kanboard use Sqlite by default.
Avoid hosting providers that use a shared NFS mount point.
@ -39,6 +39,29 @@ I get a blank page after installing or upgrading Kanboard
- Check the PHP and Apache error logs you should see the exact error
Page not found and the url seems wrong (&)
----------------------------------------------
- The url looks like `/?controller=auth&action=login&redirect_query=` instead of `?controller=auth&action=login&redirect_query=`
- Kanboard returns a "Page not found" error
This issue come from your PHP configuration, the value of `arg_separator.output` is not the PHP's default, there is different ways to fix that:
Change the value directly in your `php.ini` if you have the permission:
```
arg_separator.output = "&"
```
Override the value with a `.htaccess`:
```
php_value arg_separator.output "&"
```
Otherwise Kanboard will try to override the value directly in PHP.
Known issues with eAccelerator
------------------------------