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.

SCM Fields Missing

February 03, 2011 1:45am

Subscribe [2]
  • #1 / Feb 03, 2011 1:45am

    CDT

    93 posts

    Hi,

    Just want to verify something…

    I was looking through the SCM data, post conversion from 1.6.8 to EE2 yesterday (to build 20101220), and got a fatal error, similar to this one.  The three new fields were missing from the exp_simple_commerce_items table.  No errors were detected when the upgrade to EE2 was done, so I thought all was well.

    The problem described in the post above made it clear that the SCM wasn’t updated for some reason, so…
    1. Backed-up the 3 SCM tables
    2. Uninstalled the SCM module
    3. Installed it
    4. Then did a side by side comparison to see which fields were missing (they were customer_email_template_unsubscribe, current_subscriptions, and member_group_unsubscribe). 
    5. I then restored my back-up of those 3 tables and added the 3 missing fields to the items table.

    Everything seems fine now.  I can edit items in the CP without fatal errors, but I just want to run this by you guys to see if there is something else that should be checked.

    Would there be an issue in the future, with the tables not having the fields in the same order?  Are there any other behind the scenes hooks that may have been missed by my recovering from this in this way?

  • #2 / Feb 03, 2011 3:43pm

    Ingmar

    29245 posts

    Would there be an issue in the future, with the tables not having the fields in the same order?  Are there any other behind the scenes hooks that may have been missed by my recovering from this in this way?

    If it’s working as expected now I wouldn’t worry about it. The field order shouldn’t matter, just the name, and the only changes made are to the database: whether you do them automatically or manually doesn’t matter at the end of the day.

  • #3 / Feb 03, 2011 3:50pm

    CDT

    93 posts

    Thanks, Ingmar.  I’ll stop worrying about that one now! :ahhh:

  • #4 / Feb 03, 2011 4:05pm

    Ingmar

    29245 posts

    Excellent 😊 Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases