• fluffybunnies82

    (@fluffybunnies82)


    After years of using WordPress with no problem, I recently became unable to upload photos. This is the error I’m getting:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp/phpdGa3gH) is not within the allowed path(s): (/home/gleeful:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/gleeful/public_html/blog/wp-includes/functions.php on line 2425
    Dismiss“fire1.jpg” has failed to upload due to an error
    The uploaded file could not be moved to /home/gleeful/public_html/blog/wp-content/uploads/2012/02.

    All of my permissions are set to 777. I can’t think of what else would cause it. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • digitalbox

    (@digitalbox)

    something is wrong with the upload_path in wp_options table. I suppose that has the following : /home/gleeful/public_html/blog/wp-content/uploads

    try to change it manually via phpmyadmin to blog/wp-content/uploads (remove the path to /home/USERNAME/public_html)

    esmi

    (@esmi)

    open_basedir restriction in effect

    Looks like the server’s configuration has changed recently. contact your hosts and give them a full copy of the error message. Only they can sort this one out.

    Thread Starter fluffybunnies82

    (@fluffybunnies82)

    Digitalbox, I checked and it already says what you told me to change it to. Nothing about /home/USERNAME/public_html was in there.

    Unfortunately my host doesn’t respond to trouble tickets anymore so I guess I’m screwed unless I can figure it out on my own. Hostultra.com = worst host ever, btw :/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image failed to upload due to an error’ is closed to new replies.