We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Hey guys,

    My client has a site built on 0.9.6.2p2 with no obvious bespoking to the core code setup / install - will an upgrade to 1.0.8 be a simple process with no known issues? Seems all web hosting companies are moving from PHP 5.2 to 5.3 now and 0.9.6.2p2 does not work well on 5.3!

    If the upgrade is an easy job, I think its worth doing but not sure as not done one before...

    Please advise anyone who has done it?

    Cheers
      • 33969
      • 60 Posts
      I have upgraded from Evo 0.9.6.2.2p2 to Evo 1.0.5 with no problems.

      As far as I know there isn't much difference between 1.0.5 and 1.0.8 -- I wouldn't anticipate any problems with the update.

      However, I did have one problem with one hosting service setup. They updated to PHP 5.3 but left magic-quotes turned on and didn't allow us to turn it off in the php.ini file. The work around is to change the /manager/index.php starting at line 89:

      Change:
      if (version_compare(phpversion(), "5.3") < 0) {
          @set_magic_quotes_runtime(0);
      
          // include_once the magic_quotes_gpc workaround
          include_once "quotes_stripper.inc.php";
      }


      to:

      if (version_compare(phpversion(), "5.4") < 0) {
          @set_magic_quotes_runtime(0);
      
          // include_once the magic_quotes_gpc workaround
          include_once "quotes_stripper.inc.php";
      }


      Not exactly Kosher, but it works. The information is on the bug tracker page http://tracker.modx.com/issues/3724

      However, it definitely needs to be done, we had to 'rescued' a site for another developer who didn't do the update. His client's site went down when the hosting service updated to PHP 5.3.
        Michael Regan
        TIMR Web Services
        Phone: 250.218.5284
        Eamil: [email protected]
        Website: timr.ca