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?
Page error when moving to new webhotel
Page error when moving to new webhotel
Last edited by kimb on Fri Apr 20, 2007 10:05 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Page error when moving to new webhotel
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.
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.
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.
Re: Page error when moving to new webhotel
It worked like a charm.
Thanks a lot.
Thanks a lot.