CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

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
donorg
New Member
New Member
Posts: 7
Joined: Mon Jan 25, 2016 12:24 pm

CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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?
amoest
New Member
New Member
Posts: 6
Joined: Wed Apr 04, 2012 5:45 am

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post by amoest »

I have the same issue, and would very much like an answer.
donorg
New Member
New Member
Posts: 7
Joined: Mon Jan 25, 2016 12:24 pm

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post by donorg »

In addition:
I can give FTP info if someone wants to look into it, that is no problem for me.
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post by jce76350 »

Have you test the install with cmsms-2.1.1-install.expanded.zip ?
Jean-Claude Etiemble
donorg
New Member
New Member
Posts: 7
Joined: Mon Jan 25, 2016 12:24 pm

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post by velden »

donorg
New Member
New Member
Posts: 7
Joined: Mon Jan 25, 2016 12:24 pm

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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?
tristan
Dev Team Member
Dev Team Member
Posts: 374
Joined: Tue May 02, 2006 10:58 am
Location: The Netherlands

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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.
donorg
New Member
New Member
Posts: 7
Joined: Mon Jan 25, 2016 12:24 pm

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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.
donorg
New Member
New Member
Posts: 7
Joined: Mon Jan 25, 2016 12:24 pm

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CMSMS 2.0+ will not install (ERR_TOO_MANY_REDIRECTS)

Post 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.
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.
Locked

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