I got this private message asking for help today, so I thought I would share my response with everyone. Any further details are much appreciated. I plan to turn this into a Wiki article next week.
Quote:
Originally Posted by dmk
I am running version 4.0.1c and would like to upgrade; however, I get the MBStrings error. I believe that I need to get PHP5 with MBStrings compiled in, correct? How do I get that and will that solve my problem?
Hi DMK -
Yes, you need the MBStrings module for PHP. How are you running PHP in your environment? With Apache or IIS? Do you completely control the machine or is it in a shared/hosting environment?
The php distributions available at php.net contain the mbstrings module, but it is turned off by default in the php.ini file. Typically all you need to do is uncomment the mbstring extension and restart your web server.
In a Windows installation, the line in php.ini looks like this:
extension=php_mbstring.dll
Note: Be sure the extension_dir directive in your php.ini actually points to the directory that contains the extensions libraries.
Another method would be to use the Bitrock installers we provide that include Apache, PHP and MySQL with all the correct settings and configurations for SugarCRM.
First step would be to take a backup of your existing system. The simplest method is to zip or tar up your Sugar 4.0.1 installation directory. Then use mysqldump command line utility to back up your database. Be sure to use the "-e" switch on that command as that makes everything a lot faster. You know have a backup of your Sugar installation and database.
Now uninstall PHP, MySQL and your web server.
Then download the installer for your platform (Windows, Linux or Mac) from here. Then install the system using the installer. This will also give you a fresh installation of Sugar 4.5, but you won't be using that install.
Now unzip your 4.0.1 system into the new htdocs directory in your Bitrock installation and load up your Sugar 4.0.1 database into the new MySQL installation.
Then run the 4.0.1 to 4.5.0 upgrade.
On a related note, we will be releasing 4.5.0 patch D today which addresses a couple upgrade issues. I highly recommend waiting for 4.5.0 patch D.
Regards,
Clint


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks