Results 1 to 4 of 4

Thread: Include Failures After Moving Site

  1. #1
    JustinGould is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Default Include Failures After Moving Site

    Version: Sugar CRM Community 5.2.0a
    Database: MS SQL 2005 Standard, SP3
    Web server: Windows 2003 R2, IIS 6.0
    PHP: 5.2.6

    I'm trying to move my Sugar CRM installation from one web server to another one. I copied the full site directory to same drive and directory on the new server that it resided in on the old one. I installed the same exact version of PHP on the new server. I created the IIS virtual server exactly as it was on the old one. When I try to bring up the site on the new server, I get:

    Code:
    PHP Warning: require(/include/SugarObjects/SugarRegistry.php) [function.require]: failed to open stream: No such file or directory in D:\Inetpub\sites\1upsites\sugar\include\entryPoint.php on line 161 PHP Fatal error: require() [function.require]: Failed opening required '/include/SugarObjects/SugarRegistry.php' (include_path='D:\Inetpub\sites\1upsites\sugar\include/..;.;C:\php5\pear') in D:\Inetpub\sites\1upsites\sugar\include\entryPoint.php on line 161 PHP Warning: chdir() [function.chdir]: No such file or directory (errno 2) in D:\Inetpub\sites\1upsites\sugar\include\utils.php on line 2840 PHP Notice: Undefined index: log in D:\Inetpub\sites\1upsites\sugar\include\database\MssqlManager.php on line 188 PHP Fatal error: Call to a member function info() on a non-object in D:\Inetpub\sites\1upsites\sugar\include\database\MssqlManager.php on line 188
    I have verified that all those files being complained about exist, and that the anonmous IIS user has permission to access them. I cannot understand why these errors are occuring.

    I brought the old server back up as a test, and its installation is still working just fine. I just can't get it working on the new server.

    Any insight anyone could offer would be greatly appreciated.

    Justin

  2. #2
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Include Failures After Moving Site

    Make sure the files have enough read/write permissions

  3. #3
    JustinGould is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Default Re: Include Failures After Moving Site

    The IIS anonymous user has Modify rights all the way down the sugar site tree. I even set EVERYONE to Full Control all the way down as a test, problem stille existed.

  4. #4
    JustinGould is offline Member
    Join Date
    Mar 2009
    Posts
    9

    Default Re: Include Failures After Moving Site

    I used Sysinternals Process Monitor to find out what was failing, and it was indeed a permissions issue. It turns out that Sugar needs the IIS Anonymous User (IUSR_SERVERNAME) to have at least List permission in the PARENT of the directory containing the Sugar virtual web for some reason, along with having Modify on the actual Sugar directory itself.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. moving a 4.5.x site
    By gerald29 in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-11-07, 03:20 PM
  2. Replies: 0
    Last Post: 2008-08-01, 12:48 AM
  3. Problem moving site from IIS to apache
    By matternn in forum Help
    Replies: 1
    Last Post: 2007-12-30, 02:36 AM
  4. Moving Sugar CRM site to live server
    By ericlomm in forum General Discussion
    Replies: 3
    Last Post: 2005-07-28, 07:53 AM
  5. Login failures
    By Morthoron in forum General Discussion
    Replies: 0
    Last Post: 2005-05-09, 07:04 PM

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
  •