New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload not working. Console shows warning. #49
Comments
I can confirm this. |
updated the ticket with code examples. |
The same issue here, uploading is not working. When i try to upload image i get the same error.
|
+1 |
I'm having the same problem and seeing the same error message, however for the me the image is being uploaded and saved (to GridFS, in my case), but then the error happens when reading back the image to display. The question in my mind at this moment is if this is a bug in this this package at all, or something in CFS packages. A second bug, or a side-effect of this one is that previously uploaded images no longer display in the autoform. I figured out you can do a FS.debug=true to turn on CFS console debugging messages. Here's my console when trying to upload image: Note: the "app.js" console lines are from my code telling me that the user's profile record is being updated with the new image reference. |
I had the same issue, in my case I was subscribing the images/files collection in the wrong route, it was solved once I've subscribed it in route of the autoform, something like this: Router.route('/items/create', { I hope it helps. |
This would seem to be the same root issue as https://github.com/aldeed/meteor-http-extras/pull/8/files and the same fix needed only in http-call-client.js |
+1 |
This is "just" warning and it's not part of meteor-admin code. |
I'm getting this warning in the console when uploading a file. i'm using it inside the yogiben:admin dashboard.
Any ideas? Edit: added my code and some comments below.
lib/collections/images.js
server/publish.js
lib/collections/posts.js
I followed the instructions for the multiple images. But I skipped the subscription and the auto-form part. since i assume that's handled by the yogiben:admin package, cmiiw.
UPDATE:
I've added the "Images" collection to the admin configuration but it throws an error.
lib/config.js
With this message in the console:
The text was updated successfully, but these errors were encountered: