I have a site with this Blog package. When a comment is posted I get the Javascript message "Your comment has been posted, thank you very much", but the comment does not appear to be saved. If I enter the URL (/base/Blog4Umbraco/CreateComment/<nodeID>.aspx) I get the message "Extension not found or permission denied". Should the /Base package have been installed and if so what shoud the configuration file look like?
I had this problem on a site I was building, it "seemed" to happen when the blog wasn't the default opening site/node. As in I already had a site, and installed the blog afterwards and moved it under the home node.
I didn't look any further into it as the client decided they didn't want comments on the blog, so I just removed them - But I'd love to know what the problem was, I always said I try to replicate locally when I finished as it was bugging me (But never did)
Just tried this again, and again the comments are now not saving, I already have a site running in Umbraco - Say for arguments sake I have installed runway or CWS. Now if I install blog4umbraco I get in my initial tree
- Home (My current site) - Blog (Blog4umbraco) - Recycle Bin
Now I don't want it like this, I want it under the home node and to inherit the styles from my site so move the blog and remove the stylesheet macro and replace it with my own one
- Home ---- Text Page ---- Blog ---- You get the idea - Recyle Bin
Once the blog has moved, the comments do not work and you get a message in the create blog dashboard usercontrol saying
To activate the blog post creator, you need to have access to at least one blog
But if I DIDN'T have a pre-built site, say a blank install or didn't install runway or CWS first - and it was just the blog as the default opening site/node everything seems to work fine.. Comments etc...
I'm going to try and debug everything tomorrow when I have more time and the kids are not constantly hassling me ;) ... lol
I am running into this exact same problem; however, moving the blog JS reference to the end of my head tag does not do the trick. I know your last post here was 5 months ago, but has anything new come up with this?
I should not that I am using Umbraco 4.5.2 and Blog4Umbraco 2.0.26 for 4.5.
I'd like to add here that the assembly reference in the restExtensions.config file should be exactly as per Tim's previous post. In my installation it had the reference there but the path to the assembly started '/bin/' - in 4.5 there's no need to include the reference to the bin folder as it's assumed that all assemblies are there in the core. Hope this helps somebody at some point.
Don't know if anyone has come across this problem.
I'm getting this error on BlogPostListComments.xslt :
Error occured
System.Xml.Xsl.XslTransformException: Extension object 'urn:BlogLibrary' does not contain a matching 'GetCommentsForPost' method that has 1 parameter(s).
at System.Xml.Xsl.Runtime.XmlExtensionFunction.Bind()
at System.Xml.Xsl.Runtime.XmlExtensionFunctionTable.Bind(String name, String namespaceUri, Int32 numArgs, Type objectType, BindingFlags flags)
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)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
BlogLatestComments.xslt. Gets this error:
System.Xml.Xsl.XslTransformException: Extension object 'urn:BlogLibrary' does not contain a matching 'GetCommentsForBlog' method that has 1 parameter(s).
The dll is in the bin folder though and this is my xlst config: (Umlaut.Umb.Blog.dll)
I couldn't install blog4umbraco package on my 4.7 because of number of errors so I installed StarterKit Blog 1.2 and had the same issue with comments not stored. And because I have /bin/Runway.Blog.dll only this lines worked for me in restExtensions.config:
Blog comments not saving
I have a site with this Blog package. When a comment is posted I get the Javascript message "Your comment has been posted, thank you very much", but the comment does not appear to be saved. If I enter the URL (/base/Blog4Umbraco/CreateComment/<nodeID>.aspx) I get the message "Extension not found or permission denied". Should the /Base package have been installed and if so what shoud the configuration file look like?
Thanks
Richard
Umbraco 4.0.3
Windows 2003/IIS6
I had this problem on a site I was building, it "seemed" to happen when the blog wasn't the default opening site/node. As in I already had a site, and installed the blog afterwards and moved it under the home node.
I didn't look any further into it as the client decided they didn't want comments on the blog, so I just removed them - But I'd love to know what the problem was, I always said I try to replicate locally when I finished as it was bugging me (But never did)
Which database are you using?
Database is SQL server 2005.
Lee, what do you mean by "blog wasn't the default opening site/node". How is the blog made the default?
Just tried this again, and again the comments are now not saving, I already have a site running in Umbraco - Say for arguments sake I have installed runway or CWS. Now if I install blog4umbraco I get in my initial tree
- Home (My current site)
- Blog (Blog4umbraco)
- Recycle Bin
Now I don't want it like this, I want it under the home node and to inherit the styles from my site so move the blog and remove the stylesheet macro and replace it with my own one
- Home
---- Text Page
---- Blog
---- You get the idea
- Recyle Bin
Once the blog has moved, the comments do not work and you get a message in the create blog dashboard usercontrol saying
To activate the blog post creator, you need to have access to at least one blog
But if I DIDN'T have a pre-built site, say a blank install or didn't install runway or CWS first - and it was just the blog as the default opening site/node everything seems to work fine.. Comments etc...
I'm going to try and debug everything tomorrow when I have more time and the kids are not constantly hassling me ;) ... lol
@ Bert - SQL Server Express
I'm wondering if this is some bug related to this thread
http://our.umbraco.org/projects/blog-4-umbraco/using-blog-4-umbraco/8379-Inactive-Blog-Post-Creator
Well still Mystified by this? I just cannot get the comments to save? Anyone else manage to look into this?
Ok I have figured this out, don't ask me why but... I moved the blog JS references to be the last references in my <head> tag (Right at the bottom)
And the AJAX form works fine now :S
Lee,
I am running into this exact same problem; however, moving the blog JS reference to the end of my head tag does not do the trick. I know your last post here was 5 months ago, but has anything new come up with this?
I should not that I am using Umbraco 4.5.2 and Blog4Umbraco 2.0.26 for 4.5.
Lee,
I found my problem. My original Blog4Umbraco install did not go as smooth as possible. I was missing the following lines in the restExtensions.config:
I'd like to add here that the assembly reference in the restExtensions.config file should be exactly as per Tim's previous post. In my installation it had the reference there but the path to the assembly started '/bin/' - in 4.5 there's no need to include the reference to the bin folder as it's assumed that all assemblies are there in the core. Hope this helps somebody at some point.
Dan - 6 weeks later and indeed it has. Thanks!
Martin
@Tim... thank you so much for your post -- it is exactly what i needed!
@Tim and @Dan -
Many thanks for this - This was exact same issue in 4.7 as well.
Don't know if anyone has come across this problem.
I'm getting this error on BlogPostListComments.xslt :
BlogLatestComments.xslt. Gets this error:
System.Xml.Xsl.XslTransformException: Extension object 'urn:BlogLibrary' does not contain a matching 'GetCommentsForBlog' method that has 1 parameter(s).
The dll is in the bin folder though and this is my xlst config: (Umlaut.Umb.Blog.dll)
<?xml version="1.0" encoding="utf-8" ?>
<XsltExtensions>
<ext assembly="umbraco.editorControls" type="umbraco.editorControls.tags.library" alias="tagsLib"></ext>
<ext assembly="Umlaut.Umb.Blog" type="Umlaut.Umb.Blog.Library.Base" alias="BlogLibrary">
<permission method="CreateComment" returnXml="false" allowAll="true" />
<permission method="GetGravatarImage" returnXml="false" allowAll="true" />
</ext>
</XsltExtensions>
I couldn't install blog4umbraco package on my 4.7 because of number of errors so I installed StarterKit Blog 1.2 and had the same issue with comments not stored. And because I have /bin/Runway.Blog.dll only this lines worked for me in restExtensions.config:
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.