I can login to roundcube just fine. I see my folders and messages.
When I double click on an e-mail the following shows up in the log file
and I get a blank page. I can however print an e-mail just fine. I am
running Mandriva Linux 10.1. PHP 4.3.8 and PCRE is enabled. Any help
would be appreciated.
Thanks,
Mat
[11-Mar-2006 23:10:46] PHP Parse error: parse error, unexpected
T_CONSTANT_ENCAPSED_STRING in
<snip>/webmail/program/include/main.inc(974) : regexp code on line 1
[11-Mar-2006 23:10:46] PHP Fatal error: 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
<snip>/webmail/program/include/main.inc on line 974
Mat -
I dont know what version you are running, I would suggest getting the latest and greatest.
Sounds like there might be a quote or some kind of typo on that regex line on line 974.
This is my line 974: $output = preg_replace('/roundcube:([-_a-z]+)\s+([^]+)>/Uie', "rcube_xml_command('\1', '\2')", $input);
you might try commenting out what you have in there, replacing it with this one and seeing what happens.
-peter
Mat Murdock wrote:
I can login to roundcube just fine. I see my folders and messages.
When I double click on an e-mail the following shows up in the log file and I get a blank page. I can however print an e-mail just fine. I am running Mandriva Linux 10.1. PHP 4.3.8 and PCRE is enabled. Any help would be appreciated.Thanks,
Mat
[11-Mar-2006 23:10:46] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in <snip>/webmail/program/include/main.inc(974) : regexp code on line 1 [11-Mar-2006 23:10:46] PHP Fatal error: 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
<snip>/webmail/program/include/main.inc on line 974
I'm sorry, I forgot to mention my version. I am running the .1 beta that is currently on the website.
Mat
Peter Stickney wrote:
Mat -
I dont know what version you are running, I would suggest getting the latest and greatest.
Sounds like there might be a quote or some kind of typo on that regex line on line 974.
This is my line 974: $output = preg_replace('/roundcube:([-_a-z]+)\s+([^]+)>/Uie', "rcube_xml_command('\1', '\2')", $input);
you might try commenting out what you have in there, replacing it with this one and seeing what happens.
-peter
Mat Murdock wrote:
I can login to roundcube just fine. I see my folders and messages.
When I double click on an e-mail the following shows up in the log file and I get a blank page. I can however print an e-mail just fine. I am running Mandriva Linux 10.1. PHP 4.3.8 and PCRE is enabled. Any help would be appreciated.Thanks,
Mat
[11-Mar-2006 23:10:46] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in <snip>/webmail/program/include/main.inc(974) : regexp code on line 1 [11-Mar-2006 23:10:46] PHP Fatal error: 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
<snip>/webmail/program/include/main.inc on line 974