Answers.Body: <p>My own fault – I had set a subpath in the field type, so it tried to save to a folder that didn't exist.</p>
  
  <p>I had first thought it was here the asset path was set, and when I figured out I needed asset types, I forgot to delete the subpath.</p>
  
  <p>Now it works! Both with Imagemagick (local) and GD (live server).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-29T18:13:30.637Z
Answers.LastActivityDate: 2017-05-29T18:13:30.637Z
Answers.UserDisplayName: KSP
Body: <p>I can’t for the life of me get images to upload. Neither on my local server or on the live server. The progress bar goes to the end, and then … nothing. From what I can see online, I’m not the only one, but I can’t find any remedy.</p>
  
  <ul>
  <li>I’ve gotten Imagemagick installed (locally, at least), but no change (GD is installed in both environments)</li>
  <li>I’ve tried several types of image formats (seems some people have problems with JPEG)</li>
  <li>I’ve tried relative asset paths and set through environmental variables</li>
  </ul>
  
  <p>Nothing seems to work.</p>
  
  <p>In the error logs, the only error I can find is:
  <code>Undefined index: singleUploadLocationSource ([correct path]/craft/app/models/AssetFileModel.php:171)</code></p>
  
  <p>I just realised that the files <em>do</em> get uploaded to the storage/runtime/assets/tempUploads folder. So seems it fails to completing the copy to the final assets folder. Permissions <em>should</em> be correct, from what I can understand (I'm no expert on these things).</p>
  
  <p>Does anyone have any ideas what can be the cause? I’ve been scratching my head here for weeks, and it still itches like crazy.</p>
  
Tags: <assets><image><error><upload>
Title: Asset upload fails with progress bar at full, but images in tempuploads folder
ThreadText: # Asset upload fails with progress bar at full, but images in tempuploads folder
  
  (Asked by: username_0 on 2017-05-29)
  
  I can’t for the life of me get images to upload. Neither on my local server or on the live server. The progress bar goes to the end, and then … nothing. From what I can see online, I’m not the only one, but I can’t find any remedy.
  
  * I’ve gotten Imagemagick installed (locally, at least), but no change (GD is installed in both environments)
  * I’ve tried several types of image formats (seems some people have problems with JPEG)
  * I’ve tried relative asset paths and set through environmental variables
  
  Nothing seems to work.
  
  In the error logs, the only error I can find is:
  `Undefined index: singleUploadLocationSource ([correct path]/craft/app/models/AssetFileModel.php:171)`
  
  I just realised that the files *do* get uploaded to the storage/runtime/assets/tempUploads folder. So seems it fails to completing the copy to the final assets folder. Permissions *should* be correct, from what I can understand (I'm no expert on these things).
  
  Does anyone have any ideas what can be the cause? I’ve been scratching my head here for weeks, and it still itches like crazy.
  
  **Tags:** assets, image, error, upload
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-05-29. Score: 2 | Accepted answer
  
  My own fault – I had set a subpath in the field type, so it tried to save to a folder that didn't exist.
  
  I had first thought it was here the asset path was set, and when I figured out I needed asset types, I forgot to delete the subpath.
  
  Now it works! Both with Imagemagick (local) and GD (live server).
  
  
  ---
  
  