Roundcube Community Forum

 

SVN 1532 - error in main.inc

Started by Florianer, June 18, 2008, 03:54:53 AM

Previous topic - Next topic

Florianer

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...
it\'s not a bug - it\'s a feature


mvsn

fresh install, receiving the same error.. nothing modified (except configuration files)...

mvsn

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.

Florianer

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 ^^
it\'s not a bug - it\'s a feature