Yes, but that was due to a missing querystring. Now I don't have a querystring, the url that needs to be redirected is just: http://www.cjs.ugent.be/about_us.html
To be sure, I downloaded a fresh Umbraco 6.1.5 install and copied all dll starting with umbraco.xxxxx to the bin folder of my website, but it didn't solve the issue.
Well this is freaky...
I'm running the UrlTracker on one of my v6.1.6. sites fine. But I've installed it in a clean 6.1.6. instance and I got the same exception as you.
I haven't got a clue how this can happen, maybe after this weekend. I'll call in help from Shannon too via Twitter, maybe he knows what's happing.
Here's the clean install with the UrlTracker and one entry: https://mega.co.nz/#!x1xlSDRQ!ALQxW1ZxULrqsFzkQ5KWukp184FNo86uS1a7TpxAo
The DB is included as SQL 2008 R2 backup in "App Data" (Umb615.bak).
The connection string needs updating too ofcourse ;-)
If you visit the URL of the entry (/about_us.html) you'll see the error.
I am running umb 6.1.6 with 301 tracker 2.3.1 and getting the same problem as outlined in this thread. I am trying to redirect a .html file to a node :-/
Yeah my fix wasn't compatible with umbraco v4, so I had to remove it.
Haven't had the time to look into this again unfortunately, but the good news is; I do have ideas and code examples to fix this, so it will get fixed any time soonish.
I'm getting the same error as mentioned earlier in this post.
When trying to handle a page with a *.html extension, it looks like the UmbracoContext.Current is empty. Shannon mentioned that *.html are ignored by Umbraco by default.
I'm running 2.3.1.
-
Exception information:
Exception type: ArgumentNullException
Exception message: Value cannot be null.
Parameter name: umbracoContext
at Umbraco.Web.UmbracoHelper..ctor(UmbracoContext umbracoContext)
at umbraco.library.NiceUrl(Int32 nodeID)
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e)
in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 128
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Could you create a new topic for this issue and mention a bit more information about your set-up (like your umbraco URL settings) and post the entry from the DB?
Value cannot be null. Parameter name: umbracoContext
Hi,
I just created a url redirect with URL Tracker:
However, when I enter the old url in the browser, I'm getting this ysod:
I'm using version 2.2.3 of URL Tracker. My Umbraco install is v6.1.5
greetings,
Anthony
This is the same as you've posted before, which you fixed right? http://our.umbraco.org/projects/developer-tools/301-url-tracker/version-2/45314-issue-witch-Umbraco-615
Hi Stefan,
Yes, but that was due to a missing querystring. Now I don't have a querystring, the url that needs to be redirected is just: http://www.cjs.ugent.be/about_us.html
To be sure, I downloaded a fresh Umbraco 6.1.5 install and copied all dll starting with umbraco.xxxxx to the bin folder of my website, but it didn't solve the issue.
Well this is freaky...
I'm running the UrlTracker on one of my v6.1.6. sites fine. But I've installed it in a clean 6.1.6. instance and I got the same exception as you.
I haven't got a clue how this can happen, maybe after this weekend. I'll call in help from Shannon too via Twitter, maybe he knows what's happing.
Here's the clean install with the UrlTracker and one entry: https://mega.co.nz/#!x1xlSDRQ!ALQxW1ZxULrqsFzkQ5KWukp184FNo86uS1a7TpxAo
The DB is included as SQL 2008 R2 backup in "App Data" (Umb615.bak).
The connection string needs updating too ofcourse ;-)
If you visit the URL of the entry (/about_us.html) you'll see the error.
The problem is that this request is for an ".html" page
To save on a lot of processing when running integrated mode, we check: uri.IsClientSideRequest() which includes these files:
var toIgnore = new[] { ".js", ".css", ".ico", ".png", ".jpg", ".jpeg", ".gif", ".html", ".svg" };
In which case we do not create an UmbracoContext or attempt to process the request as if it is part of Umbraco
Thanks for the clarification Shannon.
I've release version 2.2.6, which should fix this issue. Could you try that version Anthony?
For reference, this is the code I've added for filling the UmbracoContext.Current when empty:
Hi Stefan,
Ok, I'll install Url Tracker 2.2.6 and let you know if it solved the problem.
Thanks for looking into this,
Anthony
Hi Stefan,
I installed Url Tracker 2.2.6 on my local machine.
Then I created the redirect for about_us.html
when I go to http://localhost/aboutus.html, I'm getting a blank page, with in the address bar the url: http://localhost/aboutus.html
That's weird, have you checked the logs?
I just add:
to the web.config of my local site
Then I browsed to
and now it redirected to
maybe it was a cache thing :)
I'll install Url Tracker 2.2.6 on my production machine now. Can I just install it over my existing install of Url Tracker ?
Sure, upgrade information is available on the project's page.
Ps. Could you mark this topic as resolved? Ty!
sure, I just upgraded to Url Tracker 2.2.6. Is it normal that the installation wizzard says
and then
redirect to about_us.html on the production server is working now !
Yes, with previous version I mean the 301 URL Tracker.
I might change make it a bit more clear in the future :-)
Hey guys,
I am running umb 6.1.6 with 301 tracker 2.3.1 and getting the same problem as outlined in this thread. I am trying to redirect a .html file to a node :-/
Any thoughts? have I miss read something?
Thanks,
Peter
Yeah my fix wasn't compatible with umbraco v4, so I had to remove it.
Haven't had the time to look into this again unfortunately, but the good news is; I do have ideas and code examples to fix this, so it will get fixed any time soonish.
OK cool, thanks :)
...and sorry I prompted you for a response via Twitter :-/
ta!
P
No problem, like I said; I've missed the notification mail from Our :-)
What's the best way to handle redirects on HTML pages in Umbraco 6.1.6 currently? Is this possible? Thanks :) Laurence
@Laurence
I don't understand your question...
Hey!
I'm getting the same error as mentioned earlier in this post.
When trying to handle a page with a *.html extension, it looks like the UmbracoContext.Current is empty. Shannon mentioned that *.html are ignored by Umbraco by default.
I'm running 2.3.1.
-
Ah okay, still have to fix it...
It's fixed in v2.4.0, just released it! :-)
Awesome! I owe you a beer :-) do you have an Amazon Wishlist? I'd happily buy you a book, etc!
@Laurence
There's no need to buy me anything :-) A virtual beer, or a real one when we meet again ;-) is fine!
Awesome!
I'm seeing this glitch, not sure if it's something you know about....
Overview URL = working/ http://screencast.com/t/4MUrAsbdJ
Details page http://screencast.com/t/6xfzH2TFL
URL missing a trailing slash
-
Laurie
Could you create a new topic for this issue and mention a bit more information about your set-up (like your umbraco URL settings) and post the entry from the DB?
Thanks Stefan!
Seems to be working ok for me :)
#h5yr!
EDIT : to clarify, I am just redirecting 404s using the tool. All of which are old .html extensions
is working on a reply...
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.