Hi,
After updating to CMSMS-1.4.1, im getting the following errors (see below). I've made sure the tmp, cache and templates_c set to chmod 777 -- any other ideas on how to fix this? Also, when I clear the cache on the global settings in admin, the errors disappear momentarily, but come back as soon as i refresh the page. Also someone told me i should try deleting php.cgi from the cgi-bin and delete the htaccess file, but when i went to try that i found out that my cgi-bin folder was empty. Could the problem have something to do with that? I'm completely clueless...
Thanks for the help!!
-c
Warning: fopen(/home/gdeluca/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/gdeluca/public_html/lib/classes/class.contentoperations.inc.php on line 514
Warning: fread(): supplied argument is not a valid stream resource in /home/gdeluca/public_html/lib/classes/class.contentoperations.inc.php on line 515
Warning: fclose(): supplied argument is not a valid stream resource in /home/gdeluca/public_html/lib/classes/class.contentoperations.inc.php on line 516
Warning: fopen(/home/gdeluca/public_html/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/gdeluca/public_html/lib/classes/class.contentoperations.inc.php on line 556
Warning: fwrite(): supplied argument is not a valid stream resource in /home/gdeluca/public_html/lib/classes/class.contentoperations.inc.php on line 557
Warning: fclose(): supplied argument is not a valid stream resource in /home/gdeluca/public_html/lib/classes/class.contentoperations.inc.php on line 558
string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
permission error and 'not a valid stream resource' ??
Re: permission error and 'not a valid stream resource' ??
It seems the webserver doesn't have read (and write) rights on the file /home/gdeluca/public_html/tmp/cache/contentcache.php
Try deleting the file tmp/cache/contentcache.php or setting looser permissions on it.
Regards,
D
Try deleting the file tmp/cache/contentcache.php or setting looser permissions on it.
Regards,
D
- FirstGateDreamer
- Forum Members
- Posts: 15
- Joined: Mon Nov 10, 2008 5:42 am
Re: permission error and 'not a valid stream resource' ??
I had the same problem and found this thread via search.Dee wrote:.. setting looser permissions on it...
My permissions were set to 644. I set them to 666 and this seems to work.
I really don't know that much (yet) about security though. Will this compromise anything?
Thanks
r.