-
Notifications
You must be signed in to change notification settings - Fork 63
Unable to upload multiple associated images #192
Comments
My first thought is that the folder you're uploading to is not writable. |
The folder is writable and images are uploading fine when I upload single image. Like user avatar along with user profile information in same table. |
This could be a new use-case, as I have a test for uploading multiple files but these are different uploads fields, and not multiple to the same field. If you'd like to figure out where the loop needs to go and submit a pull request against the |
I don't understand how to figure out loop. But I have submitted a pull request. What I did to solve my problem... |
Relates to #207 |
I have two tables
service_categories
andservice_category_images
The
service_category_images
is associated toservice_categories
According to your example tutorial, this is all what I have done.
In
ServiceCategoriesTable.php
In
ServiceCategoryImagesTable.php
add.ctp
ofServiceCategoryImages
classand
ServiceCategory.php
entity containsI there something I'm missing or doing wrong. Because this configuration is not uploading files.
The text was updated successfully, but these errors were encountered: