[Solved] Wordpress Error: “open_basedir restriction in effect”

Notes Add comments

Keep getting this error on Supanames hosted websites:

Warning: touch() [function.touch]: open_basedir restriction in effect. File(/tmp/all-in-one-seo-pack.zip) is not within the allowed path(s): (/home/mydomain/public_html/) in /home/mydoamin/public_html/wp-admin/includes/file.php on line 175

Download failed. Could not create Temporary file

Finally got the answer from Supanames support, which relates to this half of the answer:

http://support.supanames.co.uk/KB/a83/i-cant-upload-images-files-using-upload-file-script.aspx

What you also need to do is:
Enable PHP5 and also the session save path.

Hey presto the annoying error gone (give it a day or so).

2 Responses to “[Solved] Wordpress Error: “open_basedir restriction in effect””

  1. SoFresh Says:

    This cant be helped.
    I have made several tmp folders, but it’s still not working.. oh well

  2. Maff Says:

    Have you gone to the Supanames control panel?

    What are the permissions on tmp?

    Is it in your web root?

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in