Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Error message during upgrade from 4.2.1 -> 4.5b

  1. #1
    chengsir is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    18

    Default Error message during upgrade from 4.2.1 -> 4.5b

    I am running 4.2.1 on localhost and got the following error message during upgrade from 4.2.1 to 4.5.0b

    Fatal error: Call to undefined function: sugararraymerge() in D:\websites\sugarcrm-mf\modules\UpgradeWizard\Menu.php on line 35

    Have tried to install a clean 4.2.1 and keep the old Mysql database but got the same error message.

    Any chance that I can import old data from 4.2.1 to a clean copy of 4.5?

    - Alex

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    Not really cleanly. but you Might want to try installing a clean copy of your current version copy the data over and then upgrade the clean copy to the current version.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    chengsir is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    18

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    installed a clean copy of 4.2.1, import the mysql table, sugar runs fine, upgrade and got the same error message

    alex

  4. #4
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    What is your server configuration?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  5. #5
    chengsir is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    18

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    windows xp pro, IIS, mysql 4.1.16, php 4.4.1

    the production environment is:
    windows 2000, IIS, same version of mysql and php

    not sure whether it's because of some chinese characters in the old database that caused the problem. not sure since the error message said that it's an undefined function...

    Alex

  6. #6
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    Quote Originally Posted by chengsir
    windows xp pro, IIS, mysql 4.1.16, php 4.4.1

    the production environment is:
    windows 2000, IIS, same version of mysql and php

    not sure whether it's because of some chinese characters in the old database that caused the problem. not sure since the error message said that it's an undefined function...

    Alex
    The chinese charaters might be the problem. 4.5 added UTF-8 for internationalization. Check to see if php is configured with mbstirng first this is essential for SugarCRM 4.5 to operate correctly.

    If that does not work try upgrading an fresh install of your current version then without your data and see if it will upgrade.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  7. #7
    chengsir is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    18

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    tried to upgrade a clean copy of 4.2.1 with no data and got the same error message. BTW, in 4.2.1 under the repair screen, i found the following error message near the bottom of the page:

    Notice: Undefined index: LBL_REPAIR_TEAMS in D:\websites\sugarcrm-mf\modules\Administration\Upgrade.php on line 119

    not sure if this helps.

  8. #8
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    what is the native language for windows?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  9. #9
    chengsir is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    18

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    english windows xp pro with asian languages options installed.

    BTW, i tried to reconfigure the mysql setting the language to latin1, erase everything, reboot pc and tried again..... and now it works...... problem solved but i really cannot replicate my problem before. A bit worrying for me as I am not confident to do the same upgrade on the production server which is a win2000 server machine.

    thanks for your help anyway!!!

    alex

  10. #10
    rbooz is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    36

    Default Re: Error message during upgrade from 4.2.1 -> 4.5b

    I was having the same problems and finally realized it came down to a permissions issue. I don't know what directory exactly - as I was doing this test upgrade on a move from Linux to Windows server. In Windows "security" for the CRM directory, I simply added "full" rights to the IIS user and was then able to move forward. I'll study it a little closer before doing a production upgrde, but at least this got me toa 4.5c system to look at.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •