Contentment erroring - Now i cannot login to Umbra...
# help-with-umbraco
j
https://cdn.loom.com/images/originals/1681a4d94eb4402cb9a50906c2544094.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4ubG9vbS5jb20vaW1hZ2VzL29yaWdpbmFscy8xNjgxYTRkOTRlYjQ0MDJjYjlhNTA5MDZjMjU0NDA5NC5qcGciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2OTI0NjQ0MDV9fX1dfQ__&Key-Pair-Id=APKAJQIC5BGSW7XXK7FQ&Signature=NwfCu1OsnffGR-p94og1Wgu7vbRKGoKFrWmFnNBI2L58IX6hWlfXnBCprLOSjs0c1xs1ZNWfpp90jxqZhaUc51Xpw%7ERuheEAt9QizyLQOc5MI8FKuEramsc6c%7ECIpvJY%7EKtW6SfAvL2q3jIOVf-lHmkwbiIZm-9r31wAg4AgIHGmQ9RuIhb%7EEQK1Ug7dgeqmKSw3Ya0PDR88Rc1OK%7EIba%7EmtHSWDaa2nyvVQX8lyEDg9iSk1vfl2FxnO3kLbNSlBgUkgkPPMQPgxIGdtyQ%7EnpW6i%7Ee%7EghHUUF6BpJ2G5HLE20%7Eulw9C46gRgFfFjuJ3TZ-ctBFpP78NWx47buragug__&_gl=1*hjmm6v*_gcl_au*MTQ5MjkxNTMxNS4xNjkwMjgwOTM1 Without making any changes Contentment data list is throwing the following error and is dont displaying the data type. This means that users can no longer login and are presented with the console error {"Type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","Title":"Unsupported Media Type","Status":415,"Detail":null,"Instance":null,"Extensions":{"traceId":"00-b08b45d61566ffb86ac7c178859728f9-094d078dc01025af-00"}} I fixed this before by removing and adding the contentment dll
l
The error suggests that the JavaScript files aren't being loaded in. Is the "App_Plugin/Contentment" folder and files on the website? I typically hear about this when the App_Plugins folder hasn't been included in the deployment to a target environment.
j
Thanks @leekelleher where should the app_Plugin folder be?
its a .netcore app and i am having to manually deploy
i have it in webroot should it be in the wwwroot / App_Plugins as well?
When you says JavaScript file(s) i can only see one
a
Best is to do a .net publish and use all thoae files
But yes, there should be a wwwroot/app_plugons folder containing the contentment folder
j
@Ambert yea thats what i have done and then deployed those files. Yep that folder is there. I think it might be the server. Just coming to think of it, it did work and then stopped working with out a code change
@leekelleher everything is there. I think it must be a server issue. It only happens at random on the server. Then its starts throwing errors, the above included, then you are logged out and cannot login again
a
@JigitalCharlie and how do you fix it? restarting ?
j
@Ambert I have still not fixed it
I am pretty sure its security on the server stopping it from functioning correctly. but i was able to get it to work for about 5 minutes, by removing the dll, restarting the app and then adding the dll again 🙂
Sorry for the late reply, i have had major computer issues
7 Views