Copied to clipboard

Flag this post as spam?

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


  • Thomas Vestergaard 52 posts 138 karma points
    May 02, 2010 @ 13:03
    Thomas Vestergaard
    0

    uComment, how to debug

    Hey all

    I've installed the uComment package, but I can't get it to save the posts. I get the "Your comment could not be posted, we're very sorry for the inconvenience" error message.

    I have checked that all the right stuff is present in the config files, and YES I do have a <form runat="server"> tag in my template :)

    I'm not sure where to start looking for the error.

    Ideas anyone?

  • Thomas Vestergaard 52 posts 138 karma points
    May 02, 2010 @ 13:15
    Thomas Vestergaard
    0

    Ok, I seem to have narrowed it down to the jQuery now.

    I guess I was a bit too fast with the styling. The jQuery script cannot read the correct fields.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    May 02, 2010 @ 14:28
    Sebastiaan Janssen
    0

    I know you've found your problem, but I still have some general tips. It could be difficult to debug pre-compiled packages, what I usually try is: 

    - Adding ?umbDebugShowTrace=true to the querystring to quickly find errors in the stack trace
    - Check the umbracoLog table for errors
    - I always install ELMAH to be able to quickly find uncaught exceptions

  • Thomas Vestergaard 52 posts 138 karma points
    May 02, 2010 @ 16:06
    Thomas Vestergaard
    0

    Hey Sebastian

    Thanks for the tips :)

    I know ELMAH from previous projects and it's really good at logging what going on behind the scenes.

     

     

     

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    May 04, 2010 @ 10:34
    Morten Bock
    0

    Another good tool for this sort of thing is Firebug. it has a "net" tab that shows the requests being made in the background, such as ajax stuff.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies