We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36440
    • 87 Posts
    Quote from: waizen at Jul 08, 2011, 08:16 AM
    I just started getting this message whenever I save the resource or try to change the template:

    "An error occurred while duplicating the resource."

    ...whenever I try to create a new resource using Web>Create>Create a Document Here.

    The feature had been working okay and this error message just started coming up. I don't get the message if I create a resource using Web>Quick Create>Document.

    Has anyone out there encountered a similar thing? Thanks in advance.

    Revo 2.1.1
    PHP Version 5.2.17


    My client just reported this same error today out of the blue. I haven't tried/suggested a quick create just yet.
    Revo 2.1.3
    PHP 5.2.8


      • 9102 ☆ A M B ☆
      • 318 Posts
      I have not seen this error since upgrading to 2.1.4.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I got this error once today with 2.2.0 rc1, yesterday's nightly build. I had already save the resource, then published it and saved again, getting that message. I finally just closed the form, and haven't had a problem with it since.
          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
          • 31053
          • 31 Posts
          For me, de-activating "cache_db" solves this issue.
            for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
            • 31902
            • 342 Posts
            Aw, crap... back to this problem again. For me, it was okay on several sites with 2.1.3 until today. I just got the error again.

            Looked into deactivating cache_db but it was already off by default. At least I think it's off...it is set to 'No' in the System Settings page. That is the 'off' position, right?

            Nothing about this error in the error log. Shouldn't there be?

            I had found this thread:

            https://forums.modx.com/index.php?topic=59838.0


            ...and wondered if the answer to the problem was buried in there.

            Revo 2.1.3
            PHP Version 5.2.17 [ed. note: waizen last edited this post 14 years, 9 months ago.]
              • 32507
              • 142 Posts
              In my case error occurs when i try to save (or choose template for) New Document before i choose Parent Resource.

              First error message is : "You do not have permission to create a Resource in this location.
              ". After that when i try to save document (even if Parent Resource is selected) i get the message "An error occurred..."?

              If i choose Parent Resource first, everything seems to work.

              Revo: 2.1.3

                • 28215
                • 4,149 Posts
                This has been fixed in Revo 2.2 and beyond, so upgrading is the best solution to fix this issue.
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • 31902
                  • 342 Posts
                  @splittingred

                  Shaun: I hope so but please refer to Susan's post above.

                  BTW: do you happen to know exactly what the issue was (is)? In my case, the problem happens when I install 2.1.3 on a certain server but seems pretty stable when I install on another one. However, I don't know what makes one server more stable than the other one in regards to this problem.

                  Thanks for responding.