“Couldn’t install plugin” error message when trying to install
Additional Environment Details
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.
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.
March 15, 2019, 9:03 pm
I’ve just released 2.1.1 which should resolve this issue.
March 18, 2019, 7:07 pm
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.
March 19, 2019, 3:18 pm
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?
March 19, 2019, 3:52 pm
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.
March 19, 2019, 4:16 pm
I just tested this on a different server, and the problem persists.
March 20, 2019, 4:09 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?
March 23, 2019, 10:16 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.
March 23, 2019, 2:41 pm
Awesome! Glad we could get to the bottom of the issue.
March 29, 2019, 9:01 am
Your account with the old support system does not carry over to the new support system. The new system is all tied together and connected with your account for purchasing and licenses. If you have a license, you have an account and you can log in with that email address and password. If you have not set a new password yet, you can do so with the forgot password link. Very sorry for any inconvenience.