Author Topic: T_CONSTANT_ENCAPSED_STRING  (Read 3985 times)

Offline mark.kns

  • Newbie
  • *
  • Posts: 2
T_CONSTANT_ENCAPSED_STRING
« 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!

Offline mark.kns

  • Newbie
  • *
  • Posts: 2
Re: T_CONSTANT_ENCAPSED_STRING
« Reply #1 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!!!!

Offline jonram

  • Newbie
  • *
  • Posts: 2
Re: T_CONSTANT_ENCAPSED_STRING
« Reply #2 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.