We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Sorry for the repost, but I wasn’t getting anywhere in the other thread and the actual craziness at this point is mine.

    When I turn FURLs on in Revo, all my [[~id]] links are completely empty (<a href="">) when I do a "view source." At first I thought it had something to do with moving the core and renaming the manager, but it’s happening in a stock intall also (and happening locally and in a remote site). The link tags all work fine with FURLs off. With FURLs on or off all other tags are parsed correctly. I have no friendly URL prefix or suffix. Friendly aliases on, friendly alias path off (although I’ve tried all the other permutations -- all combos result in empty links). I have a <base href="[[++site_url]]"> tag.

    I can reach the pages with any of these using the standard .htaccess rewrite rules:

    mysite.com/4
    mysite.com/4.html
    mysite.com/index.php?id=4

    I can’t reach the pages with these:

    mysite.com/alias.html
    mysite.com/alias

    Hovering over any link gives the base URL of the site.

    Is anyone using FURLs with the current build?

    I’m out of stuff to try. :’(

      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
      • 22303 MODX Staff
      • 10,725 Posts
      Did you clear the cache after changing the setting? And I assume you renamed the .htaccess, etc., etc.
        • 3749
        • 24,544 Posts
        Quote from: OpenGeek at Mar 20, 2009, 09:36 PM

        Did you clear the cache after changing the setting? And I assume you renamed the .htaccess, etc., etc.

        Yeah, many times. A simple call in a snippet to $modx->makeURL(3) is also failing (where 3 is the id of a published document) and makeURL is returning an empty string:

        [2009-03-20 23:02:17] (WARN @ /wm-modx/index.php) `3` was requested but no alias was located.
        [2009-03-20 23:02:17] (WARN @ /wm-modx/index.php) `3` was requested but no alias was located.

        It looks like something is amiss with my aliasMap.
          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
          • 3749
          • 24,544 Posts
          Any idea what could make makeURL() fail?

            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
            • 22303 MODX Staff
            • 10,725 Posts
            Nope, I’m not having any problems here. Are you sure something else isn’t misconfigured? Check you context.cache.php file to see exactly how your aliases are generated into the context in question...
              • 3749
              • 24,544 Posts
              Quote from: OpenGeek at Mar 21, 2009, 04:00 PM

              Nope, I’m not having any problems here. Are you sure something else isn’t misconfigured? Check you context.cache.php file to see exactly how your aliases are generated into the context in question...
              I’m pretty sure something is misconfigured, but I don’t know what it could be.

              'aliasMap' => 
                array (
                ),


              aliasListing looks fine as does resourceListing.
                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
                • 22303 MODX Staff
                • 10,725 Posts
                $aliasListing should be the one with the aliases. $aliasMap would only apply if you had use_alias_path enabled.
                  • 3749
                  • 24,544 Posts
                  aliasListing looks normal to me, but makeURL() is still returning an empty string.

                  Here’s the whole context.cache.php file in case you can spot anything:

                  <?php  return array (
                    'config' => 
                    array (
                    ),
                    'resourceMap' => 
                    array (
                      0 => 
                      array (
                        0 => '1',
                        1 => '2',
                        2 => '3',
                        3 => '4',
                        4 => '5',
                        5 => '6',
                        6 => '7',
                        7 => '8',
                        8 => '13',
                        9 => '19',
                        10 => '15',
                      ),
                      5 => 
                      array (
                        0 => '10',
                      ),
                      15 => 
                      array (
                        0 => '16',
                      ),
                    ),
                    'resourceListing' => 
                    array (
                      1 => 
                      array (
                        'id' => '1',
                        'alias' => 'home',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      2 => 
                      array (
                        'id' => '2',
                        'alias' => 'quotes',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      3 => 
                      array (
                        'id' => '3',
                        'alias' => 'news',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      4 => 
                      array (
                        'id' => '4',
                        'alias' => 'verbs',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      5 => 
                      array (
                        'id' => '5',
                        'alias' => 'academic-buzzwords',
                        'parent' => '0',
                        'isfolder' => '1',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      6 => 
                      array (
                        'id' => '6',
                        'alias' => 'iaq',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      7 => 
                      array (
                        'id' => '7',
                        'alias' => 'hotlist',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      8 => 
                      array (
                        'id' => '8',
                        'alias' => 'hotfeeds',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      13 => 
                      array (
                        'id' => '13',
                        'alias' => 'show-quotations',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      19 => 
                      array (
                        'id' => '19',
                        'alias' => 'test',
                        'parent' => '0',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      15 => 
                      array (
                        'id' => '15',
                        'alias' => 'contact',
                        'parent' => '0',
                        'isfolder' => '1',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      10 => 
                      array (
                        'id' => '10',
                        'alias' => 'academic-card',
                        'parent' => '5',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                      16 => 
                      array (
                        'id' => '16',
                        'alias' => 'thankyou',
                        'parent' => '15',
                        'isfolder' => '0',
                        'content_type' => '1',
                        'path' => '',
                      ),
                    ),
                    'aliasMap' => 
                    array (
                    ),
                    'documentMap' => 
                    array (
                      15 => '16',
                    ),
                    'aliasListing' => 
                    array (
                      'home.html' => '1',
                      'quotes.html' => '2',
                      'news.html' => '3',
                      'verbs.html' => '4',
                      'academic-buzzwords/' => '5',
                      'iaq.html' => '6',
                      'hotlist.html' => '7',
                      'hotfeeds.html' => '8',
                      'show-quotations.html' => '13',
                      'test.html' => '19',
                      'contact/' => '15',
                      'academic-card.html' => '10',
                      'thankyou.html' => '16',
                    ),
                    'eventMap' => 
                    array (
                    ),
                    'pluginCache' => 
                    array (
                    ),
                  );
                    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
                    • 22303 MODX Staff
                    • 10,725 Posts
                    embarrassed

                    Bah, revision 4850 should fix it BobRay. My apologies...
                      • 3749
                      • 24,544 Posts
                      Quote from: OpenGeek at Mar 23, 2009, 09:40 PM

                      embarrassed

                      Bah, revision 4850 should fix it BobRay.  My apologies...

                      Thanks for getting on it.

                      Nice to know it’s not me. wink

                      Now if I can just figure out how to update my remote site with its separate core and renamed manager.  wink

                      Does the fix require a rebuild and install?
                        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