Make sure that the Forum ID you are using actually exists as a page in umbraco, all forums are pages, and you pass their node Ids into the usercontrol creating the new topic.
The code doing this is placed inline in the control when you install the package
Same thing happend to me when publishing the nodetree by rightclicking and publish all subnodes. Publishing one by one was the solution for me. Also you could try moving the forum node under your website root. Remember to allow the doctype in the structure.
I have just installed it on a v4 installation without Runway installed. I had to edit the template because the placeholders were Runway related - I also wanted to integrate it fully into the website.
I also deleted the default added Forum root page and created another one elsewhere lower down in the content tree (I had to add / allow the doc type, of course).
After that, it worked (kind of!) without needing to make any other changes. Of course, you have to be logged in in order to make posts. That's where my problem is but that's another story (well, post actually!?!)
Still no luck. I've tried everything you said. But I noticed that I get this error when trying to parse the XSLT through the visualizer:
Error parsing the XSLT:
System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at System.Double.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Xml.Xsl.Runtime.XmlQueryRuntime.ChangeTypeXsltArgument(XmlQueryType xmlType, Object value, Type destinationType)
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at (XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime) at Root(XmlQueryRuntime
{urn:schemas-microsoft-com:xslt-debug}runtime) at
Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
XmlResolver dataSources, XsltArgumentList argumentList,
XmlSequenceWriter results) at
System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver
dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable
contextDocument, XmlResolver dataSources, XsltArgumentList
argumentList, XmlWriter results) at
System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument,
XmlResolver dataSources, XsltArgumentList argumentList, TextWriter
results) at
System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input,
XsltArgumentList arguments, TextWriter results) at
umbraco.macro.GetXsltTransformResult(XmlDocument macroXML,
XslCompiledTransform xslt, Dictionary`2 parameters) at
umbraco.presentation.umbraco.developer.Xslt.xsltVisualize.visualizeDo_Click(Object
sender, EventArgs e)
Umm, strange - your environment is the same as mine.
Sorry, I don't think I can help much more - I would probably try deleting all forum pages, check the templates are correct (don't refer to Runway if you don't have it installed) and check the DocTypes all look OK. Then, I would add a forum page somewhere below the website home page rather than at the same level.
That did it! Appearently uForum needs to be placed in a subnode of the content node. Thanks for all your help, Gordon :) Too bad I don't have enough karma to vote, or else you would definetly have gotten some thumbs up.
No parent node
This is what I get, when creating a new forum page and trying to publish it!
"No parent node"
[ArgumentException: No parent node]
umbraco.cms.businesslogic.CMSNode.get_Parent() +96
uForum.NewForumHandler.Document_AfterPublish(Document sender, PublishEventArgs e) +191
umbraco.cms.businesslogic.web.Document.FireAfterPublish(PublishEventArgs e) +27
umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) +988
umbraco.cms.presentation.editContent.Publish(Object sender, EventArgs e) +178
System.EventHandler.Invoke(Object sender, EventArgs e) +0
umbraco.controls.ContentControl.savePublish(Object Sender, ImageClickEventArgs e) +44
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +86
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
The forum is on the top of tree (just below "Content").
I'm using Windows 2003, IIS 6, ASP.NET 3.5 SP1 and the most recent umbraco and forum release (installed yesterday).
Might be interesting to note, that the system language is German!
br,
m.
Make sure that the Forum ID you are using actually exists as a page in umbraco, all forums are pages, and you pass their node Ids into the usercontrol creating the new topic.
The code doing this is placed inline in the control when you install the package
Same thing happend to me when publishing the nodetree by rightclicking and publish all subnodes. Publishing one by one was the solution for me. Also you could try moving the forum node under your website root. Remember to allow the doctype in the structure.
/Jesper Ordrup
Hello
I get the same error, after installing the package. I have tried, as Morten says, to republish all the nodes one by one. No luck.
Then I tried deleting all of them, and adding a new one, but i still get the same message.
I've had it working before, but it was on a different Umbraco installation with Runway.
/Kristian Frost
I have just installed it on a v4 installation without Runway installed. I had to edit the template because the placeholders were Runway related - I also wanted to integrate it fully into the website.
I also deleted the default added Forum root page and created another one elsewhere lower down in the content tree (I had to add / allow the doc type, of course).
After that, it worked (kind of!) without needing to make any other changes. Of course, you have to be logged in in order to make posts. That's where my problem is but that's another story (well, post actually!?!)
Still no luck. I've tried everything you said. But I noticed that I get this error when trying to parse the XSLT through the visualizer:
Error parsing the XSLT:
System.OverflowException: Value was either too large or too small for an Int32. at System.Convert.ToInt32(Double value) at System.Double.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at System.Xml.Xsl.Runtime.XmlQueryRuntime.ChangeTypeXsltArgument(XmlQueryType xmlType, Object value, Type destinationType) at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args) at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results) at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters) at umbraco.presentation.umbraco.developer.Xslt.xsltVisualize.visualizeDo_Click(Object sender, EventArgs e)
I don't know if it has any bearing, but what database are you using for this Umbraco install?
It's a MSSQL 2005 server on my local machine.
Umm, strange - your environment is the same as mine.
Sorry, I don't think I can help much more - I would probably try deleting all forum pages, check the templates are correct (don't refer to Runway if you don't have it installed) and check the DocTypes all look OK. Then, I would add a forum page somewhere below the website home page rather than at the same level.
That did it! Appearently uForum needs to be placed in a subnode of the content node. Thanks for all your help, Gordon :) Too bad I don't have enough karma to vote, or else you would definetly have gotten some thumbs up.
is working on a reply...