Results 1 to 5 of 5

Thread: Move sugarcrm to new server

  1. #1
    carpediem is offline Junior Member
    Join Date
    May 2008
    Posts
    4

    Default Move sugarcrm to new server

    I have read the wiki on how to move sugar to a new server. And I have followed their steps step by step.
    1) Copy entire folder to new server
    2) Dump database and upload on new MySQL server
    3) Change db and url vars in config.php to work with new database and position.
    4) Edit .htaccess accordingly

    But I get the following error
    Bad data passed in; Return to Home
    Does anyone know what might cause this.

    If I comment out the "clean_special_arguments();" function in the index.php file, the login page displays but a soon as i try to lock in I get other errors like "cant redefine class DateTime" etc.
    Last edited by carpediem; 2008-05-28 at 01:01 PM.

  2. #2
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Move sugarcrm to new server

    Quote Originally Posted by carpediem
    I have read the wiki on how to move sugar to a new server. And I have followed their steps step by step.
    1) Copy entire folder to new server
    2) Dump database and upload on new MySQL server
    3) Change db and url vars in config.php to work with new database and position.
    4) Edit .htaccess accordingly

    But I get the following error
    Does anyone know what might cause this.

    If I comment out the "clean_special_arguments();" function in the index.php file, the login page displays but a soon as i try to lock in I get other errors like "cant redefine class DateTime" etc.
    could it be a permission problem?

  3. #3
    carpediem is offline Junior Member
    Join Date
    May 2008
    Posts
    4

    Default Re: Move sugarcrm to new server

    No I don't think so, it is running on a XP windows box, so the files don't need permissions

  4. #4
    carpediem is offline Junior Member
    Join Date
    May 2008
    Posts
    4

    Default Re: Move sugarcrm to new server

    Found the problem, I had a whitespace in my url e.g $_SERVER['PHP_SELF'].

    Then I picked up a nother problem. The new server had PHP 5 on that got a buildin function called DateTime that clash with sugarcrm DateTime class so you have to rename the class and all it's instances

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

    Default Re: Move sugarcrm to new server

    This is from a post quite a while ago from andy that addresses this isue.

    It looks like 450g corrected this problem. Bug 9883 addressed this.

    QA notes about bug:

    1. Before 450g build, all the SugarCRM builds have this bug after logging in, when using php 5.2.0 version.
    2. In 450g build, we verified on both Linux and Windows, all the SugarCRM editions can be logged in without this fatal error.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. RESOLVED: Using a remote MySQL database with SugarCRM
    By cosjef in forum General Discussion
    Replies: 0
    Last Post: 2006-02-04, 05:35 AM
  3. Serious issue with sugarcrm 3.5.1.c
    By wp.rauchholz in forum Help
    Replies: 17
    Last Post: 2005-12-01, 07:22 AM

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
  •