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.

Update from 2.6.1 Error

August 28, 2013 3:54am

Subscribe [6]
  • #1 / Aug 28, 2013 3:54am

    Werner Gusset

    122 posts

    Updated an EE 2.6.1 site and got this error message

    A Database Error Occurred
    You must use the “set” method to update an entry.

    Filename: updates/ud_270.php

    Line Number: 1051


    An suggestion for steps that would help to finish the update.

  • #2 / Sep 02, 2013 10:17am

    Jason Morehead

    456 posts

    I was updating a v2.5.5 site to v2.7 and encountered the same error. Any ideas?

    Update: FWIW, I tried logging into my site’s CP, and was able to get to the front page, where I see this message:

    Your ExpressionEngine installation’s version (2.6.1) is not consistent with the reported version (2.7.0). Please update your installation of ExpressionEngine again.

    I can access other pages in the CP, but can’t publish/edit channel entries.

    Also, I’m running PHP v5.3.2 and MySQL v5.1.69.

  • #3 / Sep 02, 2013 12:17pm

    Kevin Cupp

    791 posts

    Hi all,

    Sorry you had this problem. Here’s a fix.

    Open system/installer/updates/ud_270.php and ADD this code ABOVE line 1050:

    if (empty($data))
    {
        return;
    }

    Then re-run the updater and you should be good to go.

    Kevin

  • #4 / Sep 02, 2013 6:12pm

    Jason Morehead

    456 posts

    That solved it for me. Thanks for the help.

  • #5 / Sep 02, 2013 11:32pm

    Werner Gusset

    122 posts

    Thank You. Works.

  • #6 / Sep 08, 2013 9:09pm

    wsmith

    13 posts

    I did this as instructed above, and I get this message:

    An Error Was Encountered
    Unable to load the requested class: shortlist_model

    when I do not follow the instructions in this thread, I get this message:

    A Database Error Occurred
    You must use the “set” method to update an entry.

    Filename: updates/ud_270.php

    Line Number: 1054

    I’m not sure what could have happened in the past few days, from sep 2 until now, but my hosting service is compatable according to the ee update wizard script.

    Best, Ward Smith

  • #7 / Sep 17, 2013 9:06pm

    aenable

    1 posts

    I did this as instructed above, and I get this message:

    An Error Was Encountered
    Unable to load the requested class: shortlist_model

    Best, Ward Smith

    Hey Ward,

    After experiencing Werner’s problem and applying Kevin’s patch to ~/system/installer/updates/ud_270.php and then attempting to upgrade I encountered the same issue due to having the Shortlist module installed.

    My workaround (since I didn’t have any shortlists in use at the time):

    1. Temporarily rename your ~/system/installer folder to ~/system/installer.bak
    2. Open your Control Panel (admin.php) and Remove the Add ons > Modules >Shortlist
    —NOTE: THIS MAY OR MAY NOT CAUSE YOU TO LOSE ANY LISTS SAVED OR OTHER ATTRIBUTES SAVED BY SHORTLIST IN THE DATABASE
    3. Rename your ~/system/installer.bak to ~/system/installer
    4. Visit the Control Panel again (admin.php). This should now be the ExpressionEngine upgrade screen.
    5. Complete the steps to upgrade EE (including removal of the ~/system/installer folder upon completions of the upgrade)
    6. Open your Control Panel (admin.php) and Install the Add ons > Modules >Shortlist
    7. Profit!

    Hopefully this works for you too.

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

ExpressionEngine News!

#eecms, #events, #releases