We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22887
    • 51 Posts
    I personally couldn’t find it in Bèta 2. Right clicking on a context only gives you the option to edit it, but not do duplicate it.
    But the thing I was mainly looking for is to copy a web document directly to another context. So that it’s easier to keep both contexts up to date after the duplication script has been executed and new web documents have been added.

    But for my assignment it’s most important that the login issue gets resolved, because of the required stability of the system.
    And about that context cache issue: is it something I do wrong? Or is it something in the Revolution bèta?
      • 16183
      • 1,390 Posts
      Quote from: paz at Jul 23, 2009, 03:02 AM

      In general, I’m a big fan of Revolution as it’s now already.
      However, there are a few things that bother me:

      1. The tree: In my humble opinion it’s really annoying that the tree keeps closing and re-opening on every page load. I also don’t think that for example the Web Resources part should automatically close, when I want to have a look at my Content Elements, because there will be times that I need information from both.

      This issue has been resolved in the SVN version ( I don’t know when the relevant beta will be released).


      2. Sudden crashes: For some unknown reason, the system crashes for me after the slightest change. Whether it’s simply adding a new CE, or changing a System Setting. At first nothing seems to be wrong, but when I log out and try to log in again, I don’t get past the login screen. To restore that, I have to completely re-install Revolution (I mentioned this in the FAQ topic, but it seems like my posts got lost after all the questions that followed).

      Hmm, this has never happened to me...but then, I use the SVN version and our server environments. might be different.

      Oh, I think you raise some interesting points here but we’ve actually hijacked someone else’s thread! wink

      cheers/k
        • 22887
        • 51 Posts
        Quote from: kongondo at Jul 23, 2009, 05:32 AM

        2. Sudden crashes: For some unknown reason, the system crashes for me after the slightest change. Whether it’s simply adding a new CE, or changing a System Setting. At first nothing seems to be wrong, but when I log out and try to log in again, I don’t get past the login screen. To restore that, I have to completely re-install Revolution (I mentioned this in the FAQ topic, but it seems like my posts got lost after all the questions that followed).

        Hmm, this has never happened to me...but then, I use the SVN version and our server environments. might be different.

        That could be, although I have to say I’ve tried it on 3 separate online environments and 2 offline ones. On all 5 I’ve experienced the same problem. ’Though I’ve only used my offline versions for Bèta 2.

        Quote from: kongondo at Jul 23, 2009, 05:32 AM
        Oh, I think you raise some interesting points here but we’ve actually hijacked someone else’s thread! wink

        Thanks, I just want to see this become the best possible solution for my assignment. It’s supposed to help me get my Bachelor’s Degree, so it would be great if it could be as close to perfect as possible.

        And I apologize for hijacking the topic smiley
        I never intended to.
          • 16183
          • 1,390 Posts
          Quote from: paz at Jul 23, 2009, 05:48 AM


          Thanks, I just want to see this become the best possible solution for my assignment. It’s supposed to help me get my Bachelor’s Degree, so it would be great if it could be as close to perfect as possible.

          Understandably....


          And I apologize for hijacking the topic smiley
          I never intended to.

          No sweat wink I’m guilty of this all the time wink

          cheers/k
            • 28215
            • 4,149 Posts
            Quote from: paz at Jul 23, 2009, 03:02 AM

            1. The tree: In my humble opinion it’s really annoying that the tree keeps closing and re-opening on every page load. I also don’t think that for example the Web Resources part should automatically close, when I want to have a look at my Content Elements, because there will be times that I need information from both.
            Well, there’s a few issues here - just expanding it and leaving it open (a la, panels), would create some issues as well as solve them. The main one is real estate. If you have a lot of Resources in your resource tree, it gets pretty tall. So if I want to open the Element tree, I have to scroll quite a bit if the Resource tree stays open. Would the 3 tree panels then have to have a maximum height, with scroll bars? This, to me, is not optimal.


            2. Sudden crashes: For some unknown reason, the system crashes for me after the slightest change. Whether it’s simply adding a new CE, or changing a System Setting. At first nothing seems to be wrong, but when I log out and try to log in again, I don’t get past the login screen. To restore that, I have to completely re-install Revolution (I mentioned this in the FAQ topic, but it seems like my posts got lost after all the questions that followed).
            You’re going to have to provide us with some server environment information, browser information, and more for us to debug this. This sounds like a PHP or Apache configuration error on your server’s end; I have never experienced this behavior in my multiple environments.


            3. Context cache: The main reason for me to use Revolution, is because I need a system where I can manage the content of several websites with the same layout and technical aspects, but with different texts (in different languages). But now, when I have two domains (domainA.com and domainB.com) with two contexts (domA and domB) I can edit both sites from 1 manager, BUT... I still need to have the manager on both domains. Because when my manager is on domainA.com, and I make an adjustment in domB, I still can’t see the changes on the site. If I also add the manager folder to domainB.com, and I edit it there, or clear the cache there, THEN I will see the changes. Now I’d asume that this is something that still needs to be fixed, but it would be nice if someone could confirm that for me.

            Again, you’ll have to provide more information about how you set these up. Did you set them up on a shared core? If not, this scenario wont work. Are they sharing a database, or using 2? If they’re using 2, this scenario wont work.
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 28215
              • 4,149 Posts
              Quote from: paz at Jul 23, 2009, 05:15 AM

              In addition, there’s also one feature that I’d really like to see get slightly adjusted and that’s the function to duplicate web documents.
              Right now, when you try to duplicate a document, it immediately makes a Duplicate of [name] (with the option to give a new name) in the same context.
              What I’d prefer, is to also select which context you want to duplicate the document to. Then if you duplicate the document Home in domA, it can also be called Home in domB (as long as there isn’t a page called Home with the same parent).
              Please file a feature request in JIRA at http://bugs.modxcms.com/

              Also, if you want a Duplicate Context option, please file a separate feature request for that, as well.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 22887
                • 51 Posts
                Quote from: splittingred at Jul 23, 2009, 08:11 AM

                3. Context cache: The main reason for me to use Revolution, is because I need a system where I can manage the content of several websites with the same layout and technical aspects, but with different texts (in different languages). But now, when I have two domains (domainA.com and domainB.com) with two contexts (domA and domB) I can edit both sites from 1 manager, BUT... I still need to have the manager on both domains. Because when my manager is on domainA.com, and I make an adjustment in domB, I still can’t see the changes on the site. If I also add the manager folder to domainB.com, and I edit it there, or clear the cache there, THEN I will see the changes. Now I’d asume that this is something that still needs to be fixed, but it would be nice if someone could confirm that for me.

                Again, you’ll have to provide more information about how you set these up. Did you set them up on a shared core? If not, this scenario wont work. Are they sharing a database, or using 2? If they’re using 2, this scenario wont work.

                What I did here was:
                1. Install Revolution on the company’s testserver.
                2. Get a site up and running.
                3. Duplicate the context and its web documents.
                3. Copy the core and connectors folders to a new folder, for the second context.
                4. Change the copied index.php, to have it initialize the second context.

                Note: they do share the same database.

                From what you said, I understand that I can somehow get them to share the core? Could you tell me how I can do that?

                As for the other post: I’ve asked for the server information, so I’ll get that up once I get it.
                  • 22887
                  • 51 Posts
                  Quote from: splittingred at Jul 23, 2009, 08:11 AM

                  2. Sudden crashes: For some unknown reason, the system crashes for me after the slightest change. Whether it’s simply adding a new CE, or changing a System Setting. At first nothing seems to be wrong, but when I log out and try to log in again, I don’t get past the login screen. To restore that, I have to completely re-install Revolution (I mentioned this in the FAQ topic, but it seems like my posts got lost after all the questions that followed).
                  You’re going to have to provide us with some server environment information, browser information, and more for us to debug this. This sounds like a PHP or Apache configuration error on your server’s end; I have never experienced this behavior in my multiple environments.

                  I’m pretty sure it’s no browser issue, because it happens with both IE 7 and FireFox 3.

                  I wasn’t quite sure what server info you wanted, but since you mentioned Apache, I put up the Apache environment.
                  [table][tr][td]HTTP_HOST[/td] [td]server[/td][/tr]
                  [tr][td]HTTP_USER_AGENT[/td][td]Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.0.12) Gecko/2009070611 Firefox/3.0.12[/td][/tr]
                  [tr][td]HTTP_ACCEPT[/td][td]text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[/td][/tr]
                  [tr][td]HTTP_ACCEPT_LANGUAGE[/td][td]nl,en-us;q=0.7,en;q=0.3[/td][/tr]
                  [tr][td]HTTP_ACCEPT_ENCODING[/td][td]gzip,deflate[/td][/tr]
                  [tr][td]HTTP_ACCEPT_CHARSET[/td][td]ISO-8859-1,utf-8;q=0.7,*;q=0.7[/td][/tr]
                  [tr][td]HTTP_KEEP_ALIVE[/td][td]300[/td][/tr]
                  [tr][td]HTTP_CONNECTION[/td][td]keep-alive[/td][/tr]
                  [tr][td]HTTP_COOKIE[/td][td]ys-modx_element_tree=s%3A/root/n_type_snippet/n_snippet_category_6/n_snippet_element_4476_6; ys-modx_resource_tree=s%3A/root/testa_0; ref=server; modxcmssession=d9af617e2a0f1692ee2f1a6461618148; PHPSESSID=db8ab2737f16d7027522f112e4cb79e8[/td][/tr]
                  [tr][td]PATH[/td][td]/usr/local/bin:/usr/bin:/bin[/td][/tr]
                  [tr][td]SERVER_SIGNATURE[/td][td]<address>Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at server Port 80</address>[/td][/tr]
                  [tr][td]SERVER_SOFTWARE[/td][td]Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c[/td][/tr]
                  [tr][td]SERVER_NAME[/td][td]server[/td][/tr]
                  [tr][td]SERVER_ADDR[/td][td]10.0.0.8[/td][/tr]
                  [tr][td]SERVER_PORT[/td][td]80[/td][/tr]
                  [tr][td]REMOTE_ADDR[/td][td]10.0.0.76[/td][/tr]
                  [tr][td]DOCUMENT_ROOT[/td][td]/var/www/[/td][/tr]
                  [tr][td]SERVER_ADMIN[/td][td]webmaster@localhost[/td][/tr]
                  [tr][td]SCRIPT_FILENAME[/td][td]/var/www/phpinfo.php[/td][/tr]
                  [tr][td]REMOTE_PORT[/td][td]53523[/td][/tr]
                  [tr][td]GATEWAY_INTERFACE[/td][td]CGI/1.1[/td][/tr]
                  [tr][td]SERVER_PROTOCOL[/td][td]HTTP/1.1[/td][/tr]
                  [tr][td]REQUEST_METHOD[/td][td]GET[/td][/tr]
                  [tr][td]QUERY_STRING[/td][td]no value[/td][/tr]
                  [tr][td]REQUEST_URI[/td][td]/phpinfo.php[/td][/tr]
                  [tr][td]SCRIPT_NAME[/td][td]/phpinfo.php[/td][/tr][/table]
                    • 22887
                    • 51 Posts
                    Quote from: paz at Jul 23, 2009, 08:29 AM
                    From what you said, I understand that I can somehow get them to share the core? Could you tell me how I can do that?

                    Never mind... I fixed that one myself.

                    Anything on the other subjects?
                      • 3749
                      • 24,544 Posts
                      When you can’t log in:

                      - Have you tried clearing the browser cache/cookies?

                      - Are there any errors in the MODx error log or the Apache error log?

                      - Have you looked in the DB with PhpMyAdmin to see if the admin username and password are still there?

                      - Can you always log out and back in if you *don’t* change anything on the site?

                      As splittingred says, it’s a really odd error. I’ve never seen it through many installs of Revo. Next time it happens, you might try deleting the contents of the core/cache directory.
                        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