Keyword

[SOLVED] when editing an item, getting random characters

  • Andrew
  • Andrew's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago - 11 years 11 months ago #114188 by Andrew
I just tried editing an item, through front and back end, and am left with random characters being inserted in the code. first it was something like \quou; now i'm getting back slashes anywhere there is a apostrophe or quotation mark. please help. I should also mention that it did not matter if i used JCE or CodeMirror, i still had this problem
<p><img src=\"images/stories/Site\" alt=\"otd-bb-row\" width=\"250\" height=\"188\" />

Please Log in or Create an account to join the conversation.

  • Andrew
  • Andrew's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #114189 by Andrew
<img src="\&quot;images/stories/Site\&quot;" alt="\&quot;thumb-qb-grip-1\&quot;" width="\&quot;250\&quot;" height="\&quot;188\&quot;" />

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 11 months ago #114190 by Yiota
That is because the src path of your image is invalid. You should use slash (/) between the folders and not backslash (\).

Please Log in or Create an account to join the conversation.

  • Andrew
  • Andrew's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #114191 by Andrew
I'm not that ignorant.
Anyway, i found the cause. magic quotes was turned on. For all those who may have this issue in the future, add magic_quotes_gpc = off to php.ini.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 11 months ago #114192 by Krikor Boghossian
Replied by Krikor Boghossian on topic when editing an item, getting random characters
Sorry for that, sometimes we all get away.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum