We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18961 ☆ A M B ☆
    • 237 Posts
    Yes, that’s the problem. It works for everyone else and no one seems to have a problem like I’m having. It’s a mystery and it’s going to cause me to uninstall Revo and start the build over in Evo. It’s bumming me out but no one has a clue or an answer.

    I really appreciate you trying!
      Michael Smull
      http://www.bigpixelstudio.com
      twitter: @mdsdesign
      • 8609
      • 607 Posts
      I haven’t been able to replicate this error on my setup. I think you’ve mentioned you’ve tried installing on a different server and get the same problem? If not, could you try a different server, a completely different environment, and see if you get the same error.

      One other thing I can think of is what other snippets or extras do you have installed and working? It might be a conflict or something? I looked at your error log and see something seems to be throwing a lot of recursion errors. I think I saw a thread about that around here, will try to dig it up, there may be a clue there.
        • 18961 ☆ A M B ☆
        • 237 Posts
        I tried it on another server and that is the only snippet running and I got the same error. The server is in a different location, different provider, etc.

        Thanks.
          Michael Smull
          http://www.bigpixelstudio.com
          twitter: @mdsdesign
          • 26533
          • 1 Posts
          I found that I was getting similar results when I was trying to use the getResources snippet on resources which were not published.
            • 18961 ☆ A M B ☆
            • 237 Posts
            I gave up, uninstalled Revo and built the site using Evo. I’m very excited about what I see in Revo, but it was missing some important items that I promised my client including front end editing. I hear someone is working on it, but I needed to get my site going. I had no luck with getResources and no one here was able to help either. It was quite frustrating.

            I’ll move to Revo next year after it’s really been put through it’s paces. I’m sure it will be fantastic.
              Michael Smull
              http://www.bigpixelstudio.com
              twitter: @mdsdesign
              • 22019
              • 390 Posts
              There is a &debug=`1` parameter you can add to getResources that will output the database query that it’s attempting to run. Might be worth having a look at some point if you revisit.
                Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
                • 28397
                • 1 Posts
                I just had a very same issue. [[getResources]] is completely blank, but [[getResources? &parents=`0`]] works.
                  • 16059
                  • 22 Posts
                  Quote from: stasha at Oct 02, 2010, 08:18 PM

                  I just had a very same issue. [[getResources]] is completely blank, but [[getResources? &parents=`0`]] works.

                  I also have this issue.. only [[getResources? &parents=`0`]] seems to get some output on the screen. When I add debug=`1`, I get this;

                  [2010-10-06 08:46:51] (ERROR @ /modx/index.php) SELECT `modResource`.`id`, `modResource`.`type`, `modResource`.`contentType`, `modResource`.`pagetitle`, `modResource`.`longtitle`, `modResource`.`description`, `modResource`.`alias`, `modResource`.`link_attributes`, `modResource`.`published`, `modResource`.`pub_date`, `modResource`.`unpub_date`, `modResource`.`parent`, `modResource`.`isfolder`, `modResource`.`introtext`, `modResource`.`richtext`, `modResource`.`template`, `modResource`.`menuindex`, `modResource`.`searchable`, `modResource`.`cacheable`, `modResource`.`createdby`, `modResource`.`createdon`, `modResource`.`editedby`, `modResource`.`editedon`, `modResource`.`deleted`, `modResource`.`deletedon`, `modResource`.`deletedby`, `modResource`.`publishedon`, `modResource`.`publishedby`, `modResource`.`menutitle`, `modResource`.`donthit`, `modResource`.`haskeywords`, `modResource`.`hasmetatags`, `modResource`.`privateweb`, `modResource`.`privatemgr`, `modResource`.`content_dispo`, `modResource`.`hidemenu`, `modResource`.`class_key`, `modResource`.`context_key`, `modResource`.`content_type` FROM `modx_site_content` AS `modResource` WHERE ( ( `modResource`.`parent` IN (1) AND (`modResource`.`context_key` IN (’web’) OR EXISTS(SELECT 1 FROM `modx_context_resource` `ctx` WHERE `ctx`.`resource` = `modResource`.`id` AND `ctx`.`context_key` IN (’web’))) ) AND `modResource`.`deleted` = ’0’ AND `modResource`.`published` = ’1’ AND `modResource`.`hidemenu` = ’0’ ) ORDER BY publishedon DESC LIMIT 5
                    • 3950
                    • 1 Posts
                    I was having the same issues as above but was able to get it working by deselecting the "hide from menu" option.
                      • 28626
                      • 87 Posts
                      Didn’t it work by just using instead of removing the hide from menu option?

                      &showHidden=`0`