We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7966
    • 90 Posts
    I am moving a WP website to modx revo 2.1.3. I migrated the resources data.

    The problem is when I open a resource and click the View, a "about:blank" is opened, or if I try to browse the URL manually, I get "Page not found" error. OR [[~[[+id]]]] don’t bring any data at all.

    If I save the resource, everything works as it should be.

    I did the same thing in previous Revo version, and it worked without any problem.

    Is there any change in 2.1.3 version that I need to address when manually filling the content table in modx?

    Thank you

      • 25663 MODX Staff
      • 12,272 Posts
      No MODX release has had a preview (before the document was saved) feature. You have to save first and it’s why "Preview" was renamed "View" in recent releases. Sorry for the confusion it caused.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 7966
        • 90 Posts
        Quote from: rthrash at Jul 26, 2011, 09:59 PM

        No MODX release has had a preview (before the document was saved) feature. You have to save first and it’s why "Preview" was renamed "View" in recent releases. Sorry for the confusion it caused.

        Thank you Ryan. As I said, I have inserted the resources by sql to content table. Isn’t there a way to manually flag the resource as published without going through the SAVE process by hand. I tried to compare the "_content" table fields but haven’t seen any difference yet. Any more ideas?

          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: dragona at Jul 27, 2011, 06:01 AM

          Quote from: rthrash at Jul 26, 2011, 09:59 PM

          No MODX release has had a preview (before the document was saved) feature. You have to save first and it’s why "Preview" was renamed "View" in recent releases. Sorry for the confusion it caused.

          Thank you Ryan. As I said, I have inserted the resources by sql to content table. Isn’t there a way to manually flag the resource as published without going through the SAVE process by hand. I tried to compare the "_content" table fields but haven’t seen any difference yet. Any more ideas?
          No, you cannot insert sql into tables in MODX Revolution and have things automatically show up; I recommend writing scripts to create new Resources using the processors versus writing raw SQL. There is business logic associated with the objects in MODX that is performed by code and that needs to be executed, validation, and more that you cannot trigger from the database alone.

          That said, you can clear the cache in the manager after inserting your SQL and if your values are all good, it might work.
            • 7966
            • 90 Posts
            Thank you Jason.

            I moved 2 more sites to modx 2.x version before, and it did work but no luck this time. I tried also cache cleaning but it didn’t help.

            I will have to click the save button as a temporary solution for now. Anyway thanks again.