cmsms-2.1.2-install.php gets stuck in infinite redirect loop

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Daniel15
New Member
New Member
Posts: 6
Joined: Mon Apr 04, 2016 12:11 am
Location: Palo Alto, CA (originally Melbourne, Australia)

cmsms-2.1.2-install.php gets stuck in infinite redirect loop

Post by Daniel15 »

I'm trying to update a super-old CMSMS site from 1.9.4 to 2.1.2. I've managed to upgrade it to 1.12.1 with no issues. However, when I try to run the CMSMS 2.1.2 installer, it gets stuck in a redirect loop and keeps appending "/index.php" to the URL. It gets to something like "cmsms-2.1.2-install.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/" before the browser complains that the site redirected me too many times.

nginx 1.9.10, PHP 5.6.18 (pending upgrade to PHP 7 once I confirm CMSMS 2.1.2 works with it).
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: cmsms-2.1.2-install.php gets stuck in infinite redirect

Post by calguy1000 »

for nginx you probably want to use the expanded installer.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Daniel15
New Member
New Member
Posts: 6
Joined: Mon Apr 04, 2016 12:11 am
Location: Palo Alto, CA (originally Melbourne, Australia)

Re: cmsms-2.1.2-install.php gets stuck in infinite redirect

Post by Daniel15 »

Thanks, the expanded installer worked! At first I accidentally extracted the expanded installer to the existing CMSMS directory, which broke everything. Once I reverted to my backup and remembered to put the expanded installer in a separate directory, everything worked fine.

If the PHAR version doesn't support nginx properly, maybe it's worth showing a warning before getting stuck in the redirect loop (ie. detect if the environment is unsupported).
Locked

Return to “[locked] Installation, Setup and Upgrade”