Copied to clipboard

Flag this post as spam?

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


  • Dom Benoscek 4 posts 24 karma points
    Mar 21, 2012 @ 20:32
    Dom Benoscek
    0

    uBlogsy comment submit error

    When a comment is submitted an error message is being displayed but the comment is displaying as intended in the "Comments to Approve" section. The bigger issue is that the e-mail notification on comment submittal is not being sent. I am using version 4.7.1.1.

    Thank you to everyone who keeps the forum active it has been tremendously helpful on many occasions.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 21, 2012 @ 23:34
    Anthony Dang
    0

    Which version of ublogsy are you using?

    What do your smtp settings look like in your web.config?

     

  • Dom Benoscek 4 posts 24 karma points
    Mar 22, 2012 @ 02:51
    Dom Benoscek
    0

    I am using uBlogsy v2.0.0.1. Here are my smtp settings from web.config:

          <smtp>
            <network host="127.0.0.1" userName="username" password="password" />
          </smtp>

    I have a feeling a few things are missing. Thanks for the quick response and uBlogsy, it is a great package.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 22, 2012 @ 13:01
    Anthony Dang
    0

    Do you have an smtp server on that machine?

    If not, you can always use gmails :)

    <smtp from="[email protected]">
            <network host="smtp.gmail.com"  password="xxxxxxxxxx" userName="gmailname"/>
          </smtp>

     

  • Vikram 4 posts 24 karma points
    May 24, 2012 @ 10:26
    Vikram
    0

    Hi Anthony:I have this issue as well...I have configured the smtp settings as discribed here.

    I'm using Umbraco v 4.7.2 (Assembly version: 1.0.4500.21031) and uBlogsy v 2.0.0.0

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    May 29, 2012 @ 20:13
    Anthony Dang
    0

    Are there any erros in the umbracoLog table?

     

  • Sören Deger 733 posts 2844 karma points c-trib
    Jun 01, 2012 @ 13:11
    Sören Deger
    0

    I have the same error! I'm using Umbraco v 4.7.2 (Assembly version: 1.0.4500.21031) and uBlogsy 2.1.0.0.

    In the umbracoLog table is only the entrie: Failure sending mail.

    If I write a comment, then the comment is shown in the dashboard, but the e-mail notification is not being sent!

    The smtp settings in web-config are right, because a lot of other umbraco-website on the same server has the same settings and mails are being sent. But this is my first website with uBlogsy...

     

    Can anyone help?

     

  • Sören Deger 733 posts 2844 karma points c-trib
    Jun 01, 2012 @ 14:07
    Sören Deger
    0

    I have found a error in the web.config. The smtp-settings has one wrong char... Now, it work's :-)

  • Vikram 4 posts 24 karma points
    Jun 04, 2012 @ 16:46
    Vikram
    0

    Thanks for suggesting Umbraco Logs. I missed to set "Required SSL" in settings. Thanks again.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jun 05, 2012 @ 14:03
    Anthony Dang
    0

    Don'e you just love config errors :)

     

  • Dom Benoscek 4 posts 24 karma points
    Jul 09, 2012 @ 22:27
    Dom Benoscek
    0

    So I have updated my web config file to include the appropriate smtp settings for Gmail. Under the uBlogsy "Contact Info" tab I have added a valid "Contact Email" and checked the "Comment Notification" checkbox. Despite this, I have not yet been able to receive e-mails when a user submits a comment. As far as error reporting goes, when the comment is submitted, the query string callback parameter indicates that there was an error but checking the error log does not reveal anything related to a failure sending the email. If anyone has any ideas on how to fix this they would be greatly appreciated.

    Thanks again Anthony for the previous feedback.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 10, 2012 @ 11:07
    Anthony Dang
    0

    What does your smtp settings look like?

     

    Have you tried it with the gmail settings in my reply above?

     

  • Dom Benoscek 4 posts 24 karma points
    Jul 10, 2012 @ 23:55
    Dom Benoscek
    0

    I used the settings you mentioned earlier:

    <smtp from="[email protected]">
    <network host="smtp.gmail.com" password="gmailPassword" userName="gmailName"/>
    </smtp>

    with my password and username in place of the temporary placeholders.

  • Vikram 4 posts 24 karma points
    Jul 12, 2012 @ 11:37
    Vikram
    0

    Hello Dom

    Try this..

     <smtp from="[email protected]">

            <network host="smtp.gmail.com" userName="username" password="password" enableSsl="true" />

          </smtp>

    -Vikram

  • manikandan 7 posts 27 karma points
    Aug 13, 2012 @ 09:01
    manikandan
    0

    Hi,

    When a comment is submitted an error message is being displayed

    Error : An error has occurred. Please try again later.

    in umbracolog table i found 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 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

    Please any one help for me..

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 16, 2012 @ 20:45
    Anthony Dang
    0

    Does the ublogsy member type exist? 

     

  • Denford 132 posts 323 karma points
    Oct 09, 2012 @ 13:39
    Denford
    0

    Hi anthony,

    I am having the same problem on one of my sites, using ublogsy 2.1.0.0 on umbraco 4.7.2. i have set up my site to use the gmail account as mentioned above but am still getting the error. In the umbraco log table i have the error bellow;

    Sequence contains no matching element     at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)     at uBlogsy.BusinessLogic.EmailService.GetEmailTemplateNode(Int32 pageId, String templateName) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\EmailService.cs:line 241     at uBlogsy.BusinessLogic.EmailService.GetEmailProperties(Int32 pageId, String emailTemplateName, String& emailBody, String& subject, String& replyToAddress, String& adminContactEmail) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\EmailService.cs:line 131     at uBlogsy.BusinessLogic.EmailService.SendAdminNotificationEmail(String postUrl, Int32 pageId, CommentInfo commentInfo, Int32 commentId) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\EmailService.cs:line 172     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 128

    u did mention creating a ubogsy member type, i have a uBlogsy Subscriber type created do i need another and what settings do i need for the type if i do and dont know if i am right but take it the subscribe option creates these users (am actually intending to disable the subscrbie option but dnt know how either) any suggestions.

    thanks in advance

    Denford

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 10, 2012 @ 10:57
    Anthony Dang
    0

    GetEmailTemplateNode is failing. Probably because the node is not published. Re-publish the email templates.

     

    If that doest work, can you paste a screen grab of your content tree.

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 12:47
    Jon
    0

    I am recieving the following error when i post a comment:

    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\uBlogsy\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\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\CommentService.cs:line 119

    After reading the rest of this post i noticed i was missig the uBlogsy member type or any thing related to membership.  Can you please guide me to what i would need to add to fix this error.

     

    Thanks, Jon

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 06, 2013 @ 13:44
    Anthony Dang
    0

    Try reinstalling the package. 

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 15:13
    Jon
    0

    I have tried to reinstall numerous times.  But even on the first install and re-installs i get this:

    Error updating item: umbraco.DataLayer.SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery ---> System.Data.SqlClient.SqlException: String or binary data would be truncated.  The statement has been terminated.     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)     at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters)     --- End of inner exception stack trace ---     at umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters)     at umbraco.cms.businesslogic.datatype.DefaultData.set_Value(Object value)

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 06, 2013 @ 15:24
    Anthony Dang
    0

    Random umbraco db errors ... eek!

    Try a fresh install of Umbraco?

     

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 15:28
    Jon
    0

    just replaced all umbraco file dll, etc

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 15:42
    Jon
    0

    Ok, so i created a new Umbraco site with not content nodes, etc and installed and now no SQL error, thanks for the advice, not the task of moving my data over :(

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 15:46
    Jon
    0

    So tried to post a comments and now recieve this: String was not recognized as a valid DateTime.     at System.DateTime.Parse(String s)     at uBlogsy.BusinessLogic.Models.SubscriptionMetaData..ctor(String subscriptionMetaDataString) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\Models\SubscriptionMetaData.cs:line 23     at uBlogsy.BusinessLogic.SubscriptionService.<GetSubscriptionMetaData>b__6(String x) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\SubscriptionService.cs:line 147     at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()     at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()     at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)     at uBlogsy.BusinessLogic.SubscriptionService.MetaDataContains(Int32 pageId, String email) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\SubscriptionService.cs:line 164     at uBlogsy.BusinessLogic.SubscriptionService.SubscribeToPost(Int32 pageId, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\SubscriptionService.cs:line 64     at uBlogsy.BusinessLogic.CommentService.SubmitComment(HttpRequest request, Int32 pageId, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\CommentService.cs:line 119

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 06, 2013 @ 15:55
    Anthony Dang
    0

    Which versions of umbraco and ublogsy?

     

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 15:56
    Jon
    0

    Umbraco, 4.11.1 and uBlosy 2.1.1.2

  • Jon 13 posts 71 karma points
    Mar 06, 2013 @ 16:53
    Jon
    0

    Also a side note, i see that there is suppose to be an XML file for the Email templates but i cannot find it anywhere ... where should it be and what should the name be, i would like to set up the emails

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 06, 2013 @ 22:32
    Anthony Dang
    0

    Clear out any existing members and subscription meta data in comment containers. Also what are your computer's regional settings? both the computer you're using and the one that umbraco is running on (if different).

    Email tempaltes are not in content nodes for easier editing.

     

  • Jon 13 posts 71 karma points
    Mar 11, 2013 @ 19:23
    Jon
    0

    but i can creat Email content nodes.  Where do i find those email templates and how to i create a new email node and select that template

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 11, 2013 @ 19:33
    Anthony Dang
    0

    Sorry that should have said "Email tempaltes are NOW in content nodes for easier editing."

    Templates are under the Email templates container node. It's all wired up and should just work. Modify the html in the RTE if you need to change the tempalte.

     

     

  • Jon 13 posts 71 karma points
    Mar 26, 2013 @ 20:15
    Jon
    0

    i have the three templates there but in the field "Email TEmplate NAme" there is nothing. and now i am getting the following errors.  I have tried added the email template names manual in the DB but it doesnt do anything. the comments are there but members dont get created and no emails sent. using gmail smtp settings.

    Sequence contains no matching element     at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)     at uBlogsy.BusinessLogic.EmailService.GetEmailTemplateNode(Int32 pageId, String templateName) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\EmailService.cs:line 258     at uBlogsy.BusinessLogic.EmailService.GetEmailProperties(Int32 pageId, String emailTemplateName, String& emailBody, String& subject, String& replyToAddress, String& adminContactEmail) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\EmailService.cs:line 141     at uBlogsy.BusinessLogic.EmailService.SendAdminNotificationEmail(String postUrl, Int32 pageId, CommentInfo commentInfo, Int32 commentId) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\EmailService.cs:line 184     at uBlogsy.BusinessLogic.CommentService.SubmitComment(HttpRequest request, Int32 pageId, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy\uBlogsy\uBlogsy.BusinessLogic\CommentService.cs:line 128

    [UmbracoExamine] (InternalMemberIndexer)Field "InternalMemberIndexSet" is listed multiple times in the index set "email". Please ensure all names are unique

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 26, 2013 @ 20:41
    Anthony Dang
    0

    Unfortunately the Umbraco package installer has been a bit tempermental lately.

    I would try to completely uninstall the comment package, also delete the member type and any members. Then try a re-install.

    Also, you did not have to edit the db directly. You could have also changed the label type to a textbox, done your change, then changed it back to a label.

     

  • Jon 13 posts 71 karma points
    Mar 26, 2013 @ 20:58
    Jon
    0

    It's not creating any member, was there suppose to be a members group also? what about web.config changes for membership?

  • Jon 13 posts 71 karma points
    Mar 26, 2013 @ 21:03
    Jon
    0

    Ok, so after i switched it to a text field and updated the comments work Great! Now if it will just create the members ill be happy but that isnt a deal breaker

     

    Thanks for your quick responses

  • Jon 13 posts 71 karma points
    Mar 26, 2013 @ 21:11
    Jon
    0

    So i found the members are being all created with "uBlogsySafePrefix_"email.  Is this correct?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 10, 2013 @ 01:41
    Anthony Dang
    0

    Sorry for the late reply. I've been ultra busy. 

    Did you resolve this?

     

    And yes the prefix is on purpose as to not conflict with other members types. 

     

Please Sign in or register to post replies

Write your reply to:

Draft