I am using Craft locally, at localhost:8888 with free MAMP. I am unable to upload images using the Assets uploader. The images in Assets were dropped in manually in their directory.

  • Permissions for Craft are 774 (/app, /config, /storage)
  • File system path: /Users/myuser/repos/craft-learn/craftapp/public/assets/i/artists/
  • URL: http://localhost:8888/assets/i/artists/
  • version 2.6.2958

What should I check?

Asset Upload Spins Endlessly

  • 1
    You definitely should check the response body of the request that uploads the file via Ajax with the developer console. There's probably a PHP notice or an error somewhere and you should be able to see it there. If it comes up empty, you can also try craft/storage/runtime/logs/phperrors.log logfile. Jan 13 '17 at 7:14
  • 1
    Have a look in craft/storage/runtime/logs, there you will find craft.log (probably alongside a few more numbered log files which are older) and a phperrors.log. You can get more details in your logs as well by enabling devMode in your config. You can read up on this here: craftcms.com/support/logs-and-backups Jan 13 '17 at 14:02
  • @AndrisSevcenko Thank you! Your suggestions to look that deeply brought me to find that i need to run MAMP Pro in an admin account. MAMP free in a standard user doesn't work for full CraftCMS functionality.
    – isral
    Jan 14 '17 at 20:43
  • @StephenHamilton Thank you! Your suggestion too to look that deeply brought me to find the solution described above.
    – isral
    Jan 14 '17 at 20:44
  • 1
    @isral for posterity it's probably worth writing your own solution as an answer an accepting it so that people who find this by a google search know what the answer to your specific issue was. Jan 15 '17 at 8:00

The solution was to use MAMP Pro instead of MAMP free. i cannot answer with complete authority why, but MAMP Pro has abilities that MAMP free doesn't.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.