Page 1 of 1

Does this mean I'm hacked?

Posted: Mon Oct 20, 2008 3:52 pm
by terimurphy
At architectbahamas.com/cmsms/index.php the top of each page of our cmsms page appears this code:

Code: Select all

Warning: fopen(/home/john/public_html/cmsms/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/john/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 515

Warning: fread(): supplied argument is not a valid stream resource in /home/john/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 516

Warning: fclose(): supplied argument is not a valid stream resource in /home/john/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 517

Warning: fopen(/home/john/public_html/cmsms/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/john/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 557

Warning: fwrite(): supplied argument is not a valid stream resource in /home/john/public_html/cmsms/lib/classes/class.contentoperations.inc.php on line 558
Warning: fclose(): supplied argument is not a valid stream resource in /home/john/public_html/cmsms/lib/classes/class.contentoperations.inc.php

Does this mean I'm hacked, and is it too late to upgrade?

Re: Does this mean I'm hacked?

Posted: Mon Oct 20, 2008 3:59 pm
by alby
terimurphy wrote: Does this mean I'm hacked, and is it too late to upgrade?
You don't write your cms version!!

Alby

Re: Does this mean I'm hacked?

Posted: Mon Oct 20, 2008 4:02 pm
by Dee
Looks more like a permission problem (the server can't write to /home/john/public_html/cmsms/tmp/cache/contentcache.php).

Regards,
D

Re: Does this mean I'm hacked?

Posted: Mon Oct 20, 2008 8:58 pm
by 196
"Permission denied"

Always check permissions. webserver user must be able to read and write.

You might try the shotgun approach - chmod 777 /home/john/public_html/cmsms/tmp/ then tighten the screws from there - chmod 755 /home/john/public_html/cmsms/tmp/ - chown apache:apache /home/john/public_html/cmsms/tmp/

repeat with /home/john/public_html/cmsms/lib/classes/

More interestingly, HOW did the problem get created? Is this a new install?

Re: Does this mean I'm hacked?

Posted: Tue Oct 21, 2008 4:42 am
by Dr.CSS
CMS Made Simple ver. 1.0.4 even if you aren't hacked you need to upgrade ASAP...