We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2198
    • 7 Posts
    Hi, i have moved my site from plesk to cpanel5 hosting. everything working fine, but i have strange issue with \ and "

    when i change something in my templates

    <div class="container">
    <div class="header"><div class="jezici">
    [[YAMS? &get=`repeat` &beforetpl=`@CODE:<ul>` &repeattpl=`otherFlagItemTpl` &currenttpl=`currentFlagItemTpl` &aftertpl=`@CODE:</ul>`]]
    </div></div>

    and save and close i get this. and my site is broken.

    <div class=\"container\">
    <div class=\"header\"><div class=\"jezici\">
    [[YAMS? &get=`repeat` &beforetpl=`@CODE:<ul>` &repeattpl=`otherFlagItemTpl` &currenttpl=`currentFlagItemTpl` &aftertpl=`@CODE:</ul>`]]
    </div></div>

    why the system includes this \ before quoting marks.

    maybe is the problem by Transalias plugin or by DB setting. on my plesk is the DB on utf8 and since we moved the site to another location DB has Swedish latin encoding. why? we imported the DB like UTF8!

    every help will be appreciated.
      • 9995
      • 1,613 Posts
      its before every " in the source.

      ask your host or add a php.ini in the absolute root as far as you could go in FTP with:

      magic_quotes_gpc = Off


      could be this can be done with ht.access but i dunno.
        Evolution user, I like the back-end speed and simplicity smiley