Page 1 of 1
Too Many Redirects when trying to upgrade
Posted: Wed Nov 09, 2022 4:32 pm
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?
Re: Too Many Redirects when trying to upgrade
Posted: Wed Nov 09, 2022 9:28 pm
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)
[SOLVED] Re: Too Many Redirects when trying to upgrade
Posted: Thu Nov 10, 2022 2:52 pm
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 =
Re: Too Many Redirects when trying to upgrade
Posted: Sat Nov 12, 2022 2:14 pm
by jce76350
michaywood wrote: ↑Thu Nov 10, 2022 2:52 pmCode: Select all
[Phar]
; http://php.net/phar.readonly
;phar.readonly = On
@ michaywood Just add