Roundcube Community Forum

 

Parse error.

Started by Bullcat, April 18, 2009, 06:22:09 AM

Previous topic - Next topic

Bullcat

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

jpgrace

When does this happen for you?

Bullcat

Right when i start roundcube, for example http://domain.ltd/roundcube

Hans

jpgrace

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.

Bullcat

the right link is here http://93.174.95.21/roundcube/

there you also see the error.

Hans

rosali

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

<?php
phpinfo
();
?>

Regards,
Rosali

Bullcat

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