We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20371
    • 58 Posts
    Hi All.. having dramas with escaped apostrophe’s in snippets & chunks etc.

    saw the stickied thread in this forum:
    http://modxcms.com/forums/index.php/topic,44605.0.html
    but the page linked to at the bottom of that thread has this big "this has been deprecated.. do not use" sign at the top..

    I tried it anyway, adding
    php_flag magic_quotes_gpc Off

    to my .htaccess file..

    but I get a server error
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
    
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


    strangely.. I have two modx installations on the same subdomain (different mysql databases though) - I did that because I was just putting together a new project, and wanted to stage a new site in a subfolder of another subdomain.. however, the modx installation in the root of the domain does not have this escaped character problem... the installation in a subdirectory does..

    So I’m unsure why one installation is having this trouble and the other isnt.. any ideas?
      • 3749
      • 24,544 Posts
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 20371
        • 58 Posts
        ahh... I should’ve scrolled down further.

        thanks for that!