Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Bullcat on April 18, 2009, 06:22:09 AM

Title: Parse error.
Post by: Bullcat 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
Title: Parse error.
Post by: jpgrace on April 18, 2009, 10:40:54 AM
When does this happen for you?
Title: Parse error.
Post by: Bullcat on April 18, 2009, 12:30:55 PM
Right when i start roundcube, for example http://domain.ltd/roundcube

Hans
Title: Parse error.
Post by: jpgrace 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.
Title: Parse error.
Post by: Bullcat 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
Title: Parse error.
Post by: rosali 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
();
?>

Title: Parse error.
Post by: Bullcat 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