Author Topic: Parse error.  (Read 2520 times)

Offline Bullcat

  • Newbie
  • *
  • Posts: 4
Parse error.
« on: April 18, 2009, 06:22:09 AM »
I read all the error's about this and try the solutions here, but i still get this error:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/html/roundcubemail-0.2.1/program/include/main.inc on line 74

i install with Directadmin "custombuild"  

Apache version 2.2.8 , PHP 5.2.6.

somebody with a solution about this ?

Regards
Hans

Offline jpgrace

  • Jr. Member
  • **
  • Posts: 10
Parse error.
« Reply #1 on: April 18, 2009, 10:40:54 AM »
When does this happen for you?

Offline Bullcat

  • Newbie
  • *
  • Posts: 4
Parse error.
« Reply #2 on: April 18, 2009, 12:30:55 PM »
Right when i start roundcube, for example http://domain.ltd/roundcube

Hans

Offline jpgrace

  • Jr. Member
  • **
  • Posts: 10
Parse error.
« Reply #3 on: April 18, 2009, 02:25:46 PM »
It takes me to a Road Runner page.  It seems like it might be a DNS issue.  Did you just setup this server?  I'll check back later.

Offline Bullcat

  • Newbie
  • *
  • Posts: 4
Parse error.
« Reply #4 on: April 18, 2009, 02:33:27 PM »
the right link is here http://93.174.95.21/roundcube/

there you also see the error.

Hans

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Parse error.
« Reply #5 on: April 19, 2009, 12:52:30 AM »
Error Line: $opt = rcmail::get_instance()->config->get($config_key);

I'm wondering if you are really on PHP 5.x, because the Scope Resolution Operator (::)
was introduced in PHP 5. It results in a syntax error in older PHP versions.

Run a phpinfo() in the RoundCube Folder:

test.php
Code: [Select]

<?php
phpinfo
();
?>

Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Bullcat

  • Newbie
  • *
  • Posts: 4
Parse error.
« Reply #6 on: April 19, 2009, 02:32:15 AM »
You right, i mees up two servers, take a look at one, and try to fix on a other :o

I now updating this server to php 5.2.9 , and i think this error is fixed, sorry voor my stupid question here :-X

Hans