I can't download any attachments. Doesn't matter how small they are. IE shows message page - page cannot be viewed, FF shows temporary file path on local drive and tells that original file (on server) couldn't be found.
error log shows message [10-May-2007 22:38:46] PHP Warning: preg_match() [
function.preg-match]: Empty regular expression in /home/platne/my_account/public_html/my_site/webmail/program/steps/mail/func.inc on line 1177
Mentioned above line and its neighbourhood look like this:
// resolve
// $base_reg = '/()/i';
if (preg_match($base_reg, $body, $regs))
{
$base_url = $regs[2];
$body = preg_replace('/(src|background|href)=(["\']?)([\.\/]+[^"\'\s]+)(\2|\s|>)/Uie', "'\\1=\"'.make_absolute_url('\\3', '$base_url').'\"'", $body);
$body = preg_replace('/(url\s*\()(["\']?)([\.\/]+[^"\'\)\s]+)(\2)\)/Uie', "'\\1\''.make_absolute_url('\\3', '$base_url').'\')'", $body);
$body = preg_replace($base_reg, '', $body);
}I've removed slashes from:
// $base_reg = '/()/i';and the only result I have is no error message in log file at all.
All (or almost all) other functions of RC are working ok!
I have RC 0.1 beta 2 running on Zeus Web Server (ZWS).
Any ideas?
Thanks in advance