Roundcube Community Forum

 

RoundCube Upgrade to 1.24 - ERROR

Started by ritchie, March 24, 2017, 08:55:28 AM

Previous topic - Next topic

ritchie

roundcube upgrade to 1.24 - FAIL (updated performed from within Sofaculous)
SERVER RUNNING:

Apache Version    2.2.31
PHP Version    5.6.30
MySQL Version    5.5.51-38.2
Architecture    x86_64
Operating System    linux

ERROR log location:  /roundcube/error_log

LOG

[24-Mar-2017 07:55:25] PHP Parse error:  syntax error, unexpected ':' in /home/ACCOUNT/public_html/DOMAIN.com/roundcube/index.php on line 161
[24-Mar-2017 07:55:36] PHP Parse error:  syntax error, unexpected ':' in /home/ACCOUNT/public_html/DOMAIN.com/roundcube/index.php on line 161
[24-Mar-2017 07:57:04] PHP Parse error:  syntax error, unexpected ':' in /home/ACCOUNT/public_html/DOMAIN.com/roundcube/index.php on line 161
[24-Mar-2017 08:00:41] PHP Parse error:  syntax error, unexpected ':' in /home/ACCOUNT/public_html/DOMAIN.com/roundcube/index.php on line 161

note: while going to the main URL:  http://domain.com/roundcube , a blank page appears.
BACKUP was performed before upgrade.


index.php (original)
LINE: 161 

$error_message = !empty($auth['error']) && !is_numeric($auth['error']) ? $auth['error'] : ($error_labels[$error_code] ?: 'loginfailed');

rm13

Looks like a bug in Softaculous. No syntax error on that line that I see.

ritchie

Since I'm stuck here with no roundcube, what is my options?

Can I roll back to previous version? IF so how?  I did a backup.

JohnDoh

Are you sure that Roundcube is running under PHP 5.6? I ask because that error, about the ternary operator is something you can get with PHP <5.3
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

ritchie



I have one domain on a shared host that I have to run PHP 5.2.17

Their is a particular script that will not run on any PHP later than this version.

I instructed the hosting provider to only run this version on this domain because of that particular script has not yet been
updated to run on the latest version of PHP and MYSql.  (PHP Motion).

So I probably need to upgrade PHP for the domain that I'm running roundcube in so that it will function.

What is the latest version of PHP that "roundcube" will run under, I guess is my last question?

JohnDoh

the current stable version of roundcube has a php minimum version requirement of 5.4

maximum version of php is harder to answer. I think support for php7 was added in 1.2
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

ritchie

Got it to work.  The latest version of Round Cube which as of this date is:  1.2.4, does not work on PHP version 5.2.X
I changed the PHP server to version PHP 5.4 and Boom! Pow! Bang! ---------- IT works!!! :)
8) 8) 8) 8) 8) 8) 8) 8)