Roundcube Community Forum

 

reoccurring error after upgrading to 0.6

Started by Carrot Cruncher, October 10, 2011, 06:15:08 AM

Previous topic - Next topic

Carrot Cruncher

hi. i upgraded one of my rc installations to 0.6 the other day. all worked fine until the next day when accessing the site returned :
Fatal error: Class 'rcmail' not found in /var/www/vhosts/subdomains/webmail-test/httpdocs/index.php on line 34
i re-uploaded the 0.6 files from the tar ball and this appeared to fix the problem, everything was working fine all day yesterday. i've just gone to access the site today and it's returned the same error. i can't find anything in the app logs or server logs. does anyone know why this would work for a bit and then just keep failing ? cheers.

Carrot Cruncher

after investigating it turns out that the  :
program/include/rcmail.php
file keeps disappearing for some unknown reason. am following up with my hosting provider.

Carrot Cruncher

my hosting provider has confirmed why the file keeps disappearing, it is being picked up in a malware scan :

{CAV}Atomicorp.PHP.Suspicious.shell_exec.20110103163901 : /var/www/vhosts/subdomains/webmail-test/httpdocs/program/include/rcmail.php => /usr/local/maldetect/quarantine/rcmail.php.3835
{CAV}Atomicorp.PHP.Suspicious.shell_exec.20110103163901 :

no idea why.

alec

It is probably because we're using shell_exec() function, but we're using it also in other files. The scanner is paranoid, I don't think we'll remove this function usage.