We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4749
    • 623 Posts
    This is a strange error. I don’t know where to begin - I can access the button just fine in my office, but the client lives in another state. When they try to access the "manage pictures" button they get the URL NOT FOUND error page. Any clue as to what would cause this?
      The MODx has you...
      Utah Web Design
      • 7231
      • 4,205 Posts
      Did you recently move the site? Could there be a path to an old server someplace?
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 4749
        • 623 Posts
        I wondered about that, but no it hasn’t been moved - just modxified. I looked at all the settings and they seem to be good, but I was actually doing that at the moment. I’ll keep looking.
          The MODx has you...
          Utah Web Design
          • 3749
          • 24,544 Posts
          Quote from: cbaone at Aug 05, 2008, 06:05 PM

          This is a strange error. I don’t know where to begin - I can access the button just fine in my office, but the client lives in another state. When they try to access the "manage pictures" button they get the URL NOT FOUND error page. Any clue as to what would cause this?

          Look at the url displayed when you hover over the "manage pictures" button and have your client do the same. That might give you some clues.
            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
            • 4749
            • 623 Posts
            Yeah, I thought of that already, but nothing shows up whether it’s working or not.
              The MODx has you...
              Utah Web Design
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              If it’s a javascript thing, your client’s browser may be harboring a cached version of the javascript, complete with outdated URLs. I’ve had that happen a couple of times.
                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
                • 4749
                • 623 Posts
                Yep, tried that too!  wink

                What’s weird also is that the TinyMCE toolbar is below the content instead of above!?!? Weird stuff.

                EDIT: I just added custom settings in the user tab and TinyMCE is now working fine, but the Manage Pictures button is still not working. Anything else I should be looking for or trying?
                  The MODx has you...
                  Utah Web Design
                  • 4749
                  • 623 Posts
                  OK, I found something that may be a problem, but not sure how to fix it. In the source I find that the url is like this:
                  <script type="text/javascript" src="/~clientbox/assets/snippets/maxigallery/slimbox/js/mootools.js"></script>


                  ~clientbox was from the development server why is MG showing that? In the Configuration settings it’s:

                  /home/clientbox/public_html/

                  Where is the tilde coming from? Shouldn’t it be:
                  <script type="text/javascript" src="/clientbox/assets/snippets/maxigallery/slimbox/js/mootools.js"></script>


                    The MODx has you...
                    Utah Web Design
                    • 7923
                    • 4,213 Posts
                    MaxiGallery is building that address (and most of the adresses that the snippet uses) by using:

                    $modx->config[’base_url’] . MAXIGALLERY_PATH . ’slimbox/js/mootools.js’;

                    So the $modx->config[’base_url’] seems to be giving wrong url in your environment. The variable is "autocalculated" in /manager/includes/config.inc.php and might be giving wrong url.. you could try to set it in the file manually, if that’s the problem.


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 4749
                      • 623 Posts
                      I already fixed that... So, with or without the ~ it’s still not working on their end. I’ve tried everything that I can think of without success. I strongly believe it is something on their end, but cannot put my finger on it. I’ve had them clear their cache, use a different machine, browser and connection, but still doesn’t work. Any other ideas?
                        The MODx has you...
                        Utah Web Design