Page 1 of 1
CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Mon Jan 25, 2016 3:31 pm
by donorg
I never had any problems installing the older versions of (super great) CMSMS. Now I would like to check out 2.0+ but I can't get it installed.
My problems looks like the problem in this thread:
http://forum.cmsmadesimple.org/viewtopi ... 84&t=73366
Apache ERRORLOG says:
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error.
When I start phar package I get: ERR_TOO_MANY_REDIRECTS in my browser.
When I install the expanded version I get a blanc page at Step 6. And the same error in the Apache ERRORLOG.
I've tried a lot:
- disable .htaccess in upper directory
- install on subdomain vs. main domain
- binary transfer
- installing all 2.0+ versions (phar & expanded) = all the same error
- php-logging = no result
- PHAR-test from the other post = won't work, I have phar.readonly=1
Phar info:
- phar.readonly = On
- phar.require_hash = On
Extra info:
- PHP Version = 5.5.31
- Server API = litespeed
- Server Software = Apache
- PHP Info =
http://cms2.donausoft.nl/phpinfo.php
You can try the installers:
http://cms2.donausoft.nl/cmsms-2.0.1.1-install.php
http://cms2.donausoft.nl/cmsms-2.0.1.1-install/
I don't know what to do next, can somebody help me?
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Tue Jan 26, 2016 1:47 pm
by amoest
I have the same issue, and would very much like an answer.
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Tue Jan 26, 2016 1:51 pm
by donorg
In addition:
I can give FTP info if someone wants to look into it, that is no problem for me.
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Tue Jan 26, 2016 3:12 pm
by jce76350
Have you test the install with cmsms-2.1.1-install.expanded.zip ?
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Tue Jan 26, 2016 3:35 pm
by donorg
jce76350 wrote:Have you test the install with cmsms-2.1.1-install.expanded.zip ?
Yes, I tried all 2+ versions. All expanded versions halts on step 6.
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Tue Jan 26, 2016 3:43 pm
by velden
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Thu Jan 28, 2016 11:36 am
by donorg
Thanks for your response. It seems I'm not the only one with this problem. Phar is kind a neat, but if it has implementation issues (say: won't work) on several shared hosting servers that is bad news.
See following PHP Bug for fpm-cgi:
-
https://bugs.php.net/bug.php?id=67587
-
https://github.com/php/php-src/pull/712/files
Could this be the same problem for litespeed?
Just yesterday someone reported the following Bug:
-
https://bugs.php.net/bug.php?id=71465
Is there someone that succeeded installing CMSMS 2+ on litespeed SAPI?
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Tue Apr 05, 2016 11:55 am
by tristan
Just a reply for the archives probably, had the same problem on a 1&1 hosting setup:
Code: Select all
Php Information:
phpversion: 5.6.19
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22517
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 120M
max_execution_time: 50000
register_globals: Off (False)
output_buffering: 0
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 40M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux On Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.73
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Code: Select all
phpinfo() phar:
Phar: PHP Archive support enabled
Phar EXT version 2.0.2
Phar API version 1.1.1
SVN revision $Id: 02776458f3b53f9c4694356ef19e77b32d03ecd3 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression enabled
Native OpenSSL support enabled
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive Local Value Master Value
phar.cache_list no value no value
phar.readonly On On
phar.require_hash On On
Expanded install from separate folder works fine.
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Wed May 25, 2016 8:30 pm
by donorg
@Tristan
Good for you, but my Server API "litespeed" is different from yours and will still give problems, even on Expanded install.
This is because of a PHP bug. I now see this is even mentioned in README-PHAR.TXT:
Q: I Get a redirection loop, what can I do?
A: Some hosting environments (nginx, and litespeed) particularly can cause redirection loops when executing even the simplest of phar archives. This is due to one or more bugs in php. Specifically:
https://bugs.php.net/bug.php?id=71465 and
https://bugs.php.net/bug.php?id=67587 (though more may exist). For these environments we recommend that you use the expanded installer. Be sure you read it's README file in it's entirety.
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Wed May 25, 2016 8:49 pm
by donorg
Just today I found a solution/workaround for this problem, hooray!
Hopefully this can be of help for someone who also has problems installing CMSMS 2+ on a server with Litespeed Server API.
This is what I've done:
1. Set PHP to version 7.0
This is possible in my (and hopefully your) shared hosting.
In DirectAdmin go to "Select PHP version", choose 7.0 and click [Set as current].
In my DirectAdmin I can also turn on/off all sorts of extensions. If possible make sure "phar" is checked.
2. Install CMSMS 2.1.3 Expanded
Use the expanded package "cmsms-2.1.3-install.expanded.zip" and run it from a sub-directory "/cmsms_install" on your server, as described in the README.TXT.
3. Set PHP back to native version
Afterwards I changed the PHP version back to what it was ("native").
This is not needed, but in my case it did work without any problem.
Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)
Posted: Thu May 26, 2016 5:49 pm
by calguy1000
This is probably related to different addons and/or configuration for your hosts PHP7 environment vs. other environments. You would have to compare the php_info() of both versions to see what may be effecting it.
BTW. CMSMS 2.1.3 works fine in PHP7. Though some third party modules may throw warnings/notices they can still work too.