We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42397
    • 29 Posts
    I am using Evo 1.0.7, I don't know why \ appear to my source.that's why css not able to work properly, you can see an example as bellow
    <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1, maximum-scale=1\\\\\\\">
    <link rel=\\\\\\\"stylesheet\\\\\\\" href=\\\\\\\"assets/olive/css/ie.css\\\\\\\" type=\\\\\\\"text/css\\\\\\\" media=\\\\\\\"screen\\\\\\\" />
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That looks like a case of PHP's magic_quotes_gpc having been enabled. Has your hosting just updated the PHP version?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 42397
        • 29 Posts
        Quote from: sottwell at Dec 25, 2012, 08:38 AM
        That looks like a case of PHP's magic_quotes_gpc having been enabled. Has your hosting just updated the PHP version?

        Because of Christmas time they didn't response, I tired to php_flag magic_quotes_gpc Off into .htaccess file but I will get Internal Server Error

        The server encountered an internal error or misconfiguration and was unable to complete your request.

        currently my php version is 5.3.8
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          In your Reports->System Info, the phpinfo "view" link, look for the setting for magic_quotes_gpc. At least that will tell you if that's the problem.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 42397
            • 29 Posts
            Local Value and Master Value are on
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              That's the problem then.

              Can you put a php.ini file in your /manager/ folder, with just
              magic_quotes_gpc = Off
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 42397
                • 29 Posts
                thanks, I did it, \ removed and site working properly, the only thing is some warning message appear to main Modx control panel as bellow


                Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/rss.inc.php on line 50

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/rss.inc.php on line 50

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/rss.inc.php on line 50

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/rss.inc.php on line 50

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/rss.inc.php on line 50

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/rss.inc.php on line 50

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/includes/document.parser.class.inc.php on line 1826

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/actions/welcome.static.php on line 164

                Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/oliveaut/public_html/manager/actions/welcome.static.php on line 181
                  • 3749
                  • 24,544 Posts
                  You need to set the correct time zone in your .htaccess file: http://www.webmastersucks.com/change-time-zone-with-htaccess/

                  Or in a php.ini file: http://php.net/manual/en/datetime.configuration.php
                    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
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Put the date/time setting in the same /manager/php.ini file as before. You many need to put another one in the site root as well, since the front-end works from the site root's index.php file, and you have to have a php.ini file in ever directory from which a .php file is run - they don't get "inherited" like .htaccess files are.
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org