Hi, the site I've built has uploaded correctly however when I go to admin in order to change some content, the following errors are dislplayed at the top of content->pages:
Warning: fopen(/home/nas04l/s/safesurgerysystems.com/user/htdocs/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/nas04l/s/safesurgerysystems.com/user/htdocs/lib/classes/class.contentoperations.inc.php on line 557
Warning: fwrite(): supplied argument is not a valid stream resource in /home/nas04l/s/safesurgerysystems.com/user/htdocs/lib/classes/class.contentoperations.inc.php on line 558
Warning: fclose(): supplied argument is not a valid stream resource in /home/nas04l/s/safesurgerysystems.com/user/htdocs/lib/classes/class.contentoperations.inc.php on line 559
Could anyone help? Do I have to change permissions to certain files?
Many thanks,
Tom
Error on the content->pages, please help!!!!
Re: Error on the content->pages, please help!!!!
Hi
Are the permissions correct? Are you the owner?? (wwwrun?)
Greez
Rangi
Are the permissions correct? Are you the owner?? (wwwrun?)
Greez
Rangi
"Mir ist bewusst, dass einige ihr ganzes Leben nix anderes gemacht haben,
als gebückt mit Stock oder Stein etwas in die Erde zu scharren..."
als gebückt mit Stock oder Stein etwas in die Erde zu scharren..."
Re: Error on the content->pages, please help!!!!
I get exactly the same problem. I have set all the correct permissions too...
Re: Error on the content->pages, please help!!!!
Does anyone have a solution for this?
Re: Error on the content->pages, please help!!!!
Have you checked the folder permissions with your FTP client?...
The permissions it may be talking about have to do with server and not in the admin area, as in group permissions...
The permissions it may be talking about have to do with server and not in the admin area, as in group permissions...
Re: Error on the content->pages, please help!!!!
One thing that worked for me in this rather typical case:
Download FileZilla 3 beta (2 does not have the necessary feature)
Connect to your website FTP with Filezilla, right-click the folder that contains cmsms -> change attributes
Set attributes to 755, activate "include subfolders" and at the bottom select "only folders". Start.
Do it again, this time set attributes to 644, activate "include subfolders", at the bottom select "only files". Start.
Make sure you reset the permissions of certain files and folders as mentioned in the installation guide. (should be config.php to 444, modules, uploads, tmp/cache and tmp/templates_c to 777) Only change the folders, not the subfolders.
Now all files and folders should be publicly readable.
WARNING: I am fairly new at all this an would need confirmation that this course of action is really safe. Can anyone tell me if that opens a security hole?
If that still does not work try to set ownership of your whole cmsms installation (all files and folders) to your user name. If you have access to the server itself, the chown command would be the way to go. If not, maybe your provider has a tool in your website admin section. If that is not the case, contact your provider and ask them to do the change for you.
Again, this course of action worked for me, but I still need confirmation on the security issue.
Download FileZilla 3 beta (2 does not have the necessary feature)
Connect to your website FTP with Filezilla, right-click the folder that contains cmsms -> change attributes
Set attributes to 755, activate "include subfolders" and at the bottom select "only folders". Start.
Do it again, this time set attributes to 644, activate "include subfolders", at the bottom select "only files". Start.
Make sure you reset the permissions of certain files and folders as mentioned in the installation guide. (should be config.php to 444, modules, uploads, tmp/cache and tmp/templates_c to 777) Only change the folders, not the subfolders.
Now all files and folders should be publicly readable.
WARNING: I am fairly new at all this an would need confirmation that this course of action is really safe. Can anyone tell me if that opens a security hole?
If that still does not work try to set ownership of your whole cmsms installation (all files and folders) to your user name. If you have access to the server itself, the chown command would be the way to go. If not, maybe your provider has a tool in your website admin section. If that is not the case, contact your provider and ask them to do the change for you.
Again, this course of action worked for me, but I still need confirmation on the security issue.
Re: Error on the content->pages, please help!!!!
We had the same problem as this, and it transpired we deactivated some of our content before it started happening.
The issue was it was happening in the Admin pages as well so we couldn't reactivate it. Deleting the deactivate content made it work quite happily again.
I dare say if this was a live site as opposed to a site in construction we would have been quite upset, so not really a fix but I hope it helps!
The issue was it was happening in the Admin pages as well so we couldn't reactivate it. Deleting the deactivate content made it work quite happily again.
I dare say if this was a live site as opposed to a site in construction we would have been quite upset, so not really a fix but I hope it helps!