Page error when moving to new webhotel

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
kimb
Forum Members
Forum Members
Posts: 19
Joined: Tue Oct 31, 2006 9:00 pm

Page error when moving to new webhotel

Post by kimb »

Hi.

After moving my site to a new webhotel, I get an error on top of the page

Warning: fopen(/usr/home/web/web90452/tmp/cache/contentcache.php): failed to open stream: Permission denied in /usr/home/web/web90452/lib/classes/class.contentoperations.inc.php on line 557

Warning: fwrite(): supplied argument is not a valid stream resource in /usr/home/web/web90452/lib/classes/class.contentoperations.inc.php on line 558

Warning: fclose(): supplied argument is not a valid stream resource in /usr/home/web/web90452/lib/classes/class.contentoperations.inc.php on line 559

How can I fix this?

I´m using the following versions:

Apache1.3.36
MySQL 5.0.21
PHP 4.4.2
CMSMS 1.0.5

Installation specs on new server can be found here http://web20.talkactive.net/phpinfo.php.

The site is here www.helsingorpigegarde.dk

The original site canbe found here www.kbfoto.dk

Installation specs on old webhotel can be found here http://www.kbfoto.dk/test.php.

WHen moving the site I first exported and then imported the database to the new site. After that i copied the files from the old site to the new one. I then changed the proper values in config.php. The file attributes in /tmp/cache and /tmp/templates_c was changed to 777.

What to do?
Last edited by kimb on Fri Apr 20, 2007 10:05 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Page error when moving to new webhotel

Post by calguy1000 »

delete your tmp/cache and tmp/templates_c directories and all their contents.  Then re-create these directories and set their permissions to 777.  You probably copied the tmp directories when you did the install... this directory should be skipped when transferring from one site to another (or the cache cleared before moving).

Safe mode is also enabled on your current servers, so that my cause problems.
Last edited by calguy1000 on Fri Apr 20, 2007 11:11 pm, edited 1 time in total.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
kimb
Forum Members
Forum Members
Posts: 19
Joined: Tue Oct 31, 2006 9:00 pm

Re: Page error when moving to new webhotel

Post by kimb »

It worked like a charm.

Thanks a lot.
Locked

Return to “[locked] Installation, Setup and Upgrade”