Does this mean I'm hacked?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
terimurphy
Forum Members
Forum Members
Posts: 41
Joined: Sat Nov 26, 2005 1:15 am

Does this mean I'm hacked?

Post 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?
alby

Re: Does this mean I'm hacked?

Post 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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Does this mean I'm hacked?

Post 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
196

Re: Does this mean I'm hacked?

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Does this mean I'm hacked?

Post by Dr.CSS »

CMS Made Simple ver. 1.0.4 even if you aren't hacked you need to upgrade ASAP...
Post Reply

Return to “CMSMS Core”