Results 1 to 6 of 6

Thread: Migration to another server; doesn't work

  1. #1
    thepofo's Avatar
    thepofo is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Angry Migration to another server; doesn't work

    Hello,

    We migrated the sugar instance to another webserver, accoordingly to the help file on the sugar site it's just copy/paste and editing the config file. That's what we did but we get these errors.

    Warning: require_once(modules/Trackers/TrackerManager.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/database/DBManager.php on line 91

    Fatal error: require_once() [function.require]: Failed opening required 'modules/Trackers/TrackerManager.php' (include_path='/var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/..:.:') in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/database/DBManager.php on line 91

    Warning: require_once(modules/Trackers/Tracker.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/utils.php on line 2881

    Fatal error: require_once() [function.require]: Failed opening required 'modules/Trackers/Tracker.php' (include_path='/var/www/vhosts/purecrm.be/subdomains/crm/httpdocs:/var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/..:.:') in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/utils.php on line 2881

    I don't understand as the sugar instance worked fine on the other server.

    Please searching this for hours, please help.

    Eric

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Migration to another server; doesn't work

    check your file permissions ... set the entire application and directories to 777 and try again ... if it works goto the sugar wiki and find the correct permissions and set them up

  3. #3
    thepofo's Avatar
    thepofo is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Default Re: Migration to another server; doesn't work

    Thanks, that seemed to solve this issue, now I have following errors:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/config.php:1) in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/MVC/SugarApplication.php on line 384

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/config.php:1) in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/MVC/SugarApplication.php on line 384

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/config.php:1) in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/utils.php on line 2528

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/config.php:1) in /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/include/MVC/SugarApplication.php on line 125

    I checked the config file for spaces (breaks) at the end/beginning, but this is not the case.

    /E

  4. #4
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Migration to another server; doesn't work

    sounds as if config.php isn't correct

    make sure that 'site_url' is set correctly

    it may also be the .tmp folder in php.ini ... if the above doesn't work then ...

    Edit your php.ini and update the session.save_path to /tmp folder

    Restart apache

  5. #5
    harshdeep is offline Junior Member
    Join Date
    Nov 2010
    Posts
    3

    Default Re: Migration to another server; doesn't work

    PLease help me in this. I am really stuck!! I was able to migrate to a new fresh server with same LAMP configuration as old one!! BUT MY MODULES ARE NOT WORKING IN THIS NEW MIGRATED COPY.

    PLease help !!!

  6. #6
    nakohdo is offline Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Migration to another server; doesn't work

    Quote Originally Posted by thepofo View Post
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/vhosts/purecrm.be/subdomains/crm/httpdocs/config.php:1)

    I checked the config file for spaces (breaks) at the end/beginning, but this is not the case.
    I encountered the same error and found that my config.php file had a BOM at the beginning. A BOM is invisible in most text editors and will be added by default by some editors (e.g. Microsoft's Notepad).

    I used Notepad++ to convert the file to UTF-8 without BOM which solved the problem.

    See http://docs.moodle.org/en/UTF-8_and_BOM for further information.

    EDIT
    See also UTF-8 BOM added to downloaded files
    Last edited by nakohdo; 2010-12-10 at 12:09 PM. Reason: another reference added

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Migration to a new server not working
    By hubfub in forum Help
    Replies: 2
    Last Post: 2009-05-24, 03:08 PM
  2. SugarCrm 4.5.1e migration to new server
    By shruthi in forum Installation and Upgrade Help
    Replies: 9
    Last Post: 2008-09-12, 02:05 PM
  3. Server hardware migration
    By deepak.gb in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-11-15, 11:14 PM
  4. Module Tab not showing after migration server
    By rasch in forum Developer Help
    Replies: 1
    Last Post: 2005-11-16, 10:28 AM
  5. Simple Server Migration Advice
    By brucemuir in forum General Discussion
    Replies: 0
    Last Post: 2005-08-09, 11:48 PM

Tags for this Thread

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
  •