Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Andrew Winkler Friend
    #186656

    I’ve just upgraded my company site from JA Mero to JA OnePage. Since doing so, my site has suddenly started to insert backslashes in front over every apostrophe and hyphen saved in articles and modules, regardless which html code editor I use. It does that every time I save the article or module, so if I save it ten times, it will insert 10 backslashes in front of the apostrophe, so <img src=”images/staff/andrew.jpg” /> becomes <img src=\\\\\”images/staff/andrew.jpg=\\\\\” /> end no longer works.

    Saguaros Moderator
    #489627

    Hi,

    The problem comes from that Magic Quotes in Joomla 3.0, all apostrophe ‘ and quotation ” characters seem to be escaped by slashes / for text fields and textarea fields.

    So either de-activate it on the whole hosting package, or edit php.ini file with the following code:


    ; Magic quotes
    ;

    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off

    ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    magic_quotes_runtime = Off

    ; Use Sybase-style magic quotes (escape ' with '' instead of ').
    magic_quotes_sybase = Off

    Hope it helps.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 11 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum