Title: Images upload error
Last modified: August 21, 2016

---

# Images upload error

 *  Resolved [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/)
 * Local installation on window computer is great. I moved the install onto my mac
   locally and can view everything but it won’t upload images or let me edit files
   through the wordpress editor. ALL the file permissions are correct. This doesn’t
   make any sense to me…Sure hope someone knows something about this..Thanks
    DC

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/images-upload-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/images-upload-error/page/2/?output_format=md)

 *  [muddg](https://wordpress.org/support/users/muddg/)
 * (@muddg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859919)
 * Do you get any error messages when you try to upload or edit?
    Or do you have
   error logging activated. The error log might hold a clue.
 * I am not a MAC person but whenever I’ve had problems uploading images on a self-
   hosted windows installation, it looked like a permission problem
    but in the 
   end after installing some debug code I found that a tmp directory was missing
   entirely.
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859927)
 * I get no error messages at all. It’s just as if the “blog” was under another 
   admin. IN other words, I have the passwords and all and login is ok but it just
   won’t let me edit unless I do it through the files themselves. The WP editor 
   doesn’t let me make changes…weird. I can handle the workaround but not being 
   able to upload images is not ok..
 *  [muddg](https://wordpress.org/support/users/muddg/)
 * (@muddg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859928)
 * I don’t know WordPress on a mac so I might be asking stupid questions but when
   you say editing the files themselves…as a workaround…do you mean you are editing
   the post records directly in the database itself?
 * There are different types of users in WordPress and the authority to edit posts
   varies according to the type of user logged in. Are you sure the logins you are
   using have authority to edit posts?
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859935)
 * You know the wordpress “built-in” editor…when I go to the custom.css file or 
   any file for that matter there’s no (save edit) button..it says
    “You need to
   make this file writable before you can save your changes. See the Codex for more
   information.” I’ve made the changes to file permissions that I know…And when 
   I say I can edit the files directly I mean on my text editor in the htdocs etc.
   folders…
 *  [muddg](https://wordpress.org/support/users/muddg/)
 * (@muddg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859939)
 * Well that certainly indicates a permissions problem. I found this information
   about permission problems on a Mac:
 * > To get around permission errors, on a Mac, you would just have to change the
   > permissions. Go to the file/folder you’re trying to access, right click and
   > View Info. at the bottom there is a box for permissions, and just change for
   > the user _www (add it if it’s not in the list, it might be www) and give it
   > read and write permissions for whatever it needs.
 * That paragraph came from [this page](http://css-tricks.com/video-screencasts/87-moving-up-with-mamp/).
   You might want to review all of the contents on that page but initially scroll
   to the paragraph at the bottom.
 * Again, I am not familiar with Mac so that page listed above might lead you down
   a successful path. I will see what more I can learn about permissions on a Mac.
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859941)
 * as much as I appreciate the help I’ve been through all the folder/file permissions
   at every level. I’ve done command line permission changes to Apache and xampp
   to no avail. Super freaky….. So a LOCAL install on my windows laptop…. Transferred
   the very same files ONTO MAC thru FTP… That same “install” now reads great on“
   LOCALHOST” on my mac but ZERO editable files THROUGH the wordpress ” THEME EDITOR”.
   Maybe that better explanation will spawn some fixes 🙂
    Thanks in advance etc.
 *  [muddg](https://wordpress.org/support/users/muddg/)
 * (@muddg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859942)
 * Look…I don’t want to waste your time but I still think you have a permission 
   problem.
 * Do I understand correctly? You are setting the permissions on the windows install.
   Then moving the whole thing over to your mac with ftp…assuming the permissions
   are going to follow?
 * Also you mentioned custom.css. You are using Thesis theme, yes? Which version?
 *  [2ninerniner2](https://wordpress.org/support/users/2ninerniner2/)
 * (@2ninerniner2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859943)
 * Perhaps try MAMP for your local server instead of XAMPP. I have never had an 
   issue with it on any of the three Macs I use.
 * [https://www.mamp.info/en/](https://www.mamp.info/en/)
 * Additionally, when you moved the installation, did you update the URLs using 
   something like the [Velvet Blues Update URLs plugin](http://wordpress.org/plugins/velvet-blues-update-urls/)
   or this script:
 * [https://interconnectit.com/products/search-and-replace-for-wordpress-databases/](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
 * By using XAMPP, you will (should) maintain the site url and home url as both 
   the Win and Mac versions use just `http://localhost` as the base URL.
 * However, and this may be the issue, the path to your media and files is NOT the
   same. On Win it will be (assuming it’s installed in the root of C:) `C:\xampp\
   htdocs\` or `C:\xampp\htdocs\folder_name_of_install` but on the Mac it will be`
   Applications\XAMPP\htdocs` etc.
 *  [2ninerniner2](https://wordpress.org/support/users/2ninerniner2/)
 * (@2ninerniner2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859944)
 * Update to my previous post;
 * As muddg says, it **IS** a permissions issue, and I have just verified it on 
   my own systems (Win 7 and Mac Mavericks).
 * I moved a live site to a Win 7 XAMPP installation. Worked just fine using the“
   usual” method.
 * I then moved this Win 7 version to the Mac (10.9.2) running 1.8.2-5 of XAMPP,
   again using the “usual” method and did indeed get your exact errors; unable to
   upload new images or save changes to files using the Appearance > Editor on any
   file. Again, the errors received DO indicate a permissions issue.
 * So here is how I got it to work perfectly and as expected:
 * – in the Finder, right click on Applications/XAMPP/htdocs/site_folder_name and
   select Get Info
    – in Sharing & Permissions, unlock, then select Admin and ensure
   Read & Write is selected – with Admin selected, click the “gear” dropdown and
   select Apply to Enclosed Items and accept the resulting pop-up dialog
 * You can now add new media and the Update button now appears at the bottom of 
   the file editor 🙂
 *  [2ninerniner2](https://wordpress.org/support/users/2ninerniner2/)
 * (@2ninerniner2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859945)
 * Just to clarify the “usual” method:
 * From:
    – export database – ZIP entire site
 * To:
    – create new, empty DB and import the export – edit site url and home fields
   in wp-options table with new location – place and unZIP the site – edit wp-config.
   php for DB credentials – login to dashboard and install and run Velvet Blues 
   Update URLs – re-save Permalinks
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859951)
 * Ahhhhh Haaaaaa…..OK…So I have not done a search & replace assuming the url’s 
   for “localhost” would be the same..they look the same in the phpmyadmin database
   but I think you’ve got something here. I will do a SAR using interconnectit as
   I’ve used that script many times for other sites…OK…let’s have a go !
    Thanks
   to both of you…will update soonish
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859952)
 * ** 2992—–YOU WIN THE LUGGAGE !**Yep…All is well…So it was obviously the MAMP 
   V XAMPP Problem..I did NOT need a search and replace which didn’t seem to me 
   logical so I tried the MAMP install and BaZinga ! Hope someone else might benefit
   from everyones help!
    Thanks again All !
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859953)
 * resolved well !
 *  [nishanta](https://wordpress.org/support/users/nishanta/)
 * (@nishanta)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859987)
 * hello all i am getting this error “Unable to create directory wp-content/uploads”
   on my local development environment. I am using XAMP 1.8.3 on OS version 10.9.2
   and using wordpress 3.9. Can anyone please help me…
 *  Thread Starter [oblivius](https://wordpress.org/support/users/oblivius/)
 * (@oblivius)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/#post-4859994)
 * nishanta,
    I was able to resolve a different problem ( yet probably similar )
   by uninstalling XAMPP and installing MAMP within the MAC OS environment. I suspect
   this is your issue as well..MAMP is specific for MAC

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/images-upload-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/images-upload-error/page/2/?output_format=md)

The topic ‘Images upload error’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [local](https://wordpress.org/support/topic-tag/local/)
 * [mac](https://wordpress.org/support/topic-tag/mac/)
 * [won't upload](https://wordpress.org/support/topic-tag/wont-upload/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 18 replies
 * 4 participants
 * Last reply from: [nishanta](https://wordpress.org/support/users/nishanta/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/images-upload-error/page/2/#post-4859997)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
