[SOLVED] "Supports concrete5 request URLs" check lasts forever
Permalink
Hello,
My attempts to install Concrete5 cannot get past the second screen where testing requirements is being performed. The shared hosting passes everything except "Supports concrete5 request URLs" which does not give any error, but hangs at this step. In the sources I found out that errors are caused in this case by problems with PATH_INFO variable which exists but is unset on that server.
The server is Nginx with a custom module that can read Apache-specific .htaccess files.
I had no problems installing Concrete5 earlier 1) locally on nginx, 2) on a shared hosting using Apache.
I tried to add
in index.php file which seems to resolve the problem but then after filling database and administrator account details I get 502 error and "request rejected" message.
There are no spaces in the directory name (https://www.concrete5.org/developers/bugs/5.6.0.1/installation-checker-does-not-complete/).
Option is enabled globally (http://stackoverflow.com/questions/26882608/concrete5-cms-cannot-parse-path-info-information-from-my-server).
Is there anything I can do to make it work properly?
UPDATE: I found out that in order to perform the check in question, an ajax request is made, but instead of json a 502 'request rejected' html page is being served. This looks like server problem. If anyone knows a solution, please share it so that I could help my hosting provider resolve the issue for me.
UPDATE2: After providing the information above my hosting provider solved the issue.
My attempts to install Concrete5 cannot get past the second screen where testing requirements is being performed. The shared hosting passes everything except "Supports concrete5 request URLs" which does not give any error, but hangs at this step. In the sources I found out that errors are caused in this case by problems with PATH_INFO variable which exists but is unset on that server.
The server is Nginx with a custom module that can read Apache-specific .htaccess files.
I had no problems installing Concrete5 earlier 1) locally on nginx, 2) on a shared hosting using Apache.
I tried to add
$_SERVER["PATH_INFO"] = $_SERVER["REQUEST_URI"];
in index.php file which seems to resolve the problem but then after filling database and administrator account details I get 502 error and "request rejected" message.
There are no spaces in the directory name (https://www.concrete5.org/developers/bugs/5.6.0.1/installation-checker-does-not-complete/).
Option
cgi.fix_pathinfo = 1
Is there anything I can do to make it work properly?
UPDATE: I found out that in order to perform the check in question, an ajax request
/index.php/install/test_url/20/20
UPDATE2: After providing the information above my hosting provider solved the issue.
I am still stuck on this.. trying to use your information - what host did you use? I am on Hostgator and they don't seem open to adding custom code.
I don't know what they exactly did, but I doubt they added any custom code for me. You need to check if the reason behind your problem is the same as in my case and then open a support ticket with your provider. Tech support is always more eager to help if it is given valuable hints.