Copied to clipboard

Flag this post as spam?

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


  • steven smith 20 posts 130 karma points
    Jun 09, 2014 @ 12:10
    steven smith
    0

    Cant Add new comments

    hey there, great package!

    just trying out the comments, but when i click to submit a new comment i get the following error

    The specified string is not in the form required for an e-mail address.

    heres the rest of the code
    This happens on the submit, the email is correct (tried this 10 times different emails).  Installation was fine, the admin section is also fine.

    the Only change i have made is to the master template, I simply changed the master template to my master template, would this cause the issue?  if so, what is the issue and can i replicate the correction in my master template?

    many thanks guys!

    p.s this is in umbraco 7.1.x

    [FormatException: The specified string is not in the form required for an e-mail address.]
       System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index) +1471122
       System.Net.Mail.MailAddressParser.ParseAddress(String data) +23
       System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) +220
       System.Net.Mail.Message..ctor(String from, String to) +106
       System.Net.Mail.MailMessage..ctor(String from, String to) +121
       SmartBlogLibraries.Helpers.Mailing.SendEmail(String toAddress, String fromAddress, String subject, String body, String replyToAddress) +100
       SmartBlogLibraries.Controllers.CommentFormSurfaceController.SubmitSmartBlogComment(SmartBlogCommentFormModel model) +1590
       lambda_method(Closure , ControllerBase , Object[] ) +181
       System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +211
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
       System.Web.Mvc.<>c__DisplayClass13.b__10() +55
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +253
       System.Web.Mvc.<>c__DisplayClass15.b__12() +21
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +253
       System.Web.Mvc.<>c__DisplayClass15.b__12() +21
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +253
       System.Web.Mvc.<>c__DisplayClass15.b__12() +21
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +253
       System.Web.Mvc.<>c__DisplayClass15.b__12() +21
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +191
       System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +324
       System.Web.Mvc.<>c__DisplayClass1d.b__19() +23
       System.Web.Mvc.Async.<>c__DisplayClass1.b__0() +19
       System.Web.Mvc.Async.<>c__DisplayClass8`1.b__7(IAsyncResult _) +10
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +57
       System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
       System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +47
       System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
       System.Web.Mvc.<>c__DisplayClass8.b__3(IAsyncResult asyncResult) +25
       System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
       System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +47
       System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9514928
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    
    

  • steven smith 20 posts 130 karma points
    Jun 09, 2014 @ 12:49
    steven smith
    0

    quick update:  Fixed the issues, i was correct i was missing some lines from the original master template.

    However i am gettinga jquery error , any time i click or try to use the inputs for the comments i get the error.  any ideas what this is?

        
         

    1. Uncaught SyntaxError: Unexpected token u jquery.validate.unobtrusive.min.js:5
      1. x.isFunction.ijquery.js:720
      2. t.extend.showLabeljquery.validate.min.js:2
      3. t.extend.defaultShowErrorsjquery.validate.min.js:2
      4. t.extend.showErrorsjquery.validate.min.js:2
      5. t.extend.elementjquery.validate.min.js:2
      6. t.extend.defaults.onkeyupjquery.validate.min.js:2
      7. (anonymous function)jquery.validate.min.js:2
      8. x.event.dispatchjquery.js:4597
      9. y.handle
  • steven smith 20 posts 130 karma points
    Jun 09, 2014 @ 17:55
    steven smith
    100

    fixed it, the error pre to the latest one actually inersted some bad data "undefined" into the save.  Everytime i tried to do anything since would cause that error to pop up.

    iether clean the data from the post or just get rid of it and re-create. 

Please Sign in or register to post replies

Write your reply to:

Draft