Copied to clipboard

Flag this post as spam?

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


  • Jamie Gilbert 8 posts 39 karma points
    Nov 26, 2013 @ 17:53
    Jamie Gilbert
    1

    404 page generates error once URL tracker installed

    Hi,

    I have installed URL Tracker in to my Umbraco 4.11.1 site and I am experiencing the following problems:

    404 Pages used to show the standard Umbraco 404 page, they now show the custom error page, here is the error from the log file:

    2013-11-26 16:47:37,417 [5] ERROR Umbraco.Web.UmbracoApplication - [Thread 18] An unhandled exception occurred
    System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 95
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

    This error occurs whether I configure a 301 redirect for the broken (404) page or not.

    The 404 page can either be a page without a template or a completely random URL that doesnt exist in the system at all.

    Please help.

    Also I would like to provide you with more verbose information but I cannot find details of how to enable debugging mode for your module.

    Kind Regards,

    Jamie

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Nov 27, 2013 @ 11:09
    Stefan Kip
    100

    Hi Jamie,

    Thanks for reporting this issue! It has been fixed in v2.3.1, enjoy!

    Greets, Stefan

  • Luyolo Mgodi 71 posts 117 karma points
    Dec 01, 2013 @ 21:47
    Luyolo Mgodi
    0

    Hi  Stefan, 

    I am also experiencing the same error.

    I have a single umbraco instance with multiple websites. The Package works if I specified just one hostame on one site but  thorws an error if i specify more than one hostname. For example, if I add 2 hostnames (like www.mysite.com and the second one as mysite.com) it does not work, but as soon as I remove one hostname, it  works.

    Kind Regards,

    Luyolo

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 02, 2013 @ 10:10
    Stefan Kip
    0

    With what version are you experiencing this issue Luyolo? Because like I said it should be fixed in v2.3.1.

  • Jamie Gilbert 8 posts 39 karma points
    Dec 06, 2013 @ 11:12
    Jamie Gilbert
    0

    Confirmed, this has fixed my issue.

    Thank you very much.

    Kind Regards,

    Jamie

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Dec 06, 2013 @ 11:54
    Stefan Kip
    0

    @Jamie
    Could you mark this topic as resolved please?

  • 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