ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Discussion Forums Module Issue?

August 13, 2010 1:08am

Subscribe [4]
  • #1 / Aug 13, 2010 1:08am

    smcgo4

    36 posts

    Hi

    Does anyone else have a problem with attachments posted in an entry in the discussion forums causing an error?  I am using the latest build i.e. ExpressionEngine Discussion Forum - version 3.1.0 (20100805)

    When I post an entry with an attachment the following error is displayed:

    A Database Error Occurred
    Error Number: 1062

    Duplicate entry ‘13’ for key 1

    UPDATE `exp_forum_attachments` SET `topic_id` = 66, `post_id` = 0, `board_id` = ‘1’, `is_temp` = ‘n’, `attachment_id` = 13

    « Back

    Digging in to the attachments storage area reveals that the attachment has been uploaded twice and digging in the database shows there are two postings of the attachment, yet when I go to the forum entry there is no attachment!

    Cheers

    Steve

  • #2 / Aug 13, 2010 11:41am

    Ingmar

    29245 posts

    It sounds like your database got corrupted / inconsistent somehow. Do you have a backup to roll back to? Otherwise do make a backup and verify it, then delete one of the duplicate rows manually (using phpMyAdmin, say). Makes sense?

  • #3 / Aug 13, 2010 4:54pm

    smcgo4

    36 posts

    Have done that and the result is still the same - curious

  • #4 / Aug 14, 2010 3:06pm

    Greg Salt

    3988 posts

    Hi smcgo4,

    Please submit a bug report for this issue making sure to add a summary of the steps to take to reproduce it. Additionally, please add a link back to this thread.

    Cheers

    Greg

  • #5 / Aug 15, 2010 11:27pm

    smcgo4

    36 posts

    Done 😊

  • #6 / Aug 16, 2010 6:22am

    John Henry Donovan

    12339 posts

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases