We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19159
    • 13 Posts
    hi there

    i found out, that if i save an image inserted with the richtexteditor, html looks broken:
    <img alt="\"\"" src="\"http://mydomain.com/assets/images/adpool/logos/1.jpg\"" />


    i have disabled magic quotes via php.ini, phpinfo tells me:

    magic_quotes_gpc Off Off
    magic_quotes_runtime Off Off
    magic_quotes_sybase Off Off

    i have not further access to the hosting, only php.ini.

    i upgraded tinymce to 3.3.8 with no result, also the usage of ckedior was no success.

    if someone has any idea how to solve this, or has some suggestions to test the server for some strange configurations, i would be really happy.

    i am stucked, on my dev server everything runs fine, but it’s on php 5.2

    best
    metafor
      • 25132
      • 129 Posts
      Bumping this back up. Having the same trouble and still have not found a solution.

      metafor - did you ever get this sorted out? Tried a line in the index.php file as well but to no avail: $magic_quotes_gpc = Off; But as I’m not a PHP programmer, I don’t even know if this is the correct syntax.

      Hopefully someone out there knows a solution because it’s going to cause a lot of problems once hosts switch to 5.3.2 as standard (I came across this a week ago when one client’s hosting company, Hosting Ireland, upgraded its servers and now we can’t use Rich Text Editing anymore on that site).
        • 25132
        • 129 Posts
        Ok, just phoned the hosting company and they told me to insert the following line into a .htaccess file in the site root (in this case a folder called html) and it worked!

        php_value magic_quotes_gpc 0