Can't post Article Body or Thread Replies

Last post 04-11-2008 10:08 AM by JamesSAEP. 4 replies.

Sort Posts:

  • Can't post Article Body or Thread Replies

    04-08-2008, 12:20 PM
    • Loading...
    • JamesSAEP
    • Joined on 01-15-2008, 11:51 AM
    • Posts 124

     I'm using TBH C# and when I try to post a new article the title and abstract will insert into the database, but the body text will not. Also, in the forums, I can create a new topic, but replying to a topic will say it posted fine, but the body of text is blank.

    Thinking I might have messed something up, I re-downloaded the source code and tried it - same problem.  I'm suing the sql2005

    I did go into the database table and confirmed the  table tbh_Articles "body" field is empty and the other fields are populated.

    Also, the FCKeditor does not show on the page either, and I don't remember if it used to. 

    The weird thing is that it used to work fine.

     


    Any ideas on what I might have done?

  • Re: Can't post Article Body or Thread Replies

    04-08-2008, 1:05 PM
    • Loading...
    • JamesSAEP
    • Joined on 01-15-2008, 11:51 AM
    • Posts 124

    Ok, an update:

    If in VS I view the site, everything work fine. But as soon as I try to view the site from IIS, the FCKeditor does not load and insert text.  So, this has to be isolated to the editor.  Any idea on what to check?

    Thanks. 

  • Re: Can't post Article Body or Thread Replies

    04-08-2008, 1:48 PM
    • Loading...
    • Lee Dumond
    • Joined on 11-03-2004, 10:51 AM
    • Decatur, IL USA
    • Posts 854

     Try to debug by setting a breakpoint in the first line of btnSubmit_Click in AddEditPost.aspx. Then, try to post to the forum as normal, and step through the code.

    Pay specially close attention when it gets to the Post.InsertPost method. This takes as arguments (forumID, threadID, txtTitle.Text, txtBody.Value, chkClosed.Checked). See if it's trying to pass an empty value in txtBody.Value.
    // ******************************
    if (this.PostHelpedYou)
    {
    MarkAsAnswer();
    }
  • Re: Can't post Article Body or Thread Replies

    04-10-2008, 6:41 PM
    • Loading...
    • Lee Dumond
    • Joined on 11-03-2004, 10:51 AM
    • Decatur, IL USA
    • Posts 854

     I'm curious how this worked out for you. Coincidentally, I spoke to someone else recently who had the exact same problem.

    // ******************************
    if (this.PostHelpedYou)
    {
    MarkAsAnswer();
    }
  • Re: Can't post Article Body or Thread Replies

    04-11-2008, 10:08 AM
    • Loading...
    • JamesSAEP
    • Joined on 01-15-2008, 11:51 AM
    • Posts 124

    I just finally got back to working on it yesterday and fixed it.  I really don't know how/why it was fixed, but the only thing I did was update the fckeditor to the latest version 2.6 and the aspx fckeditor to 2.5. 

    So, I don't know what made it break originally and what fixed it... The only thing I need to work on is how to get the image file browser to work in the new fckeditor.

     

Page 1 of 1 (5 items)