Roundcube Community Forum

 

T_CONSTANT_ENCAPSED_STRING

Started by mark.kns, August 19, 2006, 06:00:15 PM

Previous topic - Next topic

mark.kns

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!

mark.kns

Ah...

And I have this in line 1140:

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

Thanks!!!!

jonram

Try setting all the magic_quotes bits in /etc/php.ini to Off. That did it for me.