I am using media protect on localhost as a trial and its performing very strangely. I am using Umbraco 7.2.2
Any new items that I add to my media folder are not protected but, even when I add them as specific permission. Any images that existed before I installed media protect are protected without a problem.
I have turned on loggging but it doesn't look like any log files are generated. Where are they stored?
Are the new images using the image cropper? If so check the manual how to enable protection on cropped images. Enable logging is logging requests to the database to give an overview in the backoffice dashboard.
Thanks for your reply, I just found the bug, shows what a good nights sleep will do to think through a problem.
It wasn't the image cropper that was the issue but rather a problem with media folder synchronisation. I am working on a site that is already live and my media folder on my local was out of sync, I'm not sure if you will be able to do anything to combat this or if the issue is with the core code.
On the filesystem in the media folder there were image folders missing but they were present in the db, when I added a new image Umbraco created a new folder sequentially and it clashed with an existing folder in the db. Umbraco seemed to be ok with this but it could have caused issues later when I deployed. So in a way I'm glad I found it now.
The clashing sequenatially added folder were failing protection. as soon as I took out the newly added folders on my local and downloaded from production all the new folders, then added a new image with a new folder to the db and filesystem it worked as expected.
media protect not blocking requests
I am using media protect on localhost as a trial and its performing very strangely. I am using Umbraco 7.2.2
Any new items that I add to my media folder are not protected but, even when I add them as specific permission. Any images that existed before I installed media protect are protected without a problem.
I have turned on loggging but it doesn't look like any log files are generated. Where are they stored?
Any help will be appreciated?
Hi Phil,
Are the new images using the image cropper? If so check the manual how to enable protection on cropped images. Enable logging is logging requests to the database to give an overview in the backoffice dashboard.
Hope this helps,
Richard
Hi Richard
Thanks for your reply, I just found the bug, shows what a good nights sleep will do to think through a problem.
It wasn't the image cropper that was the issue but rather a problem with media folder synchronisation. I am working on a site that is already live and my media folder on my local was out of sync, I'm not sure if you will be able to do anything to combat this or if the issue is with the core code.
On the filesystem in the media folder there were image folders missing but they were present in the db, when I added a new image Umbraco created a new folder sequentially and it clashed with an existing folder in the db. Umbraco seemed to be ok with this but it could have caused issues later when I deployed. So in a way I'm glad I found it now.
The clashing sequenatially added folder were failing protection. as soon as I took out the newly added folders on my local and downloaded from production all the new folders, then added a new image with a new folder to the db and filesystem it worked as expected.
Hopefully this helps someone else.
Phil
is working on a reply...