I've installed clean Umbraco and then uBlogsy, published content - everything had worked fine, but after installing uCommentsy I can't create new post any more. Any suggestions?
Server Error in '/' Application.
Method not found: 'Umbraco.Core.Models.IContent uHelpsy.Helpers.IContentHelper.GetParentIContentByAlias(Umbraco.Core.Models.IContent, System.String, System.String)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: 'Umbraco.Core.Models.IContent uHelpsy.Helpers.IContentHelper.GetParentIContentByAlias(Umbraco.Core.Models.IContent, System.String, System.String)'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Sequence contains no elements
Source Error:
Line 59:
Line 60: @*render contact form - install uCommentsy, then uncomment this line**@
Line 61: @Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage }) Line 62: }
Line 63:
Source File: d:\Development\BinaryStudio\BinaryStudio New Site\Umbraco_6.1.6\Views\uBlogsyPost.cshtml Line: 61
I am also facing the same problem. My comment config node is under the uBlogsy node, and published as well. I removed the try-catch block and got this error:
Value cannot be null. Parameter name: value
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: value
Source Error:
Line 59:
Line 60: @*render contact form - install uCommentsy, then uncomment this line**@
Line 61: @Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage }) Line 62: }
I am having the same issue and did have an interruption during the install due to the dashboard config. Am an Umbraco (and developer) novice. Can you give me further instruction on the recaptcha elements i.e. how to fix?
Thank you Ally Watson for the recaptcha info. Unfortunately, still not getting the contact form so that users can add comments. Here is the error:
Could not load type 'Umbraco.Core.Models.IPublishedContentProperty' from assembly 'Umbraco.Core, Version=1.0.5242.22738, Culture=neutral, PublicKeyToken=null'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'Umbraco.Core.Models.IPublishedContentProperty' from assembly 'Umbraco.Core, Version=1.0.5242.22738, Culture=neutral, PublicKeyToken=null'.
Source Error:
Line 58: @*render contact form - install uCommentsy, then uncomment this line*@
Line 59:
Line 60: @Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage }) Line 61:
Line 62: }
[TypeLoadException: Could not load type 'Umbraco.Core.Models.IPublishedContentProperty' from assembly 'Umbraco.Core, Version=1.0.5242.22738, Culture=neutral, PublicKeyToken=null'.]
uCommentsy.Mvc.Parts.Controllers.Partials.Forms.uCommentsyContactFormSurfaceController.Index(IPublishedContent currentPage) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.Mvc.Parts\Controllers\Partials\Forms\uCommentsyContactFormSurfaceController.cs:58
lambda_method(Closure , ControllerBase , Object[] ) +114
I had a look at porting uCommentsy yesterday, using the new member api and cleaning up the code (it's really old code!) .
I got quite a bit through it when I realised that perhaps people don't care if it uses the member section.
The only reason I created members to begin with was because I had a comment filter which was "show posts by this commenter". That required a unique url/name which I assigned in a member.
I realised yesterday that I don't have to do this in the member. I can just add it to the comment container meta data string. I can then query using lucene.
I don't think it needs to use the member section. In fact, I am not sure that the ability to filter by commenter is even a necessity. The important filters would be author, category/tag, and date. Using generic search function would allow for greater flexibility and could include the commenter.
Conflict with uCommentsy
Umbraco: 6.1.2+
uBlogsy: 3.0.1
uCommentsy: 1.0.0.2
I've installed clean Umbraco and then uBlogsy, published content - everything had worked fine, but after installing uCommentsy I can't create new post any more. Any suggestions?
Server Error in '/' Application.
Method not found: 'Umbraco.Core.Models.IContent uHelpsy.Helpers.IContentHelper.GetParentIContentByAlias(Umbraco.Core.Models.IContent, System.String, System.String)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: 'Umbraco.Core.Models.IContent uHelpsy.Helpers.IContentHelper.GetParentIContentByAlias(Umbraco.Core.Models.IContent, System.String, System.String)'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
It seems that you have old uHelpsy dll.
Ensure that you're using the one in the ublogsy package zip
I've just updated the ucommentsy package to be sure.
Is the latest uHelpsy already included into uBlogsy 3.0.1? Or must I install it from another source?
P.S. uBlogsy was installed from Umbraco package repository.
The latest is in ublogsy.
The comments pacakge might have had the old one. But now (as of 1hr ago) both packages have the same version.
Thanks, now everything with creating of posts is ok, but there is no more form for comments in every post page:
Also I still have a couple of strange bugs with Umbraco 6.1.1+ and the latest uBlogsy/uCommentsy. I'll write about it in the next posts.
Ok it looks like the child action is not executing.
Could you try to upgrade to umbraco 6.1.6?
The above screenshot is from Umbraco 6.1.6.
There's a try-catch in /views/uBlogsyPost.cshtml
it should look like this:
@try{
@Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage })
}catch(Exception){}
replace it with just
@Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage })
And see if there's a crash.
Crashed, result:
Server Error in '/' Application.
Sequence contains no elements
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Sequence contains no elements
Source Error:
Line 59: Line 60: @*render contact form - install uCommentsy, then uncomment this line**@ Line 61: @Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage }) Line 62: } Line 63:
Source File: d:\Development\BinaryStudio\BinaryStudio New Site\Umbraco_6.1.6\Views\uBlogsyPost.cshtml Line: 61
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440
Ensure that the comment config node (the one with the email templates) is under the ublogsy node, and is published
The comment config node is under the uBlogsy node and is published:
It looks like your comment config node is under the sample root node, not the ublogsy landing node.
thx, this was a problem. Now everything is ok.
Hello Anthony,
I am also facing the same problem. My comment config node is under the uBlogsy node, and published as well. I removed the try-catch block and got this error:
Value cannot be null.
Parameter name: value
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: value
Source Error:
Line 59: Line 60: @*render contact form - install uCommentsy, then uncomment this line**@ Line 61: @Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage }) Line 62: }
Hello Shuchita,
Did u find a solution to the above error. I am receiving the same error.
What does your tree look like?
Hello Anthony,
Thanks for your reply!
Here is how my tree looks like:
Can you please help me?
I assume the ucommentsy dlls and cshtml files are there?
Yes, all these are present in the site.
Could it be that the recaptcha elements are not in the appsettings?
This could occur if the install failed for some reason.
I am having the same issue and did have an interruption during the install due to the dashboard config. Am an Umbraco (and developer) novice. Can you give me further instruction on the recaptcha elements i.e. how to fix?
Thank you Ally Watson for the recaptcha info. Unfortunately, still not getting the contact form so that users can add comments. Here is the error:
Could not load type 'Umbraco.Core.Models.IPublishedContentProperty' from assembly 'Umbraco.Core, Version=1.0.5242.22738, Culture=neutral, PublicKeyToken=null'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'Umbraco.Core.Models.IPublishedContentProperty' from assembly 'Umbraco.Core, Version=1.0.5242.22738, Culture=neutral, PublicKeyToken=null'.
Source Error:
Line 58: @*render contact form - install uCommentsy, then uncomment this line*@ Line 59: Line 60: @Html.Action("Index", "uCommentsyContactFormSurface", new { CurrentPage }) Line 61: Line 62: }
Source File: c:\Development\Projects\Acmeware-Dev\Views\uBlogsyPost.cshtml Line: 60
Stack Trace:
Hi
Which version of Umbraco, uBlogsy, and uCommentsy?
Umbraco 7.1.2
uBlogsy 4.1
uCommentsy 1.0.2 with updates from bitbucket
Ah
uCommentsy doesnt work for Umbraco 7. I have not ported that code over yet.
If possible, I would suggest using Disqus or something similar.
Thank you for the response. Will look into other options.
I had a look at porting uCommentsy yesterday, using the new member api and cleaning up the code (it's really old code!) .
I got quite a bit through it when I realised that perhaps people don't care if it uses the member section.
The only reason I created members to begin with was because I had a comment filter which was "show posts by this commenter". That required a unique url/name which I assigned in a member.
I realised yesterday that I don't have to do this in the member. I can just add it to the comment container meta data string. I can then query using lucene.
Any thoughts?
I don't think it needs to use the member section. In fact, I am not sure that the ability to filter by commenter is even a necessity. The important filters would be author, category/tag, and date. Using generic search function would allow for greater flexibility and could include the commenter.
is working on a reply...