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.

Database Error Occurred after updated to 2.4.0

March 05, 2012 6:52pm

Subscribe [2]
  • #1 / Mar 05, 2012 6:52pm

    atiosis

    180 posts

    Hello,
    We just updated from EE1.6.0 to EE 2.4.0. 
    Everything seems to be working fine until when we try to update the settings of any channel or edit any entry.

    This is the error we get when editing an entry:

    A Database Error Occurred
    
    Error Number: 1054
    
    Unknown column 'exp_channels.live_look_template' in 'field list'

    This is what we get when trying to update the channel’s settings:

    A Database Error Occurred

    Error Number: 1054

    Unknown column ‘live_look_template’ in ‘field list’

    Both errors display the query the engine is trying to make, and also they both display this (respectively):

    Filename: D:\ee\fdot_system\codeigniter\system\database\DB_driver.php
    
    Line Number: 330
    Filename: D:\ee\fdot_system\codeigniter\system\database\DB_driver.php
    
    Line Number: 330

    Any ideas of what could be causing this? Any help will be greatly appreciated since we are in a rush and in really tight deadline.

    Thanks!

  • #2 / Mar 05, 2012 7:02pm

    atiosis

    180 posts

    ... Also,

    When we go to the channels preferences, we get this PHP error just after “XML Language”:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined variable: live_look_template
    
    Filename: core/Loader.php(727) : eval()'d code
    
    Line Number: 74
  • #3 / Mar 06, 2012 12:26pm

    atiosis

    180 posts

    Please help!!!

  • #4 / Mar 06, 2012 1:08pm

    atiosis

    180 posts

    We just found out that the “live_look_template” column in not in the “exp_channels” table. What if we manually add this column to the table? If we do so, what kind of data type is supposed to be contained in this column?  Would this fix our issue or bring us to more trouble?

    PLEASE HELP!

  • #5 / Mar 06, 2012 1:50pm

    atiosis

    180 posts

    Ok, it seems that upgrading from 1.6 to 2.4 fails to add the “live_look_template” in the “exp_channels” table.  We manually added the “live_look_template” as “int<10> unsigned not null default 0”.  This seems to solve our problem.  If we encounter anything else related to this matter, we will again post here.

    Thanks

  • #6 / Mar 06, 2012 7:12pm

    Sean C. Smith

    3818 posts

    HI atiosis,

    I’m sorry to see that you had this problem with the upgrade. It looks like you found a solution. Is there anything else I can assist you with?

    Sean

  • #7 / Mar 06, 2012 7:36pm

    atiosis

    180 posts

    Hi Sean, thanks for the reply, but I think we are fine now.
    If we encounter any other issue, we will post again!

    Thanks a lot.

  • #8 / Mar 08, 2012 4:37pm

    Shane Eckert

    7174 posts

    Hello atiosis,

    I am sorry we showed up to the party so late. I am glad to see that you are back in business.

    Thanks for letting us know and please do open a new thread if you run into any more problems.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases