We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25519
    • 265 Posts
    Hi all

    Am i okay to upgrade a site from 0.9.6.3 straight to Evolution 1.01, or do i need to go to Evolution 1.0 and upgrade to 1.0.1 from there?

    I tried an upgrade test from 0.9.6.3 to Evolution 1.0.1 on a local copy of the site and it completely broke it.

    There are no exotic snippets/mods installed, not running PHx, it’s just a straight 0.9.6.3 install - here’s a list of snippets/plugins for reference:

    Snippets:
    * AjaxSearch (1) - 1.6 Ajax enabled search form with results highlighting.
    * AjaxSearch_NEW (17) - 1.8.0 Ajax Search Gizmo
    * Breadcrumbs (2) - 1.0.1 Configurable breadcrumb page trail navigation.
    * Ditto (3) - 2.1+ Summarizes and lists pages to create blogs, catalogs, PR archives, bio listings and more. Includes patches post-2.1 release to fix sorting bug and default display behavior.
    * eForm (4) - 1.4.4.5 Robust form parser/processor with validation, multiple sending options, chunk/page support for forms and reports, and file uploads.
    * FirstChildRedirect (5) - 1.0 Automatically redirects to the first child of a folder document.
    * Jot (6) - 1.1.4 User comments with moderation and email subscription.
    * ListIndexer (7) - 1.0.1 Shows the most recent documents, highly flexible.
    * MemberCheck ( - 1.0 Selectively show chunks based on logged in Web User’ group memberships.
    * NewsPublisher (9) - 1.4 Publish news articles directly from the web.
    * Personalize (10) - 2.0 Basic personalization for web users.
    * Reflect (11) - 2.1 Used with Ditto, creates archives of articles, blog entries, image galleries and more.
    * UltimateParent (12) - 2.0 beta - Travels up the document tree from a specified document and returns the "ultimate" parent.
    * Wayfinder (13) - 2.0 Completely template-driven menu builder that’s simple and fast to configure.
    * WebChangePwd (14) - 1.0 Web User Change Password Snippet.
    * WebLogin (15) - 1.0 Web User Login Snippet.
    * WebSignup (16) - 1.1 Web User Signup Snippet.

    Plugins
    * Bottom Button Bar (1) - Adds a set of buttons to the bottom of all manager pages
    * Forgot Manager Login (7) - Resets your manager login when you forget your password.
    * Forgot Manager Login (2) - Resets your manager login when you forget your password.
    * Image TV Preview (10) - 1.2.0.4 - Show preview of any images loaded into image Template Variables
    * Inherit Parent Template (3) - New docs automatically select template of parent folder
    * QuickEdit (4) - Front-end Content Editor.
    * Search Highlighting (9) - 1.3 - Show search terms highlighted on page linked from search results. (Requires AjaxSearch snippet)
    * Search Highlighting (6) - 1.2.1: Show search terms highlighted on page linked from search results. (Requires AjaxSearch snippet)
    * TinyMCE (5) - 2.1.2: TinyMCE RichText Editor Plugin
    * TinyMCE ( - 3.2.0.1: TinyMCE RichText Editor Plugin


    Thanks in advance
      • 25663 MODX Staff
      • 12,272 Posts
      "It completely broke it" means what? You might want to remove the duplicate copies of Search Highlighting, TinyMCE and Forgot Manager Login.

      You may also have environment differences locally compared to your server.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 25519
        • 265 Posts
        Sorry for non-specifics, completely broke means this:
        Warning: fopen(E:/Work/XamppServer/xampp/htdocs/Cult-Med/manager/media/style/MODxCarbon/login.html) [function.fopen]: failed to open stream: No such file or directory in E:\Work\XamppServer\xampp\htdocs\Cult-Med\manager\includes\accesscontrol.inc.php on line 129
        
        Warning: filesize() [function.filesize]: stat failed for E:/Work/XamppServer/xampp/htdocs/Cult-Med/manager/media/style/MODxCarbon/login.html in E:\Work\XamppServer\xampp\htdocs\Cult-Med\manager\includes\accesscontrol.inc.php on line 130
        
        Warning: fread(): supplied argument is not a valid stream resource in E:\Work\XamppServer\xampp\htdocs\Cult-Med\manager\includes\accesscontrol.inc.php on line 130
        
        Warning: fclose(): supplied argument is not a valid stream resource in E:\Work\XamppServer\xampp\htdocs\Cult-Med\manager\includes\accesscontrol.inc.php on line 131
        


        The local install was running in Xampp on winXP. Everything was fine - was able to import db dumps from the live version to keep up to date etc.

        What I did was run the 1.0.1 upgrade over the 0.9.6.3 and got the above. Is this advisable, or is the upgrade from 0.9.6.3 straight to 1.0.1 not poss?

        Thanks
          • 21257 MODX Staff
          • 730 Posts
          rootsdiv,

          Something looks off to me.
          That first error, which is coming from manager\includes\accesscontrol.inc.php, line 129
          says it’s looking for the file /manager/media/style/MODxCarbon/login.html.
          But that file exists in /assets/templates/manager/login.html, and the version of accesscontrol.inc.php from the 1.0.1 release looks in the correct location:
              $tplFile = $base_path.'assets/templates/manager/login.html';
          


          I don’t think that even an incorrect $base_path could produce the path that’s generating that error.

          I can only guess that some of the 1.0.1 files didn’t get replaced correctly overtop older files.
            Mike Schell
            Lead Developer, MODX Cloud
            Email: [email protected]
            GitHub: https://github.com/netProphET/
            Twitter: @mkschell
            • 25519
            • 265 Posts
            Thanks for the reply
            I can only guess that some of the 1.0.1 files didn’t get replaced correctly overtop older files.
            Sounds feasible, I’ll try it again on a backup of the original - but essentially, do you know if modx can upgrade safely from 0.9.6.3 to 1.01, or would I have to include 1.0 in between?
            (f.y.i. gotta skip from this machine for a few hours, will be back later though)
              • 10487 MODX Staff
              • 1,535 Posts
              do you know if modx can upgrade safely from 0.9.6.3 to 1.01, or would I have to include 1.0 in between?
              It’ll be fine to go from 0.9.6.3 to 1.0.1. Done some site upgrades recently that are from older versions than 0.9.6.3 wink
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com
                • 25519
                • 265 Posts
                Thanks garryn, that’s good to know.
                  • 18266
                  • 23 Posts
                  Hi, everybody!

                  I have exactly the same problem, unfortunately with my own live website (frontend is running):

                  Warning: fopen(/blablabla/manager/media/style/MODxCarbon/login.html) [function.fopen]: failed to open stream: No such file or directory in /kunden/78971_31139/manager/includes/accesscontrol.inc.php on line 129


                  The file doesn´t exist HERE, but in assets/templates/manager/, as line 129 in accesscontrol.inc.php says
                  $tplFile = $base_path.'assets/templates/manager/login.html';


                  Warning: filesize() [function.filesize]: Stat failed for /blablabla/manager/media/style/MODxCarbon/login.html (errno=2 - No such file or directory) in /blablabla/manager/includes/accesscontrol.inc.php on line 130
                  
                  Warning: fread(): supplied argument is not a valid stream resource in /blablabla/manager/includes/accesscontrol.inc.php on line 130
                  
                  Warning: fclose(): supplied argument is not a valid stream resource in /blablabla/manager/includes/accesscontrol.inc.php on line 131


                  ... ok, ok. mySQL version is 5.0.51, PHP is 4.4.8, Server is running on Linux
                    • 33337
                    • 3,975 Posts
                    skipjack66, Did you run the installer in Upgrade mode?

                    I cant think of a reason why its doing it since the required file and file path are in thier right place.
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 18266
                      • 23 Posts
                      Yes, I did.