Copied to clipboard

Flag this post as spam?

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


  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 06:50
    Swathi
    0

    Comment section Internal error 500

    Hi,

    Does the comment section have any limit of words?

    I tried posting a long comment and it gave me a 500 internal error. IF there is a limit how do i fix it?

    Thanks Swati

  • Luke Alderton 191 posts 508 karma points
    Aug 11, 2015 @ 10:04
    Luke Alderton
    0

    Hi Swathi,

    Can I ask what version of SmartBlog you're using? The latest version of it has an updated comment system so I'll need to know what one you're using before I can help you.

    Luke

  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 10:06
    Swathi
    0

    Hi Luke,

    Im using Umbraco 7.1.4,and Smart blog 2.0.9 Since it is already implemented in my project i cannot change the package. iS there any way i can solve this?

    Swati

  • Luke Alderton 191 posts 508 karma points
    Aug 11, 2015 @ 10:14
    Luke Alderton
    0

    The older comment system would post your comment via AJAX to a web service running on your site. It formats this comment into JSON before posting it.

    It is possible that you have hit the max character length set on your server, however it is also possible that you have used unescaped characters in your comment which would interfere with the JSON formatting.

    Could you provide an example of the error?

    Thanks.

  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 10:19
    Swathi
    0

    What is the max characters that i can use?

    This is a sample that was not getting posted>>

    Hi xx,
    

    I am assuming that you are having basic knowledge and hence I have used some of the ghfghf.

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s Analytics - "What is happening on fgdfg".

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s level/JOB level or at the application level. If you consider the past Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s(Distinct Increase/Decrease in the consumption) tLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

    => Lorem Ipsum has been the
    => Lorem Ipsum has been theLorem Ipsum has been the.
    => Lorem Ipsum has been theLorem Ipsum has been theLorem Ipsum has been theLorem Ipsum has been the
    

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s level/JOB l(evel or at the application level. If you consider the past Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard d.

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s level/JOB level or at the application level. If you consider the past Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard d

    I hope I have answered your question

    Regards, x.x.vrfrf

  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 10:20
    Swathi
    0

    and on click of post, it threw an alert saying 500 internal error and it doesnt post.

  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 10:21
    Swathi
    0

    i even tried posting it without the special characters, May be its the word limit. Is there a way i can increase it?

  • Luke Alderton 191 posts 508 karma points
    Aug 11, 2015 @ 10:32
    Luke Alderton
    0

    I would think that the comment posting function (using jQuery Ajax) would transform the comment into a query string, so you might be running into a max url problem but according to Google...

    By default Microsoft IIS accepts a maximum query sting length of 2048 characters. If there is a query string received by the IIS with more than 2048 characters, it will throw a 404.15 – Query String too long error.

    So doesn't look like that sort of problem would cause an internal server error - 500.

    I need to see the error that the page has thrown to really know what's going on, otherwise I'm just guessing.

  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 10:48
    Swathi
    0

    this is all it says

  • Swathi 87 posts 281 karma points
    Aug 11, 2015 @ 10:49
    Swathi
    0

    This alert pop's-up and it doesnt post.

    Normal 2-3 lines of comments are posting though

  • Alex 79 posts 416 karma points
    Aug 11, 2015 @ 11:43
    Alex
    0

    enter image description here

    give length to particular textbox and check in db where comment is being inserted

  • Swathi 87 posts 281 karma points
    Aug 12, 2015 @ 05:12
    Swathi
    0

    Hi max,

    Im sorry you lost me there..

    Where are these settings again? The form is a part of the package

    Swati

  • Luke Alderton 191 posts 508 karma points
    Aug 12, 2015 @ 08:04
    Luke Alderton
    0

    You'll be able to see more information on the error if you install the Firebug Chrome extension. It will show you what data has been posted and what the response was when you click submit.

  • Swathi 87 posts 281 karma points
    Aug 12, 2015 @ 08:11
    Swathi
    0

    Hi luke,

    is there any other way i could solve this?

  • Luke Alderton 191 posts 508 karma points
    Aug 12, 2015 @ 09:41
    Luke Alderton
    0

    Unfortunately without knowing the actual error, you won't know what to fix. The other option is to upgrade the blog.

  • Alex 79 posts 416 karma points
    Aug 12, 2015 @ 10:58
    Alex
    0

    hi swathi,

    you create custom text box editor for solve this problem

    mine is working fine, u try to it own code

    Link:- http://www.markadrake.com/blog/2015/01/22/custom-umbraco-property-editor-tutorial-character-counts/

  • Swathi 87 posts 281 karma points
    Aug 12, 2015 @ 11:21
    Swathi
    0

    thanks luke and max I'll try it

Please Sign in or register to post replies

Write your reply to:

Draft