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.

Error 1091 when updating the Discussion Forums

July 18, 2010 2:22am

Subscribe [3]
  • #1 / Jul 18, 2010 2:22am

    Macrike

    137 posts

    Just upgraded from ExpressionEngine 1.6.9 to 2.1, and now I’m trying to upgrade the Discussion Forum module too, but when I click on the module I get the following message:

    A Database Error Occurred
    Error Number: 1091

    Can’t DROP ‘member_id’; check that column/key exists

    ALTER TABLE `exp_forum_read_topics` DROP KEY `member_id`

    Using MySQL 4.1.11 and PHP 5.

    Any ideas? :S

    I’ve looked into the database and member_id is clearly there, so I don’t know what the problem is…

    When I was about to update to EE 2.1, where it says “We have detected that you are currently running ExpressionEngine version 1.6.9. If you are ready to update ExpressionEngine to version 2.1.0 click the link below:” I got a PHP error:

    A PHP Error was encountered

    Severity: Notice

    Message: unserialize() [function.unserialize]: Error at offset 2889 of 3748 bytes

    Filename: core/Installer_Config.php

    Line Number: 168

    Not sure if that’s related.

  • #2 / Jul 18, 2010 4:18pm

    Macrike

    137 posts

    Rolled back to 1.6.9 and repeated everything again; same result. :(

    A Database Error Occurred
    Error Number: 1091

    Can’t DROP ‘member_id’; check that column/key exists

    ALTER TABLE `exp_forum_read_topics` DROP KEY `member_id`

  • #3 / Jul 18, 2010 6:00pm

    Brandon Jones

    5500 posts

    Did you also get the unserialize() error on the second try? I’d like to address that first to ensure the 2.1 upgrade went smoothly.

  • #4 / Jul 18, 2010 6:02pm

    Macrike

    137 posts

    Yeah, on the second try I got the exact same error. Although if I press Back and try again the error does not appear again.

  • #5 / Jul 18, 2010 7:53pm

    Macrike

    137 posts

    This is on a production server, btw. I’ve dumped the site and database over to MAMP, and tried updating to EE2.1 from there, and I got the same unserialize() PHP error prior to updating. AND, if I ignore the PHP error and continue with the upgrade, when it comes to upgrading the Forum module I get the same error as before.

    So I guess it’s a problem with my database?

  • #6 / Jul 19, 2010 1:41am

    John Henry Donovan

    12339 posts

    Macrike,

    Are you using any add-ons/extensions on your 1.6.9 site?

  • #7 / Sep 19, 2010 4:47pm

    Patata_killer

    17 posts

    I have the same problem:


    A Database Error Occurred

    Error Number: 1091

    Can’t DROP ‘member_id’; check that column/key exists

    ALTER TABLE `exp_forum_read_topics` DROP KEY `member_id`

  • #8 / Sep 20, 2010 3:42am

    John Henry Donovan

    12339 posts

    Patata_killer,

    I have replied to your thread here. There is no need to make multiple posts.

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

ExpressionEngine News!

#eecms, #events, #releases