Results 1 to 6 of 6

Thread: Bypassing MB Strings module and Sugar when installing on shared hosting

  1. #1
    omoratin is offline Junior Member
    Join Date
    Oct 2006
    Posts
    4

    Cool Bypassing MB Strings module and Sugar when installing on shared hosting

    Hi,

    How do you install Sugar on the shared hosting environement where the MB strings module is not present?
    I am doing that for the intranet of the company that hired me and would love to be able to install and see what happens, even without that.
    Thanks for your help

    O.

  2. #2
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Bypassing MB Strings module and Sugar when installing on shared hosting

    I have not used it but what about using an mbstring emulator?

    1. Just download it and unzip it into an any directory under your SugarCRM root directory.

    2. Include mb-emulator.php in any common php file (which I have not identified yet though...) like below;
    PHP Code:
    if (!extension_loaded('mbstring')) {
    include(
    'mb-emulator.php');

    The best file which should include mb-emulator.php will be config.php but it is not yet created before you install Sugar. So include/utils.php or install.php may be the second option for the moment.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  3. #3
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: Bypassing MB Strings module and Sugar when installing on shared hosting

    MB strings module is crucial for Sugar 4.5, please see SugarChris' (one of the most visible Sugar developer's) comment here:

    http://www.sugarcrm.com/forums/showt...5893#post55893

    Hopefully ruchida's solution will work for you.

  4. #4
    sazmy is offline Junior Member
    Join Date
    Oct 2006
    Posts
    1

    Default Re: Bypassing MB Strings module and Sugar when installing on shared hosting

    Hello,

    you will need to add the MBSTRING emulator in the file $SUGAR_INSTAL_DIR/install/checkSystem.php

    put it in the third or fourth line, after the top two checks

    Kind Regards
    Samer
    ITRize

  5. #5
    omoratin is offline Junior Member
    Join Date
    Oct 2006
    Posts
    4

    Default Re: Bypassing MB Strings module and Sugar when installing on shared hosting

    Thanks. I'll try that the next time. I installed a former version.

  6. #6
    Antonio is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    San Francisco
    Posts
    34

    Default Re: Bypassing MB Strings module and Sugar when installing on shared hosting

    Quote Originally Posted by Markku
    MB strings module is crucial for Sugar 4.5, please see SugarChris' (one of the most visible Sugar developer's) comment here:

    http://www.sugarcrm.com/forums/showt...5893#post55893

    Hopefully ruchida's solution will work for you.
    Agreed, however, if you're on MacOS X with the latest Developer Kit (which installs with GCC 3.3 and 4.0.1), MBStrings won't compile with the rest of PHP 5.1.x.
    Downgrading the SDK and GCC compiler results in issues with compiling the MySQL and MySQLi extensions.
    No one's quite sure whether it's the OS Developer's Tools or PHP which is the root of the issue (no pun intended), and this is definitely a problem for those who like to roll their own.

    I speak from two solid days of attempting to compile and install PHP 5.1.6, 5.1.4, then 6.x (unstable CVS) just to see if ti would work, before giving in to a packaged installer (Entropy PHP for Apache 2).

    An MBStrings emulator, if it performs as well as the real thing, would be a viable solution to the issue, but ONLY if there is no degradation in performance.

    The only better solution would be some way of installing MBStrings separately from the standard Darwin Shell PHP install.

    Can anyone comment on the performance of the emulator or possibility of installing the module seperately from the rest of PHP?
    I've Googled the hell out of the latter of the two and found nothing, save for one option made available to SUSE Linux users.
    Last edited by Antonio; 2006-10-16 at 03:36 AM.

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
  •