Page 1 of 1

Errors after moving to new server

Posted: Sun Dec 30, 2007 11:54 pm
by sweaverit
Hosting company recently moved us to a new server and now this error appears at the top of every page.  Has anyone else had this issue?

Warning: fopen(/home/arpasto/public_html/extranet/tmp/cache/contentcache.php) [function.fopen]: failed to open stream: Permission denied in /home/arpasto/public_html/extranet/lib/classes/class.contentoperations.inc.php on line 549

Warning: fwrite(): supplied argument is not a valid stream resource in /home/arpasto/public_html/extranet/lib/classes/class.contentoperations.inc.php on line 550

Warning: fclose(): supplied argument is not a valid stream resource in /home/arpasto/public_html/extranet/lib/classes/class.contentoperations.inc.php on line 551

Also, in the News module, it's returning the following error:

Warning: Parameter feu_input_username is not known... dropped in /home/arpasto/public_html/extranet/lib/misc.functions.php on line 1281

Warning: Parameter feu_input_password is not known... dropped in /home/arpasto/public_html/extranet/lib/misc.functions.php on line 1281

Warning: Parameter feu_btn_login is not known... dropped in /home/arpasto/public_html/extranet/lib/misc.functions.php on line 1281

Re: Errors after moving to new server

Posted: Mon Dec 31, 2007 12:46 am
by cubix
check your permissions and clear your cache.

use the wiki or the search box. theres lots of information on how to do this.

just a note for next time. try searching before asking.

Re: Errors after moving to new server

Posted: Mon Dec 31, 2007 6:13 pm
by sweaverit
I used the search box.  All I knew to search for was errors after moving to new server. Didn't find anything useful there.

Re: Errors after moving to new server

Posted: Mon Dec 31, 2007 11:55 pm
by cubix
site admin > global settings > clear cache

and from the wiki...

Step 4

For the script to access the folder properly, you need to change permissions of the following files and directories on the server. CHMOD these to 777 (Note: 777 has pontential security risks and may allow hackers to upload files to these directories to run phishing sites etc. If security of your web site is important, set it these folders to CHMOD 775 or tighter.):

    * tmp
    * tmp/templates_c
    * tmp/cache
    * uploads
    * uploads/images
    * modules


CHMOD?!? Well, in most cases you can alter the permissions by right-clicking in your FTP program on the directory or file in question, selecting CHMOD or File Attributes (or something similar) and enter 777 in the appropriate field. Otherwise, check the manual of your FTP program.

Re: Errors after moving to new server

Posted: Wed Jan 02, 2008 7:02 pm
by Pierre M.
Hello,
sweaverit wrote: Hosting company recently moved us to a new server...
I agree searching for "moving" on the wiki isn't helpfull today. I don't know why.
But it is still easy to learn about moving in the documentation :
http://wiki.cmsmadesimple.org/index.php ... New_Server
Have you seen this : "4. edit config.php to match the new server".

If you want to debug your issue, please provide more information : hosting, setup, settings, versions, debug ON...
Alternatively, you can rerun the install wizzard in the new environnement without creating the database objects to keep your data. Obviously backup before.

Pierre M.