Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Carrot Cruncher on October 10, 2011, 06:15:08 AM

Title: reoccurring error after upgrading to 0.6
Post by: Carrot Cruncher on October 10, 2011, 06:15:08 AM
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.
Title: reoccurring error after upgrading to 0.6
Post by: Carrot Cruncher on October 10, 2011, 09:48:52 AM
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.
Title: reoccurring error after upgrading to 0.6
Post by: Carrot Cruncher on October 13, 2011, 04:10:33 PM
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.
Title: reoccurring error after upgrading to 0.6
Post by: alec on October 14, 2011, 02:40:45 AM
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.