+ Reply to Thread
Results 1 to 2 of 2

Thread: Wordpress and uploading images: is the parent directory writable by the server?

  1. #1
    Join Date
    Mar 2009
    Posts
    1

    Default Wordpress and uploading images: is the parent directory writable by the server?

    So, I'm tryin' to add images to my posts, but I cannot upload any [directly from Wordpress]...

    Here's what it says:

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/USERNAME:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/USERNAME/public_html/blog/wp-includes/functions.php on line 1746

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/USERNAME:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/USERNAME/public_html/blog/wp-includes/functions.php on line 1737

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/USERNAME:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/USERNAME/public_html/blog/wp-includes/functions.php on line 1746
    Unable to create directory /public_html/blog/wp-content/uploads/2009/03. Is its parent directory writable by the server?

    This is a migrated installation from a free hosting account. I've read that it has something to do with permissions, but Change Permission is a dead link in my file manager.

    So... Help, anyone?

  2. #2
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    2,761

    Default

    I think I found a solution Googling:

    WordPress is trying to use the wrong path, you have to point WordPress to the /tmp path instead of the one found:
    http://golabs.nl/2008/10151/

    As your WP is in as folder named blog you need to define the relative path as described here:
    http://wordpress.org/support/topic/161778

    HTH

+ Reply to Thread

Similar Threads

  1. Connection closed by server issue when uploading zip files
    By saleh_2993405 in forum Free Hosting General Support
    Replies: 3
    Last Post: 18-02-2009, 06:41 AM
  2. Server serving cached images??????
    By jaaxx in forum Premium Hosting General Support
    Replies: 16
    Last Post: 03-02-2009, 02:19 PM
  3. images are not showing after uploading
    By DjShan in forum Free Hosting General Support
    Replies: 4
    Last Post: 11-08-2008, 06:59 PM
  4. WordPress uploading image problem!!!
    By nicola.lanfranchi in forum Blog, Forum and CMS Support
    Replies: 12
    Last Post: 02-08-2008, 04:50 AM
  5. Really need help uploading Images properly?
    By Andrew54 in forum Free Hosting General Support
    Replies: 14
    Last Post: 07-10-2007, 05:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts