Author Topic: SVN 1532 - error in main.inc  (Read 5588 times)

Offline Florianer

  • Full Member
  • ***
  • Posts: 102
SVN 1532 - error in main.inc
« 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...
it\'s not a bug - it\'s a feature


Offline mvsn

  • Newbie
  • *
  • Posts: 2
SVN 1532 - error in main.inc
« Reply #1 on: July 21, 2008, 05:04:49 AM »
fresh install, receiving the same error.. nothing modified (except configuration files)...

Offline mvsn

  • Newbie
  • *
  • Posts: 2
SVN 1532 - error in main.inc
« Reply #2 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.

Offline Florianer

  • Full Member
  • ***
  • Posts: 102
SVN 1532 - error in main.inc
« Reply #3 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 ^^
it\'s not a bug - it\'s a feature