Too Many Redirects when trying to upgrade

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am
Location: Georgia

Too Many Redirects when trying to upgrade

Post by michaywood »

I have two CMSMS sites on this specific host (Bluehost). One is on 2.2.15 and the other is older. However, in both cases when I go to https://mycmsmssite.com/cmsms-2.2.16-install.php , it always returns a "too many redirects" and the url changes https://mycmsmssite.com/cmsms-2.2.16-in ... /index.php . Is there a simple setting I'm missing in the install process? OR is it something in my .htaccess or PHP.ini that is causing this to happen?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Too Many Redirects when trying to upgrade

Post by DIGI3 »

It could be an issue with phar on the host. Try using the expanded installer - making sure to read the readme first as it functions a bit differently (mostly just that it's in a subfolder, so you'll have to choose your site's root folder at the start).

Other things to try, if needed:
-temporarily disable opcache in your php config
-temporarily renaming the .htaccess file

Whenever trying a new change or workaround, it's best to do it in a clean browser session (private/incognito mode is great for this, being sure to close down any other private browsing sessions first before starting a new one)
Not getting the answer you need? CMSMS support options
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am
Location: Georgia

[SOLVED] Re: Too Many Redirects when trying to upgrade

Post by michaywood »

Thanks @DIGI3 ! Removing htaccess didn't do the trick, but using the expanded installer I was able to update from 2.2.15 to .16 successfully!

In looking at the PHP INI file it lists the below things for Phar, so I'll see about working with my host to simplify the update process in the future.

Code: Select all

[Phar]
; http://php.net/phar.readonly
;phar.readonly = On

; http://php.net/phar.require-hash
;phar.require_hash = On

;phar.cache_list =
jce76350
Beta Tester
Beta Tester
Posts: 2033
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Too Many Redirects when trying to upgrade

Post by jce76350 »

michaywood wrote: Thu Nov 10, 2022 2:52 pm

Code: Select all

[Phar]
; http://php.net/phar.readonly
;phar.readonly = On
@ michaywood Just add

Code: Select all

phar.readonly = Off
Jean-Claude Etiemble
Post Reply

Return to “CMSMS Core”