We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17284
    • 54 Posts
    Sorry, I had to take a break from this for a few days.

    I don't use phpmyadmin, but i can check the users table.

    I think for some reason it's not clear when I say I am running a dev site, the ONLY imported thing is the db, period. And yes, I downloaded the db. I can gzip it to make sure to trigger the binary transfer mode in the ftp client I guess, but last time I did this, it was a gz file for the sql.

    I'll give this another try, however, I can't do all the steps of the move site procedure because all I am doing is importing the db, but i can retest that.

    As for the sites being exactly the same, re php/mysql etc, give that some thought, what if someone has to move their site? Ummm... problem, no? Big problem, the only server with the exact configuration will be the server the site is on in almost all cases.

    Let me check these things:

    the login user the site claims does not exist is present in the db table modx_users, as of course it has to be since I imported the directly via mysql.

    However, I am noting that the rest of the site is also blank, so I'm going to try some other procedures I've learned from the past failures.

    The problem is not in resetting the password, it's there in the db, hashed.

    However, I will again expand the upgrade cheat sheet I've made, and see if there is a step that is required, but given that if we ever had to move the site to a new server this stuff could bite us again, it's not frankly a risk I want to take.

    On the plus side, had to do some updates etc today on the live site, and again, I am saddened by the fact that modx met our needs so well on the feature level, it's really almost ideal, if not totally ideal, and I kind of doubt any of the other cms will meet these requirements as well, since I had picked modx from the start to meet them over the others out there. Love the templating, the chunks, the snippets, the friendly url handling, the ease of creating stuff for the site without changing a character of the core programming, so many pluses with modx, but this update / portability issue has been an issue for me ever since I first installed and ran evolution, in fact, I now approach each update/upgrade with terror, and that just isn't going to work.

    So I know that portability of the software is now a core requirement for a cms, annoying but there it is. But I am an optimist, and will continue to see if I can beat this issue back somehow or other, by either trying again things that have not worked in the past, or trying things that might work now, always a gamble though.

    On the bright side, I totally redid the man page for my favorite project, and did a lot of other changes which people seemed to like, so I guess I can dip back into the more frustrating part of the world again for a bit.

    thanks for taking a look though.

    It may be possible that one simply cannot just import the db, odd as that seems to me, but I can admit I am beaten. But for dev purposes, I have to be able to run the site on my local server, and it's not practical to maintain the exact lamp or fbamp setup for each and every web site I do, never needed it ever before, that's a bit too much for me, to bill clients for that type of thing I'd have to increase my hourly rates by about 50% or so to justify the time.

    But let's see if something really obvious shows, the only way I can really face these issues is by believing there is a solution.

    Client has already agreed to move on from modx but I think he's not aware of the large cost involved in such a move, and I do actually like it, when it doesn't do something like not work or not upgrade or whatever
      • 9207 ☆ A M B ☆
      • 2,475 Posts
      Again, if you grant me access to your servers, I'd love to take a look at this. I think your cutting corners is getting you per my other post.

      If portability is a core requirement for a CMS, WordPress is doomed....
        • 17284
        • 54 Posts
        As I suspected, php/mysql/apache version didn't matter, so in general you can sort of de-emphasize that, and think about it, how could it? If you move a site to new server, it will almost always by definition have a new version of lamp/bamp (bamp=bsd amp, or, shudder, wamp).

        Persistence paid off, redid the entire process, resetup the site, totally cleared the cache directory (not just the resource/web/resources) prior to the re-setup, manually deleted the sessions, fixed some permission errors that modx had failed to check for (index.php needed to be writable), then the site was back and running and manager login now works, and pages show. Whew.

        Basically re cutting corners, what i've done on every test / import of remote db, is fully document the steps, and add to them, with the goal of either getting a rock solid process in place, that I can just do mindlessly and reliably, or moving, with large regrets from modx.

        My cheat sheet has several times more checks and tests than your move to a server page by the way.

        I believe the steps are now I hope and pray complete enough to actually deliver consistent upgrades/db syncs, it looks good to me so far.

        Glad I didn't follow a few session handling suspicions I had, those would have just confused matters more.

        A few tips in this thread pointed me in the right direction, which was my goal in posting, when I post for help, it means i have exhausted all other avenues and google and rtfm has failed.

        Now i can proceed to actually file a bug report we found today, totally non related. Where do I do that?

        It's an easy bug to fix, but it's a quite serious one if you trigger it, which we did by chance.

        I think what I'll do re modx is this:
        wait for next upgrade / db sync step, run my cheat sheet of steps, see if success, then relax if no issues, since all I really want or need is a reasonably relaxed upgrade procedure, that I can actually bill my clients for without eating the hours, and after all, billing clients for the life of the site to apply upgrades is one big bonus of running a cms over a simpler system in the end for us web devs, if we're honest about it.

        thanks a lot for looking at this, while some of the suggestions I knew almost for sure could not be the cause, eventually if enough eyes look and fingers type, someone is going to note something that makes one click and find the issue, that's what happened with my other unrelated issue on my system the last few days as well. [ed. note: lizardx last edited this post 14 years, 3 months ago.]
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          Glad you figured it out. I'm surprised that the index.php file had to be writable... that can be dependent on your environment, I suspect. Re-running the setup is important because it re-runs the various environment tests -- it's possible doing that step would have alerted you to a problem with permissions. Permissions problems can often cause white-screens in the manager.

          File bugs here: http://tracker.modx.com/
            • 17284
            • 54 Posts
            I almost missed the error message on the second to last step step by the way, it didnt' stop the setup process, just printed on the top of the page, luckily it reappeared on the back button history, and I reran that step until I found the issue and fixed it, definitely didn't want any more unknowns or variables in the process.

            For me, once I get the cheat sheet steps so reliable that I can do them without much thinking and have it work, I'm totally satisfied, I don't care how long the sheet gets at all, just that it works consistently.

            I'll file the bug report, thanks.

              • 3749
              • 24,544 Posts
              lizardx, I'm sure a lot of people would love to see your cheat sheet (me included). wink



              ------------------------------------------------------------------------------------------
              PLEASE, PLEASE specify the version of MODX you are using.
              MODX info for everyone: http://bobsguides.com/modx.html
                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
                • 17284
                • 54 Posts
                It's full of the copy and paste paths and code and passwords and so on, and needs to be updated to actually reflect the entire process, after having been done a few times totally successfully, but sure, that's a reasonable thing, after a few more updates, I can make an examplified copy.