Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: Haic on October 01, 2012, 09:24:34

Title: insert image in editor
Post by: Haic on October 01, 2012, 09:24:34
Hello,

When I insert a image in the editor it gives a error after apply the page.
example: http://www.familie-gevers.nl/contact.html (http://www.familie-gevers.nl/contact.html)
Title: Re: insert image in editor
Post by: datahell on October 01, 2012, 11:40:35
I think you paste html code in editor's graphical mode...
Delete existing image and add yours.
Title: Re: insert image in editor
Post by: michalis1984 on October 01, 2012, 14:05:02
Try disable Magic Quotes at your php.ini and see if it works.
Title: Re: insert image in editor
Post by: Haic on October 01, 2012, 17:59:22
Try disable Magic Quotes at your php.ini and see if it works.

know it works. thnx michalis1984
Title: Re: insert image in editor
Post by: datahell on October 01, 2012, 19:56:53
Good answer Haic.

BTW magic quotes have been deprecated in php 5.3 and removed in php 5.4
http://php.net/manual/en/security.magicquotes.php

Elxis does not require magic quotes as it uses PDO prepared statements which automatically escape quotes.