We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27032
    • 1 Posts
    Will the Modx sites only run on PHP version 5.2.10 or 5.2.13? I am unsure which version my webhost runs. Should I notify them to change to 5.2.10 to help it run smoother. I have not had the backslash problem but I would like to know which PHP versions are compatible or not. Thank you.
      Web developer specializing in high availability for websites.
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      You can use php 5.3.x if you have Evolution 1.0.5, granted some addons not included by default may not work properly. Revolution on the other hand should work better with php 5.3.x.

      The latest versions of php 5.2.x should be fine for either version of MODX. The latest version are 5.2.17 and 5.3.5. Your hosting company may be one version behind, if more than 3 versions behind you may want to prompt them to update.

      The settings used (default php.ini) are up to the hosting company, but in most cases you can change them for your site(s) using htaccess, or a custom php.ini file.
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 34397
        • 1 Posts
        Quote from: sottwell at Jun 19, 2010, 07:03 AM

        Ah, of course! My apologies; you definitely need to restart the Apache server after changing the php.ini file!
        Thank you very much. I was having problems with our server & it was as simple as that. Can’t believe that I missed it.
          • 34344
          • 2 Posts
          Oh my god I’ve been looking for a solution to this for the past 2 hours, thank god I ran into this thread!
          I know it’s an old post and it probably wont get read but thanks!!

          Quote from: dhagwood at Oct 14, 2009, 02:41 PM

          EVO 1.0.0
          WAMPSERVER 2.0 (XAMPP as well)
          Apache 2.2.1
          PHP 5.3.0
          MYSQL 5.1.36
          WIN XP Pro

          I had setup a local site and was working on converting a template. I had left for a few days and came back to work some more today. After making changes I chose SAVE+ContinueEditing. Checked my site and all styling was gone (no css) I took a real quick glance at the template. Chose SAVE+Close and refreshed site, still no CSS. I looked at the template again and noticed that there were extra back slashes EVERYWHERE. I cleaned up the template and tried again - no change. Still no CSS. Looked at template and a single backslash had been inserted anywhere there was a single or double quote mark. I did a SAVE+ContinueEditing and looked again. The single slash multiplied to 3. Repeated and slash multiplied to 7, then 15, then 31, etc...

          <!DOCTYPE html PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">
          <html xmlns=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"http://www.w3.org/1999/xhtml\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">
          
          <head>
          	<title>[(site_name)] | [*pagetitle*]</title>
          
          	<meta http-equiv=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Content-Type\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" content=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"text/html; charset=iso-8859-1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" />
          
          	<link rel=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"stylesheet\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" href=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"[(base_url)]assets/templates/default/site.css\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" type=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"text/css\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" media=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"screen\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" />
                  <base href=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"[(site_url)]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" />
          
          <!--[if lte IE 6]>
          
            <style type=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"text/css\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" media=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"screen, tv, projection\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">
                  body { behavior: url(assets/js/csshover3.htc); } /* hover:anything support */
                  #content { margin-left: 22px; } /* to avoid the BMH */
                  a,  a:link { border-bottom-style: solid } /* becuase IE just doesn\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'t dot */
            </style>
          
            <script type=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"text/javascript\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" src=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"assets/js/sleight.js\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"></script>
          
          <![endif]-->
          
                  </head>
          <body>
          
          <div id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"page\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">
          
          
          <div id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"header\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">


          Anyone have any idea what I may have done, what’s going on? I tested klonopin side effects with fresh installs using both WAMPSERVER and XAMPP. With default template and others.

          Any help insight greatly appreciated.

          EDIT - behavior same with SAVE+Close and SAVE+AddAnother
            • 40854
            • 4 Posts
            hello,

            I facing with the same problems, with my site, they moved me to another server and start to multiply the backslash, also the pictures start to disappear.
            My progammer is out for two months and I try with a friend to remediatte for the moment ...

            <div id=\\\\\\\\\\\\\\\"ditto_paging\\\\\\\\\\\\\\\">
            <p id=\\\\\\\\\\\\\\\"ditto_page_info\\\\\\\\\\\\\\\">Articolele <strong>[+start+]</strong> - <strong>[+stop+]</strong> din <strong>[+total+]</strong> | Pagina <strong>[+currentPage+]</strong> din <strong>[+totalPages+]</strong></p> <div
            id=\\\\\\\\\\\\\\\"ditto_pages\\\\\\\\\\\\\\\"> [+previous+] [+pages+] [+next+] </div>
            </div>

            you have an ideea for a solution ?

            Thank you in advance !

            HGabriel
              • 40854
              • 4 Posts
              PS. Sorry , I forgot to attach the file !

              Thanks

              HGabriel
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Again, if you read the previous posts, it's a problem with the magic_quotes_gpc setting in your server's php.ini settings. If you don't understand how to fix this yourself, contact your hosting's tech support. They need to help you turn the magic_quotes_gpc setting to 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
                  • 40854
                  • 4 Posts
                  Thank you, I will try ...hope to be ok !

                  Many thanks again !

                  HGabriel, Bucharest , Romania
                    • 40854
                    • 4 Posts
                    Hello, I fix the problem with the magic_quotes_gpc and thanks for your answer !
                    still remain a problem with a link : the descrition of the link remain the same but from time to time the banner alocated to the link dissapear , remain only a quadrat with a small red cross in a corner . I have to renew the link once - two times per day ! the same link I rewrite again and again and after a time appear the problem ! how I can fix the issue ?

                    hgabriel