BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
"Couldn’t install plugin" error message when trying to install
#147 opened by stefan
Description
Solution:
Update to 2.1.1.
I have added Ansel from the plug-in store by clicking "try". When trying to install after download, I get a "Couldn’t install plugin" error message. Tried on clean Craft install.
Replies
- TJ Draper
Replied 3/15/2019 9:03 PM, Edited 3/29/2019 9:01 AM
Hello,
Weekends are usually when I can work on my plugins, but I'm traveling this weekend. I'll see if I can duplicate this issue as soon as I can.
- TJ Draper
Replied 3/18/2019 7:07 PM, Edited 3/29/2019 9:01 AM
I've just released 2.1.1 which should resolve this issue.
- stefan
Replied 3/19/2019 3:18 PM, Edited 3/29/2019 9:01 AM
Thank you. I was able to install the plug-in now, however it does not seem to work properly. I can create an Ansel field, but I cannot add an image to it using the "+ Select Existing Image" button. The Asset dialog pops up, but when I select an image it simply closes the dialog without populating the Ansel field.
- TJ Draper
Replied 3/19/2019 3:52 PM, Edited 3/29/2019 9:01 AM
That's odd. I'm not experiencing that one. Can you open up the Chrome developer console while you are using Ansel and see if there are any errors on the console?
- stefan
Replied 3/19/2019 4:16 PM, Edited 3/29/2019 9:01 AM
Thanks for the quick reply. The console is completly empty. If I drag an image to the Ansel field it will show up in the field, but when I save and reopen the entry, the image is gone. However, in the case of dragging the image to the field, I notice that the image will be uploaded to Assets and the Ansel "Save location" folder.
- stefan
Replied 3/20/2019 4:09 AM, Edited 3/29/2019 9:01 AM
I just tested this on a different server, and the problem persists.
- TJ Draper
Replied 3/23/2019 10:16 AM, Edited 3/29/2019 9:01 AM
I just can't duplicate this at all. It is working for me both in my testing Ansel dev environment, and on live sites for my clients.
Can you share more about your server environment, the settings for the assets volumes you're using, etc? Like, do the volumes have public URLs and things like that?
- stefan
Replied 3/23/2019 2:41 PM, Edited 3/29/2019 9:01 AM
Neither my upload location or save location had public URLs, but inspired by your feedback, I changed enabled public URLs for my upload location's asset volume, which seems to fix the problem. Thanks a lot for troubleshooting.
- TJ Draper
Replied 3/29/2019 9:01 AM
Awesome! Glad we could get to the bottom of the issue.