Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Upgrading from .8 rc1 to .8 rc2
  • Posted: 17.02.2008, 09:38
     
    eerok
    rank:
    Freshman Freshman
    registered:
     November 2005
    Status:
    offline
    last visit:
    05.08.08
    Posts:
    9
    I may be posting this in the wrong place, but I couldn't find a better place to post it. I'm trying to upgrade from .8 RC1 to .8 RC2 and not having very good luck with it. Does anyone know of a doc that outlines how to do as such?

    Thanks,

    Koree
  • Posted: 17.02.2008, 14:59
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    it should work like every other update:
    1. Backup files and DB
    2. Delete all core files but the config
    3. upload new files
    4. run upgrade.php

    What went wrong?

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog
  • Posted: 17.02.2008, 22:33
     
    eerok
    rank:
    Freshman Freshman
    registered:
     November 2005
    Status:
    offline
    last visit:
    05.08.08
    Posts:
    9

    kaffeeringe.de

    it should work like every other update:
    1. Backup files and DB
    2. Delete all core files but the config
    3. upload new files
    4. run upgrade.php

    What went wrong?


    Well, it worked, but there were several SQL errors decorating the screen. I should have copied and pasted them, but I did not. I will attempt the upgrade again this evening, and paste any errors here.

    Koree
  • Posted: 17.02.2008, 22:41
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    And you have to install/reinstall the categories module IIRC.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog
  • Posted: 18.02.2008, 00:25
     
    nestormateo
    rank:
    Professional Professional
    registered:
     September 2006
    Status:
    offline
    last visit:
    22.11.08
    Posts:
    1451
    I guess that to upgrade the RC1 to the RC2, you just need to copy the new files (RC2 package) and goto the Modules Admin Panel, regenerate the list and upgrade the ones that has new versions...

    From RC2 to RC3 you'll need to upgrade the Categories module, and may be look how works the Value Addons with the new multi-categorization.

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Posted: 12.03.2008, 21:37
     
    eerok
    rank:
    Freshman Freshman
    registered:
     November 2005
    Status:
    offline
    last visit:
    05.08.08
    Posts:
    9
    I just tried this again, taking into account the information you said here. Here is what I'm now getting:

    Unknown column 'cat_is_locked' in 'field list'
    SELECT cat_id AS "id",cat_parent_id AS "parent_id",cat_is_locked AS "is_locked",cat_is_leaf AS "is_leaf",cat_name AS "name",cat_value AS "value",cat_sort_value AS "sort_value",cat_display_name AS "display_name",cat_display_desc AS "display_desc",cat_path AS "path",cat_ipath AS "ipath",cat_status AS "status",cat_obj_status AS "obj_status",cat_cr_date AS "cr_date",cat_cr_uid AS "cr_uid",cat_lu_date AS "lu_date",cat_lu_uid AS "lu_uid" FROM pn_categories_category WHERE cat_id='10000'
    Exit-Handler: Exiting after SQL-error
    Stacktrace:

    1. (array) 0:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnobjlib/DBUtil.class.php
    2. (integer) line = 128
    3. (string) function = pn_exit
    4. (array) args:
    1. (string) 0 = Exiting after SQL-error
    2. (array) 1:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnobjlib/DBUtil.class.php
    2. (integer) line = 1033
    3. (string) function = executeSQL
    4. (string) class = DBUtil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = SELECT cat_id AS "id",cat_parent_id AS "parent_id",cat_is_locked AS "is_locked",cat_is_leaf AS "is_leaf",cat_name AS "name",cat_value AS "value",cat_sort_value AS "sort_value",cat_display_name AS "display_name",cat_display_desc AS "display_desc",cat_path AS "path",cat_ipath AS "ipath",cat_status AS "status",cat_obj_status AS "obj_status",cat_cr_date AS "cr_date",cat_cr_uid AS "cr_uid",cat_lu_date AS "lu_date",cat_lu_uid AS "lu_uid" FROM pn_categories_category WHERE cat_id='10000'
    2. (integer) 1 = 0
    3. (integer) 2 = 1
    3. (array) 2:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnobjlib/DBUtil.class.php
    2. (integer) line = 1068
    3. (string) function = selectObjectSQL
    4. (string) class = DBUtil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = SELECT cat_id AS "id",cat_parent_id AS "parent_id",cat_is_locked AS "is_locked",cat_is_leaf AS "is_leaf",cat_name AS "name",cat_value AS "value",cat_sort_value AS "sort_value",cat_display_name AS "display_name",cat_display_desc AS "display_desc",cat_path AS "path",cat_ipath AS "ipath",cat_status AS "status",cat_obj_status AS "obj_status",cat_cr_date AS "cr_date",cat_cr_uid AS "cr_uid",cat_lu_date AS "lu_date",cat_lu_uid AS "lu_uid" FROM pn_categories_category WHERE cat_id='10000'
    2. (string) 1 = categories_category
    3. (NULL) 2 = (none)
    4. (NULL) 3 = (none)
    5. (boolean) 4 = 1
    4. (array) 3:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnobjlib/DBUtil.class.php
    2. (integer) line = 1299
    3. (string) function = selectObject
    4. (string) class = DBUtil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = categories_category
    2. (string) 1 = cat_id='10000'
    3. (NULL) 2 = (none)
    4. (NULL) 3 = (none)
    5. (NULL) 4 = (none)
    6. (boolean) 5 = 1
    5. (array) 4:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnobjlib/CategoryUtil.class.php
    2. (integer) line = 42
    3. (string) function = selectObjectByID
    4. (string) class = DBUtil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = categories_category
    2. (integer) 1 = 10000
    6. (array) 5:
    1. (string) file = /home/koree/public_html/koree.net/modules/News/pnuser.php
    2. (integer) line = 226
    3. (string) function = getCategoryByID
    4. (string) class = CategoryUtil
    5. (string) type = ::
    6. (array) args:
    1. (string) 0 = 10000
    7. (array) 6:
    1. (string) file = /home/koree/public_html/koree.net/modules/News/pnuser.php
    2. (integer) line = 22
    3. (string) function = News_user_view
    4. (array) args: (empty)
    8. (array) 7:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnMod.php
    2. (integer) line = 649
    3. (string) function = News_user_main
    4. (array) args:
    1. (array) 0: (empty)
    9. (array) 8:
    1. (string) file = /home/koree/public_html/koree.net/includes/pnMod.php
    2. (integer) line = 586
    3. (string) function = pnModFuncExec
    4. (array) args:
    1. (string) 0 = News
    2. (string) 1 = user
    3. (string) 2 = main
    4. (array) 3: (empty)
    10. (array) 9:
    1. (string) file = /home/koree/public_html/koree.net/index.php
    2. (integer) line = 99
    3. (string) function = pnModFunc
    4. (array) args:
    1. (string) 0 = News
    2. (string) 1 = user
    3. (string) 2 = main
    4. (array) 3: (empty)


    I'm at a loss. Any help is appreciated.

    Thanks,

    Koree
  • Posted: 12.03.2008, 21:49
     
    eerok
    rank:
    Freshman Freshman
    registered:
     November 2005
    Status:
    offline
    last visit:
    05.08.08
    Posts:
    9
    So, I was finally able to get this to work. To do so, I had to run the upgrade.php, *then* run the regular install...
  • Posted: 12.03.2008, 23:14
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Only run the upgrade script and not the install script.



    edited by: AmmoDump, Mar 12, 2008 - 01:54 PM

    --
    David Pahl
    Zikula Support Team

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula