Forums

[resolved] Moved to new server and can't use the site properly (3 posts)

  1. bragur
    Member
    Posted 2 years ago #

    I just moved a site to a new server and I can't edit my theme because it says:

    You need to make this file writable before you can save your changes. See the Codex for more information.

    So I went on and applied 775 to wp-content and all subs, but that didn't do anything.

    Also, when I try to install a new plugin, WordPress wil ask me for ftp details and then when I try to login it gives me this:

    Downloading install package from http://downloads.wordpress.org/plugin/who-is-online.zip.

    Warning: touch(): SAFE MODE Restriction in effect. The script whose uid/gid is 161989/161989 is not allowed to access /tmp owned by uid/gid 0/0 in /hsphere/local/home/thomasso/solo/wp-admin/includes/file.php on line 184
    Download failed. Could not create Temporary file

    I noticed the new server is running php4 - is that perhaps the underlying problem?

  2. PHP4 might be a problem, but also safe-mode.

    For the wp-content issue, try 777 (I know, I know, but SOME hosts are annoying this way).

    As for the downloading... Contact your host and show them the error. Tell them 'I'm trying to install a new plugin via WordPress, which downloads from wordpress.com. I'm getting this error <error>. Can you change settings so I can create temp files for this?'

    Also, some people have experienced success adding this into their wp-config.php file:
    define('WP_TEMP_DIR', ABSPATH.'tmp/');

    I've never tried it myself.

  3. bragur
    Member
    Posted 2 years ago #

    Wellwellwell, seems that 777 did the trick. I thought that would be an absolute no no. I'll try and contact the host to see what they say about this. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic