Path is outside of the defined root

#1

Hello

  • My images won’t save (Internal Server Error), see screenshot

I am using site cake 2.4.1.0

Looks like problem with sitecake-temp folder.
After removing this folder - everything works until i try to update some page with images.

Looks-like draft page has incorrect url to image, but i’m not sure
Link to url from origin page: style=“width:36.82455%;” src="…/…/images/11-sc5d66c597235cf-517.png" srcset="…/…/images/11-sc5d66c597235cf-517.png 517w,…/…/images/11-sc5d66c597235cf-320.png 320w
Link to url from draft: style=“width:36.78161%;” src="/…/images/11-sc5d66c597235cf-320.png" srcset="/…/images/11-sc5d66c597235cf-517.png 517w,/…/images/11-sc5d66c597235cf-320.png 320w"

#2

Also i found, if i change draft link from
“/…//images/11-sc5d66c597235cf-517.png” srcset="/…//images/11-sc5d66c597235cf-517.png 517w,/…//images/11-sc5d66c597235cf-320.png 320w"
to
“images/11-sc5d66c597235cf-517.png” srcset=“images/11-sc5d66c597235cf-517.png 517w,images/11-sc5d66c597235cf-320.png 320w”
than i can save my changes on page once