Copied to clipboard

Flag this post as spam?

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


  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 09:12
    Anthony Candaele
    0

    issue witch Umbraco 6.1.5

    Hi,

    Could there be an issue with 301 Url Tracker in Umbraco 6.1.5?

    I tried to add a redirect for the url:

    http://www.cjs.ugent.be/members/index.html
    

    To the url:

    http://www.cjs.ugent.be/members
    

    my configuration looks like this:

    enter image description here

    But when I enter the url http://www.cjs.ugent.be/members/index.html , instead of being redirected to http://www.cjs.ugent.be/members , I get an YSOD saying:

    "Value cannot be null.
    

    Parameter name: umbracoContext"

    enter image description here

    Thanks for your help,

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 09:23
    Stefan Kip
    1

    Weird, this was a known issue in umbraco v6.1.4: http://our.umbraco.org/projects/developer-tools/301-url-tracker/version-2/44327-Issues-with-URL-Tracker-in-614
    Are you absolutely sure that you're running v6.1.5 with all correct v6.1.5 umbraco assemblies?

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 10:46
    Anthony Candaele
    0

    Hi Jeroen,

    I guess so, the website was a clean 6.1.5 install.

    I also had a strange issue with some Dynamic Razor code.

    I can, if you whish publish the project on Dropbox and give you access to it

    greetings,

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 11:17
    Stefan Kip
    1

    Hi Anthony,

    It's Stefan, not Jeroen ;-)
    I'm not in the position to give premium support for this package, the only thing I can say is that this issue was present in umbraco v6.1.4 and has been fixed (tested myself) in umbraco 6.1.5.
    You could try to replace the all umbraco assemblies in you bin folder with the ones found in the release?

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 13:29
    Anthony Candaele
    0

    Hi Stefan (sorry Jeroen),

    I was not fishing for premium support. I was just offering an opportunity to look into my webfolder, because it was a clean 6.1.5 install.

    I have other issues with umbraco.macroengines.dll (http://our.umbraco.org/forum/developers/razor/43030-sitemap?p=1)

    Maybe they're interrelated somehow.

    But I'll change the assemblies in my bin folder, maybe this fixes the issue.

    Thanks,

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 13:37
    Stefan Kip
    1

    Please let me know your findings!

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 13:48
    Anthony Candaele
    0

    I just replaced all the dll starting with umbraco.xxxxxxx in my bin folder.

    I don't have any YSOD anymore, but the redirections aren't working either.

    For instance this url:

    http://www.cjs.ugent.be/index.php?id=54
    

    Should redirect to:

    http://www.cjs.ugent.be/members/karin-raeymaeckers
    

    enter image description here

    But when I enter http://www.cjs.ugent.be/index.php?id=54 , I only get a blank page, and the url is not redirected.

    greetings,

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 13:59
    Stefan Kip
    1

    That's good news :-) Sounds like an 'old' assembly was still present.
    You can use the built-in logging to find out what's happening:

    I've build in some logging for these kind of situations. Please enable logging by adding an appSetting with key="urlTracker:enableLogging" and value="true" and also set umbracoDebugMode to true.

    Request the old url with the query string and read the logs to get an idea why the UrlTracker didn't redirect the request.

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 16:23
    Anthony Candaele
    0

    Hi Stefan,

    I guess this appSetting is in the web.config file?

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 16:23
    Stefan Kip
    1

    Yes it is.

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 16:28
    Anthony Candaele
    0

    ok, configured the appSetting. Where can I find these logs?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 16:32
    Stefan Kip
    1

    I guess in the App_Data\Logs\ folder?

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 16:39
    Anthony Candaele
    0

    hmm, I copied a piece of the UmbracoTraceLog.txt file, which isn't easy as the file changes all the time.

    This is an excerpt:

    | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState start
    

    2013-10-09 16:35:16,457 [20] INFO umbraco.BusinessLogic.Log - [Thread 22] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout 2013-10-09 16:35:16,457 [20] INFO umbraco.BusinessLogic.Log - [Thread 22] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything 2013-10-09 16:35:16,457 [20] INFO umbraco.BusinessLogic.Log - [Thread 22] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState end 2013-10-09 16:35:26,468 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState start 2013-10-09 16:35:26,468 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout 2013-10-09 16:35:26,468 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything 2013-10-09 16:35:26,468 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState end 2013-10-09 16:35:36,465 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState start 2013-10-09 16:35:36,465 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout 2013-10-09 16:35:36,465 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything 2013-10-09 16:35:36,465 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState end 2013-10-09 16:35:46,452 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState start 2013-10-09 16:35:46,452 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout 2013-10-09 16:35:46,452 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything 2013-10-09 16:35:46,452 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState end 2013-10-09 16:35:56,451 [20] INFO umbraco.BusinessLogic.Log - [Thread 22] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState start 2013-10-09 16:35:56,451 [20] INFO umbraco.BusinessLogic.Log - [Thread 22] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout 2013-10-09 16:35:56,451 [20] INFO umbraco.BusinessLogic.Log - [Thread 22] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 16:41
    Stefan Kip
    1

    The request for the URL you're trying to redirect isn't in this part of the LOG file, it's all about 'umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout'

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 16:42
    Anthony Candaele
    0

    I copied the latest thread:

    2013-10-09 16:40:56,437 [20] INFO  umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout
    

    2013-10-09 16:40:56,437 [20] INFO umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything 2013-10-09 16:40:56,437 [20] INFO umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState end 2013-10-09 16:41:06,436 [20] INFO umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState start 2013-10-09 16:41:06,436 [20] INFO umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout 2013-10-09 16:41:06,436 [20] INFO umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statuscode is not 404, UrlTracker won't do anything 2013-10-09 16:41:06,436 [20] INFO umbraco.BusinessLogic.Log - [Thread 30] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | PostReleaseRequestState end

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 16:45
    Stefan Kip
    0

    The URL isn't there, is it....? These logs aren't relevant because it doesn't mention the problematic URL.

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 16:49
    Anthony Candaele
    0

    it' the only thing I have in the UmbracoTraceLog.txt

    doesn't this line give some clue?:

    LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | No match found, logging as 404 not found
    
  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 09, 2013 @ 16:52
    Stefan Kip
    1

    It could be, but there should be more information around that line, for example what the requested URL is.

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 09, 2013 @ 16:54
    Anthony Candaele
    0

    ok, thanks. Office is closing. I'm going to look further into this tomorrow morning.

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 10, 2013 @ 08:48
    Anthony Candaele
    0

    Hi Stefan,

    I looked again in UmbracoTraceLog.txt and found this entry:

    PostReleaseRequestState start
    

    2013-10-09 16:27:24,106 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Incoming URL is: index.php?id=54 2013-10-09 16:27:24,106 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Response statusCode is 404, continue URL matching 2013-10-09 16:27:24,106 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | Current request's rootNodeId: 1049 2013-10-09 16:27:24,106 [20] INFO umbraco.BusinessLogic.Log - [Thread 9] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: UrlTracker HttpModule | No match found, logging as 404 not found

    I made a permanent redirect for index.php?id=54 to members/karin-raeymaeckers, but instead of redirecting to members/karin-raeymaeckers, the browser stays on index.php?id=54 and shows a white page.

    greetings,

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 10, 2013 @ 08:50
    Stefan Kip
    0

    Could you show me the detail view of the entry?

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 10, 2013 @ 08:53
    Anthony Candaele
    0

    Hi Stefan,

    Not sure what you mean with the detail view. You mean the settings for the redirect in Url Tracker?

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 10, 2013 @ 08:59
    Stefan Kip
    1

    Yes a screenshot of the 'index.php?id=54' entry when you click on it ;-)

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 10, 2013 @ 09:06
    Anthony Candaele
    0

    Here you go:

    enter image description here

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 10, 2013 @ 09:10
    Stefan Kip
    100

    I'm missing the query string, right? It should be something like this (and this works for me, I've tested it):

    enter image description here

  • Anthony Candaele 1197 posts 2049 karma points
    Oct 10, 2013 @ 09:15
    Anthony Candaele
    0

    it's working now :)

    was already wondering if I shouldn't enter something in the 'old url querystring' field

    thanks,

    Anthony

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 10, 2013 @ 09:16
    Stefan Kip
    0

    Great :-)

  • 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