Recent Topics

5.0.5 stable redirect problem

Started by on Sep 11, 2013 – Contents updated: Sep 13, 2013

Sep 11, 2013 11:01    

We attempted to install 5.0.5 with no luck. Any attempt to go to admin.php or click any link on the front page for the sample blogs resulted in a message that there were too many redirects. We tracked this down to /inc/ line 70. We changed the clause $_SERVER['HTTPS'] != 'off'" to "$_SERVER['HTTPS'] != NULL. This has allowed us to get in and start to explore the package.

The comments associated with this code indicate this has to do with IIS. We are using nginx under Debian. Our php version is PHP Version 5.4.4-14+deb7u3. Here is the full display from your installer:

System Linux gd21 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64
Build Date Jul 17 2013 14:53:31
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/fpm
Loaded Configuration File /etc/php5/fpm/php.ini
Scan this dir for additional .ini files /etc/php5/fpm/conf.d
Additional .ini files parsed /etc/php5/fpm/conf.d/10-pdo.ini, /etc/php5/fpm/conf.d/20-curl.ini, /etc/php5/fpm/conf.d/20-gd.ini, /etc/php5/fpm/conf.d/20-imap.ini, /etc/php5/fpm/conf.d/20-intl.ini, /etc/php5/fpm/conf.d/20-ldap.ini, /etc/php5/fpm/conf.d/20-mcrypt.ini, /etc/php5/fpm/conf.d/20-mysql.ini, /etc/php5/fpm/conf.d/20-mysqli.ini, /etc/php5/fpm/conf.d/20-odbc.ini, /etc/php5/fpm/conf.d/20-pdo_mysql.ini, /etc/php5/fpm/conf.d/20-pdo_odbc.ini, /etc/php5/fpm/conf.d/20-pdo_pgsql.ini, /etc/php5/fpm/conf.d/20-pdo_sqlite.ini, /etc/php5/fpm/conf.d/20-pgsql.ini, /etc/php5/fpm/conf.d/20-sqlite3.ini, /etc/php5/fpm/conf.d/imagick.ini
PHP API 20100412
PHP Extension 20100525
Zend Extension 220100525
Zend Extension Build API220100525,NTS
PHP Extension Build API20100525,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*

Has anyone else seen this problem and is this a good fix? I am not competent enough to get into your CVS and make a fix of any kind. I suggest someone who capable of supporting the code base should look at making a better fix.

Sep 11, 2013 12:23

Hi smyt! May I know what steps you took to install 5.0.5?

Sep 11, 2013 14:10

Sure. I used the standard instructions at b2evolution/doc/install_new.html from the download.
1. Downloaded the .zip file
2. Unzipped with 7-Zip
3. FTPed the blogs folder to the desired location
4. Changed write permissions for /cache and /conf folders to 777
5. Ran the install/index.php job and selected the new option. This was not an upgrade task, although, I will have that coming up to upgrade an old 4.0.5 setup.

Not sure if that helps. I still have the page available that b2evolution displays as it installs itself. I can send that via email or post it, if you wish. If there is anything else that I can do, please let me know. If it comes to it, I could do a test install so that you can see this in action.

Sep 13, 2013 06:25

What's your site URL ? And what is the $baseurl in your main config file?

Sep 13, 2013 22:14

Thanks for your response.

Site URL -
$baseurl - $baseurl = '';

Since we already did a workaround, as indicated above, you won't see any sign of the problem. I will be glad to help, in any way.

Form is loading...

Bootstrap CMS – This forum is powered by b2evolution CMS, a complete engine for your website.