diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-17 10:00:44 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-17 10:00:44 -0400 |
commit | 085468346c49e059ab7b7fc6d21fa2dda56f2fd9 (patch) | |
tree | 0d176433df3e91ac2862ad7b38d21ccecece3fbb | |
parent | 4d6e5d2e2cc0950114cc3ca9f32e66aa779d3b48 (diff) |
Update FAQ and override wrong value of arg_separator.output during check_setup
-rw-r--r-- | app/check_setup.php | 5 | ||||
-rw-r--r-- | docs/faq.markdown | 25 |
2 files changed, 29 insertions, 1 deletions
diff --git a/app/check_setup.php b/app/check_setup.php index afb08f6a..065b8e10 100644 --- a/app/check_setup.php +++ b/app/check_setup.php @@ -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', '&'); +} diff --git a/docs/faq.markdown b/docs/faq.markdown index 77a88e06..af44b1d7 100644 --- a/docs/faq.markdown +++ b/docs/faq.markdown @@ -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 ------------------------------ |