Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fergus Davidson 309 posts 586 karma points
    Apr 03, 2013 @ 12:57
    Fergus Davidson
    0

    Multiple root nodes and shared content

    I have a site which we have recently upgraded from 4.7.2 to 4.11.5.

    the site is in 5 languages, each with its own tree, hostname, domain and so on.

    There is also a tree [no hostname] used for shared content e.g. global distributor points for a map. the JSON content is generated via a template www.site.com/distributors.aspx which was previously accessible from all sites.

    Since the upgrade, i am getting an error on trying to access this page and other pages which provide similar data for all the sites.

    i have tried changing the 'useDomainPrefixes' to true/false with no joy.

    is jumping from tree to tree prevented in some new way in later versions? can i still do this?

     

    any pointers greatly appreciated.

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Apr 03, 2013 @ 22:32
    Jan Skovgaard
    1

    Hi Fergus

    What is the error message you see?

    the useDomainPrefixes setting is only relevant for sites setup with a hostname.

    I suppose you're using uComponents? Have you upgraded uComponents as well?

    Looking forward to hearing from you.

    /Jan

  • gary 385 posts 915 karma points
    Apr 03, 2013 @ 22:37
    gary
    1

    Hi Fergus

    This may be an issue with the code you are using to call those pages, there have been some changes to calls in razor, (sorry don't use webforms so can't comment) but lets say that some of the traversing is different.

    It may be worth a having a look to establish the root cause, it would be good to eliminate that first as my first thought would be there has been minmal change to site / tree structure in the update you have carried out.

    Regards G

     

  • Fergus Davidson 309 posts 586 karma points
    Apr 03, 2013 @ 22:51
    Fergus Davidson
    0

    Thanks for the responses so far Jan and Gary

    i am using webforms and xslt, no razor.

    even trying to access the pages directly gives an error. 'start index cannot be less than zero...'

    i am using uComponents, yes, which has been upgraded to 5.4.1 - could it be something uComponents do you think?

    there are 5 language sites accessed using hostnames and then 2 'node-trees' which contain other information which was previously shared, being accessible to all sites. these 'trees' do not have hostnames assigned - i wonder if there is some change to the hostname func.

    a workaround, which is not ideal, is currently to access the nodes using their id [www.site.com/12345.aspx] which works, but is not a good permanent fix for my situation.

    a second workaround, which is slighly better, is assigning www.site1.com/repo, www.site2.com/repo, etc... as hostnames [an entry for each language site] to this other folder. this now gives me access to the folder using the node names, but has inserted a level [repo] into the url.

    i can work with one of these workarounds for the moment, but it would be good to know if there is a setting that i am missing that would make it all 'just work' as it once did.

    thanks for your comments - any other ideas?

  • gary 385 posts 915 karma points
    Apr 03, 2013 @ 23:21
    gary
    0

    Hi Fergus

    Will pass this for Jan, he is the man for webforms, xslt etc.

    On a general basis, your error for start index cannot be less than zero maybe the key, is it worth do a web config compare to the old site to see if there is a reference missing somewhere?

    Have you a redirect on the domains that has been over-written during the upgrade?

    Many times I have done something in a config, forgotten it and it only comes to light when over-written.

    Hope Jan can help you a bit more. good luck

    G

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies