Roundcube Community Forum

Release Support => Pending Issues => Topic started by: tomchance on September 30, 2008, 04:09:19 AM

Title: Error in includes/main.inc on install?
Post by: tomchance on September 30, 2008, 04:09:19 AM
Hello,
 
I've tried to upgrade from version 0.1-stable to 0.2-beta and get this error:
 
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/roundcubemail/program/include/main.inc on line 74
 
I've tried with clean config files except a valid db line and I still get it. Any help would be much appreciated!
Title: Error in includes/main.inc on install?
Post by: rosali on September 30, 2008, 04:20:02 AM

$opt = rcmail::get_instance()->config->get($config_key);


This line? If so, I assume you don't have PHP 5.2. (Howto_Requirements ? RoundCube Webmail ? Trac (http://trac.roundcube.net/wiki/Howto_Requirements))
Title: Error in includes/main.inc on install?
Post by: tomchance on September 30, 2008, 10:37:13 AM
Hi, thanks, I've upgraded my server and that did the trick.