Page 1 of 3 123 LastLast
Results 1 to 10 of 22
Like Tree1Likes

Upgrade from 2.5.1 - 2.5.2 Error

This is a discussion on Upgrade from 2.5.1 - 2.5.2 Error within the Installation/Setup forums, part of the osCmax V2.5 Forums category; 1054 - Unknown column 'slideshow_active' in 'field list' select slideshow_id, slideshow_image, slideshow_title, slideshow_sort_order, slideshow_link, slideshow_target, slideshow_active, slideshow_cg_hide, date_added, last_modified from ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    205
    Rep Power
    13


    Default Upgrade from 2.5.1 - 2.5.2 Error

    1054 - Unknown column 'slideshow_active' in 'field list'

    select slideshow_id, slideshow_image, slideshow_title, slideshow_sort_order, slideshow_link, slideshow_target, slideshow_active, slideshow_cg_hide, date_added, last_modified from slideshow order by slideshow_sort_order limit 0, 20

    [TEP STOP]


    Any thoughts on correcting the above issue.

    Adam

  2. #2
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    205
    Rep Power
    13


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    This is an easy fix the upgrade script didn't add to fields to TABLE_SLIDESHOW you will just need to add the following.

    slideshow_active varchar(3) NOT NULL,
    slideshow_cg_hide varchar(255) NOT NULL,


    Please update the upgrade script.

    Thanks,


    Adam

  3. #3
    Member
    Join Date
    Jul 2011
    Location
    Rome
    Posts
    35
    Rep Power
    0


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Also missing from the upgrade script the fields to add to the TABLE orders :
    delivery_date DATETIME NOT NULL,

  4. #4
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    205
    Rep Power
    13


    1 out of 1 members found this post helpful.

    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Good call

    Thanks

  5. #5
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    205
    Rep Power
    13


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Good call

    Thanks

  6. #6
    New Member
    Join Date
    Jul 2011
    Location
    Fort Worth, Texas
    Posts
    6
    Rep Power
    0


    1 out of 1 members found this post helpful.

    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Quote Originally Posted by freeman78 View Post
    Also missing from the upgrade script the fields to add to the TABLE orders :
    delivery_date DATETIME NOT NULL,
    In 2.5.1_to2.5.2.sql

    Replace

    ALTER TABLE `orders`
    ADD COLUMN `delivery_date` DATETIME NOT NULL after `address_format_id`;

    With

    ALTER TABLE `orders`
    ADD COLUMN `delivery_date` DATETIME NOT NULL after `customers_address_format_id`;

    Dieter

  7. #7
    Lurker
    Join Date
    May 2012
    Posts
    2
    Rep Power
    0


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Hi
    How can you execute the upgrade script again. In the Administrator /upgrade system it says I already upgraded which I have.

    I am not very DB savvy so if sone one could put what needs to be done into a .sql file and I can apply it VIA MYSQL admin for the slider bit.

    Thanks

    Craig

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,756
    Rep Power
    573


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Thanks for the quick reports on this. The fixes have been applied and both DL packages have corrected the upgrade problems.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9
    Lurker
    Join Date
    May 2012
    Posts
    2
    Rep Power
    0


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Quote Originally Posted by michael_s View Post
    Thanks for the quick reports on this. The fixes have been applied and both DL packages have corrected the upgrade problems.
    Thanks for the quick action. I have put all the new files on the server.

    But under Administrator / Upgrade System it says the version is already updated to 2.5.2.

    How can I rerun the upgrade script again to initiate the new changes.?

  10. #10
    Member
    Join Date
    Sep 2011
    Posts
    96
    Rep Power
    9


    Default Re: Upgrade from 2.5.1 - 2.5.2 Error

    Hi, I upgrade it (after fix the DL by michael_s) and now if I have enable the Slideshow show this message.


    1054 - Unknown column 'slideshow_cg_hide' in 'where clause'

    select slideshow_image from slideshow where NOT find_in_set('0', slideshow_cg_hide) and slideshow_active = 'yes' order by slideshow_sort_order


    My upgrade Steps is: Overwrite all files, acces to admin and click in Administrator / Upgrade System).

    Thanks

Page 1 of 3 123 LastLast

Similar Threads

  1. [Installer Issue] How to upgrade to 2.5
    By sio in forum Installation/Setup
    Replies: 7
    Last Post: 05-24-2011, 11:48 PM
  2. Replies: 2
    Last Post: 04-01-2008, 02:54 AM
  3. upgrade from 2.1 to 2.2
    By jamiewalsh in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-12-2005, 06:34 AM
  4. BTS 1.0b to 1.2a Template System Upgrade causes DB error
    By RaEMeY in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-07-2004, 01:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •