treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Cloned Wordpress Site, now I can't upload images

  • Hello,

    I cloned one of my Wordpress sites, by cloned I mean I exported all the files of the original site and imported them to the new site - the folders and database in MySQL and PHPmyadmin.

    My problem is on the new site I can't upload images, it's giving me a problem with the file upload permissions. I tried changing the upload location in the upload_path row of my wp_options table, but that didn't work.

    Here is the warning I get when trying to upload an image on the new site:

    Warning: touch() [function.touch]: Unable to create file /home/freecoup/public_html/wp-content/uploads/best-buy-logo.tmp because Permission denied in /home/dchic/public_html/magazinepromocodes.com/wp-admin/includes/file.php on line 177
    Dismiss“best-buy-logo.jpg” has failed to upload due to an error
    The uploaded file could not be moved to /home/dchic/public_html/magazinepromocodes.com/wp-content/uploads/2012/04.

    Any help would be great!
  • You might have improper permissions set on your uploads folder.
  • I know, I tried changing the permissions on the upload folder but to no avail. I will retry it again on another site I suppose.
  • recursive to sub directories tick box checked when changing permissions on the folder?