• Hi, and i apologize in advance if this question is already out there, i tried looking for it but i couldn’t find the answer.

    I installed wordpress on plesk 8.6, and something does not seem to be working. whenever i try uploading any media, or upgrading my plugin it just doesn’t happen.

    these are are errors i get.

    when upgrading plugins, it takes to me another screen where it asks for my ftp credentials, i supply the details, but after clicking ok it gives an error which reads:

    Failed to connect to FTP Server http://ftp.aldaira-ard.com:21

    also when i try to upload new media from the media library i get the following message upon clicking upload.

    Error saving media attachment.

    when i try uploading from the media uploader inside the posts, i get the following message:

    Unable to create directory /var/www/vhosts/aldaira-ard.com/httpdocs/wp-content/uploads. Is its parent directory writable by the server?

    I have tried the following things so far,

    Re-installed wordpress, it didn’t work. I have been trying other stuff, i thought there might be a problem with the permissions for the user of the database, because there were no options for permissions when creating a new user in plesk, so i asked my host and they tell me that all users have all permissions by default .

    now iam just stuck . So help ?? 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter raavail

    (@raavail)

    anyone guys anyone ??

    If anyone else is running on Plesk and having the image uploads problem (and CHMODing to 777 is not helping or anything else), the following will probably help you… it solved it for me.

    In WP admin, go to Settings/Media page and make sure the text box after “Store uploads in this folder” is blank… that causes WP to use the default path, which is “wp-content/uploads”. If you know that your upload path is different than the default, then put it there, but the usual is to leave it blank.

    Now, do the following in your Plesk File Manager:
    Rename your “uploads” folder to something else, like “uploads_old”. Then create a new folder and name it “uploads”.

    Now, go into your WP admin and try uploading an image. It should work. If not, temporarily chmod your new “uploads” folder to 777, then upload. After you get it working, you can chmod it back to 755. (I’m not sure why this worked for me, but it did. It may have just been a lag in the server resetting after creating the new folder and I really didn’t have to chmod to 777).

    Now you can upload any other folders and files to your new “upload” folder, but be careful not to overwrite and new folders/files that you just created.

    Hope this helps you Plesk users out there or anyone else using a similar system.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Upload problems with Plesk 8.6’ is closed to new replies.