Roundcube Community Forum

Release Support => Pending Issues => Topic started by: mark.kns on August 19, 2006, 06:00:15 PM

Title: T_CONSTANT_ENCAPSED_STRING
Post by: mark.kns on August 19, 2006, 06:00:15 PM
Hello Everybody!

This is the second time that I tried to install the Roundcube in my server but, I have the same problem.

Every time that I tried to open a Email, the system give me this error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/xxx/round/program/include/main.inc(1140) : regexp code on line 1

Fatal error: preg_replace(): Failed evaluating code: rcube_xml_command('object', 'name="mailboxlist" type="select" noSelection="moveto" maxlength="25" onchange="rcmail.command(''moveto'', this.options[this.selectedIndex].value)" class="mboxlist" /') in /var/www/xxx/round/program/include/main.inc on line 1140



I have install Debian Sarge with Cyrus.

Can anyone help me?

Thanks!
Title: Re: T_CONSTANT_ENCAPSED_STRING
Post by: mark.kns on August 19, 2006, 07:20:11 PM
Ah...

And I have this in line 1140:

$output = preg_replace('/]+)>/Uie', "rcube_xml_command('\\1', '\\2')", $input);

Thanks!!!!
Title: Re: T_CONSTANT_ENCAPSED_STRING
Post by: jonram on August 31, 2006, 03:57:44 PM
Try setting all the magic_quotes bits in /etc/php.ini to Off. That did it for me.