Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Disappearing Comments

edited March 2007 in Vanilla 1.0 Help
Luckily this problem is only happening on my local install. Every time I edit an existing comment or add a new one, I can preview the changes but when I go to save it, the content is deleted. An empty comment results. I've deactivated extensions one by one, but no solution. Is there some way I can turn on debug to see what might be happening when I Save?

Thank you for any help you can give me.

This could be a great feature if you want to ban someone from writing on your forum.

Comments

  • Is the comment saved in the database?
  • The comment is there but the content is empty.
  • I wanted to resurrect this issue I have on my local install, because now it is really bothering me. I'm working on new extensions and need to remove this issue to help in my testing. So, my question is --- where can I put echo's in the code to try and help me determine where my comment text is going?

    Thank you for any help you can provide.
  • MarkMark Vanilla Staff
    How can you do a preview if you've disabled all of the extensions?
    What is the difference between the comment being there but there is no content? Do you mean that the record exists but the body field is empty?
  • I do a Preview and see it. But then when I Add it, the comment is in the db but the body is empty.
  • MarkMark Vanilla Staff
    Line 121 to 157 of library/Vanilla/Vanilla.Control.DiscussionForm.php is where the postback values are retrieved and a comment is saved. You can likely find your way to any other functions from there.
This discussion has been closed.