• I dev’d a site on a LAMP server. I moved the site using BackupBuddy/InstallBuddy.

    The front end seems to work fairly well. But on the backend I keep getting errors when uploading media. I get the following error:

    The uploaded file could not be moved to /var/www/vhosts/110builders.com/httpdocs/wp-content/uploads/2013/04.

    It just will not upload media. But a note to this is I tried to upload the file today (May, 7th 2013), not April 2013. The error message show it was trying to upload to the April folder.

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

    (@revmark)

    The issue affects both the JS and HTML uploader. When I use the media uploader to upload an image, it goes thru the motions and then returns the following message.

    [quote]113Timberwood-Front.jpg
    The uploaded file could not be moved to /var/www/vhosts/110builders.com/httpdocs/wp-content/uploads/2013/04.[/quote]

    No error codes, just the message. This also affects the backup software that needs to write to a folder in the same directories as the image uploads. So fact what I have found is that any plugin or WP itself that has to write file, modify a file or copy,create a file in a folder I get errors (write errors). I have checked the perms and they are all correct for the specified folders.

    Now, one anomaly that I see is that in the media uploader, the folder that WP is trying to upload the images is incorrect. WP stores images by date in which they were uploaded. Example would be a file uploaded today would be put in the folder “/wp-content/uploads/2013/05”. But as you can see in the error message WP thinks it is April. That is why someone on the WP forums suggested that the server date is wrong. But I would think that there would be issues with other clients on the same server (vps?).

    Just so you know, I have been using WP since vers 3.1. I make no claims to be even moderate expert, but I have never seen issues like this before that werent solved by making perms adjustments or ownership/group adjustments. So I am at a loss. I have even go as far as disabling all of the third party plugins to no avail.

    “Permissions: such as 644 and 755 are for Apache servers. IIS uses a different method.

    https://support.microsoft.com/kb/981949

    You need to grant WP specific rights to create folders and write to temp folders:
    https://www.ads-software.com/support/topic/download-failed-destination-directory-for-file-streaming-does-not-exist-or-is-n?replies=29

    Consult web host.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moved from Apache to IIS: problems’ is closed to new replies.