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.

EE2.2 update DB error

June 27, 2011 12:56pm

Subscribe [3]
  • #1 / Jun 27, 2011 12:56pm

    e-man

    1816 posts

    Attempting to update an EE2.1.4 to EE2.2 update and getting the following error during the upgrade process:

    A Database Error Occurred
    
    Error Number: 1061
    
    Duplicate key name 'last_activity_idx'
    
    CREATE INDEX last_activity_idx on exp_sessions(last_activity)
    
    Filename: updates/ud_220.php
    
    Line Number: 82

    Any ideas? I updated all my add-ons to the latest version before attempting the update.

  • #2 / Jun 27, 2011 1:11pm

    e-man

    1816 posts

    OK, running it again has apparently updated the install.
    Seeing several bugs though:
    My site’s index page is now showing:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: require_once(/www/eh13767/public_html/cmssystem/expressionengine/fieldtypes/ft.file.php): failed to open stream: No such file or directory
    
    Filename: safecracker_file/ft.safecracker_file.php
    
    Line Number: 3
    Fatal error: require_once(): Failed opening required '/www/eh13767/public_html/cmssystem/expressionengine/fieldtypes/ft.file.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/eh13767/public_html/cmssystem/expressionengine/third_party/safecracker_file/ft.safecracker_file.php on line 3

    Meanwhile in the control panel the pagination at the bottom of the EDIT screen is simply gone.
    Trying to access any custom field gives me a similar error:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: require_once(/www/eh13767/public_html/cmssystem/expressionengine/fieldtypes/ft.file.php): failed to open stream: No such file or directory
    
    Filename: safecracker_file/ft.safecracker_file.php
    
    Line Number: 3
    Fatal error: require_once(): Failed opening required '/www/eh13767/public_html/cmssystem/expressionengine/fieldtypes/ft.file.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/eh13767/public_html/cmssystem/expressionengine/third_party/safecracker_file/ft.safecracker_file.php on line 3
  • #3 / Jun 27, 2011 1:26pm

    e-man

    1816 posts

    OK, some progress, uploading the safecracker for 2.2 folder into third_party solved most of the error messages. See http://ellislab.com/forums/viewthread/192263/
    Contacted Litzinger via Devot-ee for the snippet sync errors.

    Still missing the pagination on the edit screen though.

  • #4 / Jun 27, 2011 1:47pm

    e-man

    1816 posts

    Rolled back to the corporate theme, and disabled template variables and leevi’s override css to exclude any errors caused by these.
    I ended up disabling the snippet-sync extension for now, apparently the error message causes some kind of js error which causes the pagination to not be loaded, it’s back now.

  • #5 / Jun 27, 2011 2:48pm

    e-man

    1816 posts

    For those having trouble with Litzinger’s Snippet Sync check this thread over at Devot-ee:
    http://devot-ee.com/add-ons/support/snippet-sync/viewthread/1961/

    Admins, feel free to close, it looks we’re out of the woods on this install.

  • #6 / Jun 27, 2011 2:51pm

    Tom Jaeger

    497 posts

    I’ve been watching the thread,

    Thanks for posting everything as you work through it. 

    Good info to have.

  • #7 / Jun 28, 2011 1:32am

    Kyle Cotter

    730 posts

    Hey Erwin,

    Glad you managed to find your way out of the woods. Please post again if you need to.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases