[solved] Moved from server to server, now error

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.
Locked
kizil

[solved] Moved from server to server, now error

Post by kizil »

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
Last edited by kizil on Thu Sep 27, 2007 9:01 am, edited 1 time in total.
kizil

Re: Moved from server to server, now error

Post by kizil »

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
kizil

[solved] Moved from server to server, now error

Post by kizil »

Hi,

okay, solved this.

And to possibly help others:

- clear the cache of the global settings occasionally, it helps  ;D

- 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
Pierre M.

Re: [solved] Moved from server to server, now error

Post by Pierre M. »

Thank you for reporting this solution.
Have fun with CMSms !

Pierre M.
devonwilliamson
New Member
New Member
Posts: 5
Joined: Thu Jun 28, 2007 1:58 am

Re: [solved] Moved from server to server, now error

Post by devonwilliamson »

That solution worked for me! Thanks for the post. ;D
Locked

Return to “CMSMS Core”