Roundcube Community Forum

SVN Releases => Issues & Bugs => Topic started by: Florianer on June 18, 2008, 03:54:53 AM

Title: SVN 1532 - error in main.inc
Post by: Florianer on June 18, 2008, 03:54:53 AM
Hi,
I am expecting a little problem: I have SVN 1532 now for... 5 days running. Without any problem. Now, I tried to log in, I get the following error:
"Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /rc_svn_1532/program/include/main.inc on line 74"
Looking inside line 74:   $opt = rcmail::get_instance()->config->get($config_key);

I did not alter anything. Reload also did not solve it... Next, I try to clear cache and restart FireFox...
Title: SVN 1532 - error in main.inc
Post by: mvsn on July 21, 2008, 05:04:49 AM
fresh install, receiving the same error.. nothing modified (except configuration files)...
Title: SVN 1532 - error in main.inc
Post by: mvsn on July 21, 2008, 05:14:56 AM
Figured it out... its a PHP version issue. I guess by default PHP4 is used, but if you have 5, add AddType x-mapp-php5 .php to your .httaccess file and voila.
Title: SVN 1532 - error in main.inc
Post by: Florianer on July 21, 2008, 06:49:23 AM
ahh... nice to know. AFAIK my hoster supports both, php4 & 5, but I have to set php5 as default... which I did not, because every SVN installation I create, is in a new folder... I'll try it later... better, I upgrade to the last SVN ^^