1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Internal Sitebuilder error: Undefined property isMysqlUsed

Discussion in 'SiteBuilder' started by gethosted, Oct 14, 2008.

  1. gethosted

    gethosted Guest

    0
     
    Hello,

    I encounter this problem after upgrade from 4.2 to 4.5

    Internal Sitebuilder error.
    File: /usr/local/sitebuilder/include/Base/ORM/Object.php; Line: 213
    Message: Undefined property isMysqlUsed.; Code: 0
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    First of all make sure that Sitebuilder upgrade went fine and database was upgrade also:

    mysql> select * from config_param;
    +----+-------------------+---------------------+-----------------+
    | id | config_section_id | name | value |
    +----+-------------------+---------------------+-----------------+
    | 1 | 1 | version | 4.2.0 |
    | 2 | 1 | build | 2008051215 |
    | 3 | 1 | active_license_key | 4 |
    | 4 | 1 | modules_api_version | 4.2.0 |
    | 5 | 1 | patch_level | Hotfix-20080512 |
    +----+-------------------+---------------------+-----------------+
    5 rows in set (0.03 sec)

    If it is fine, try to save copy for <sb_root>/config file, remove it and run 'sb_config' utility.
     
  3. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Accidentally I provided output together with command. Make sure that you have proper 4.5 version and build.
     
  4. gethosted

    gethosted Guest

    0
     
    is this you want? do i run the latest version? if yes, i want to proceed the second step.

    1 1 version 4.2.0
    2 1 build 2008051215
    3 1 active_license_key 6
    4 1 modules_api_version 4.2.0
    5 1 patch_level Hotfix-20080512
     
  5. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    No, the latest version is 4.5.0+hotfix1. Try to perform manual actions from these article, as it seems database was not upgraded to 4.5 version: http://kb.odin.com/en/5218

    # echo "4.2.0" > <SB_ROOT>/migrate
    Run migration process one more time:
    # sb_config --migrate_all
    Update modules:
    # sb_config --update_modules

    <SB_ROOT> - Sitebuilder installation directory.

    After these actions finished, log into Sitebuilder admin CP, make sure that 4.5 version is shown there and go into Server -> Autoupdate section for installing hotfix1 for 4.5.0 version.
     
Loading...