Copied to clipboard

Flag this post as spam?

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


  • Claus Nedergaard 62 posts 104 karma points
    Aug 27, 2012 @ 13:22
    Claus Nedergaard
    0

    Comment form - Nothing happens when Submit is hit

    Hi all,

    I have a runat server tag wrapping the entire site. Ublogsy is integrated in my site.

    The ublogsy search form works ok. My login /logout form works as well.

    So What's up with the submit button? Is it a script thing perhaps. I encounter the same issue with some countour forms that I'm currently testing.

    URL to comment form: http://s4a0041.web01.nedergaard-dm.dk/en/vores-viden/seneste-artikler/2012/august/planlaeg-med-googleplus.aspx#.UDtW8qPk2fU

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 27, 2012 @ 14:53
    Anthony Dang
    0

    Check the umbracoLog table

    Also check your smtp settings.

     

     

  • Claus Nedergaard 62 posts 104 karma points
    Aug 27, 2012 @ 15:19
    Claus Nedergaard
    0

    Hi Anthony. Did you just test? I received a comment at 2.52, and the log showed this

    Object reference not set to an instance of an object.     at umbraco.cms.businesslogic.Content.CreateContent(ContentType ct)     at umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String LoginName, String Email, MemberType mbt, User u)     at umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String Email, MemberType mbt, User u)     at uBlogsy.BusinessLogic.SubscriptionService.SubscribeToPost(Int32 pageId, CommentInfo commentInfo, Boolean subscribe) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\SubscriptionService.cs:line 72     at uBlogsy.BusinessLogic.CommentService.SubmitComment(HttpRequest request, Int32 pageId, CommentInfo commentInfo, Boolean subscribe) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\CommentService.cs:line 119

    My smtp looks like this:

        <mailSettings>
          <smtp>
            <network host="mx.smtp.dk" />
          </smtp>
        </mailSettings>

    I still cannot make a submit myself, so I'm quite puzzled that you might have been able to do so.

  • Claus Nedergaard 62 posts 104 karma points
    Aug 27, 2012 @ 17:08
    Claus Nedergaard
    0

    Oki. Tried this:

    1. Tested a clean 4.72. umb with ublogsy 2.1.1.0 on it. Same freaki'n issue happened here and I tested it on IE9, FF Chrome and Opera with the same result.

    2. Updated the website in question to the 1.7 jquey.min.js

    3. deleted ALL other scripts - google analytics, teaciommerce, zopim etc.

    4. updated ublogsy  DLL's to the newest version. Website is running 472.

    Still same issue - no respone upon submitting the comments form whatsoever

    All other scripts are functioning - well except contour forms which have similar behaviour.

    Anyone seen this before?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 27, 2012 @ 19:34
    Anthony Dang
    0

    Does the ublogsy member type exist?

  • Claus Nedergaard 62 posts 104 karma points
    Aug 27, 2012 @ 22:32
    Claus Nedergaard
    0

    Yes, the member type is working and active.

    What I don't get is...did you fill out the form? I have 1 comment on the link posted earlier. 

    Whenever I hit submit nothing, nada, diddly happens.

    I tried as mentioned a clean 4.7.2 with ublogsy 2.1.1.0 on top - same issue. And that was tested  in Opera, IE, FF and Chrome. That shouldn't be possible in all four browsers...I would at the most figure IE to give me a hard time.

    Did you see the umbracoLog post. Apparently ublogsy.businesslogic failed.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 04, 2012 @ 16:35
    Anthony Dang
    0

    Did you resolve this?

    Yes that was me who did a test.

    Is this happening locally or on a server?

     

    This error: 

    Object reference not set to an instance of an object.     at umbraco.cms.businesslogic.Content.CreateContent(ContentType ct)     at umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String LoginName, String Email, MemberType mbt, User u)     at

    implies that there is a problem creating the member.

     


  • Claus Nedergaard 62 posts 104 karma points
    Sep 07, 2012 @ 09:46
    Claus Nedergaard
    0

    Hi Anthony.

    I have 2 forms on my page. A minicart that posts to an .aspx plain html and the ublogsy comments form (looks like asp:net) that posts to the current page I figure. They have different ID's, however the comments form have no action property.

    Just to clearify - yes I tested and the comments function works fine when the the minicart form is removed. So it is a 2-forms issue.

    So I'm a bit stuck now. 

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 08, 2012 @ 16:32
    Anthony Dang
    0

    .net doesnt allow 2 forms with runat="server" on the same page.

    The ublogsy contact form does a standard .net postback to the same page.

    If you have another form on the page then it needs to not be runat="server" and you also have to take care of the posting via javascript/jquery

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft