Hi,
I lately moved two CMSMS from one server to another. On both I get this error warning:
Warning: fopen(/home/hh/public_html/haus/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/hh/public_html/haus/lib/classes/class.contentoperations.inc.php on line 549
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hh/public_html/haus/lib/classes/class.contentoperations.inc.php on line 550
Warning: fclose(): supplied argument is not a valid stream resource in /home/hh/public_html/haus/lib/classes/class.contentoperations.inc.php on line 551
All folders are set to 755, all files to 644, umask is 022, the server uses some form of phpsuexec (but the first one did so too).
Any ideas?
Greetings
Kizil
[solved] Moved from server to server, now error
[solved] Moved from server to server, now error
Last edited by kizil on Thu Sep 27, 2007 9:01 am, edited 1 time in total.
Re: Moved from server to server, now error
Hi,
and as additional info, I also get permission-denied and Cannot modify header information - headers already sent errors when I try to add a folder in imagemanager.
Greetings
Kizil
and as additional info, I also get permission-denied and Cannot modify header information - headers already sent errors when I try to add a folder in imagemanager.
Greetings
Kizil
[solved] Moved from server to server, now error
Hi,
okay, solved this.
And to possibly help others:
- clear the cache of the global settings occasionally, it helps
- when the CMS was transferred from one host to another by CPanel backup the ownership of various folders was also transferred 1:1. The first host had different security settings than the second one (suexec), so while the folders were accessible even as non-owner (apache instead) on the first, the second host treated that more severely. The solution was to recreate all folders which need access from the admin panel on the new host. After that everything worked just fine.
Greetings
Kizil
okay, solved this.
And to possibly help others:
- clear the cache of the global settings occasionally, it helps

- when the CMS was transferred from one host to another by CPanel backup the ownership of various folders was also transferred 1:1. The first host had different security settings than the second one (suexec), so while the folders were accessible even as non-owner (apache instead) on the first, the second host treated that more severely. The solution was to recreate all folders which need access from the admin panel on the new host. After that everything worked just fine.
Greetings
Kizil
Re: [solved] Moved from server to server, now error
Thank you for reporting this solution.
Have fun with CMSms !
Pierre M.
Have fun with CMSms !
Pierre M.
-
- New Member
- Posts: 5
- Joined: Thu Jun 28, 2007 1:58 am
Re: [solved] Moved from server to server, now error
That solution worked for me! Thanks for the post. 
