Results 1 to 4 of 4

Thread: Sugar 45 install error with SuSe 10

  1. #1
    alevene is offline Member
    Join Date
    Oct 2004
    Posts
    5

    Default Sugar 45 install error with SuSe 10

    I have tried to install Sugar on a new SuSe 10.0 server and all I get is -

    Warning: main(include/utils/external_cache.php) [function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/sugar45/include/utils.php on line 32 and

    Fatal error: main() [function.require]: Failed opening required 'include/utils/external_cache.php' (include_path='/usr/share/php') in /srv/www/htdocs/sugar45/include/utils.php on line 32

    I suspect its a MYSQL or PHP issue. Have anyone found a fix for this?

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Sugar 45 install error with SuSe 10

    Quote Originally Posted by alevene
    I have tried to install Sugar on a new SuSe 10.0 server and all I get is -

    Warning: main(include/utils/external_cache.php) [function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/sugar45/include/utils.php on line 32 and

    Fatal error: main() [function.require]: Failed opening required 'include/utils/external_cache.php' (include_path='/usr/share/php') in /srv/www/htdocs/sugar45/include/utils.php on line 32

    I suspect its a MYSQL or PHP issue. Have anyone found a fix for this?
    I suspect that you have permission issues. Here is a document on how to set up the permissions for SugarCRm
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    daishan is offline Junior Member
    Join Date
    Sep 2006
    Posts
    1

    Talking Re: Sugar 45 install error with SuSe 10

    Quote Originally Posted by alevene
    I have tried to install Sugar on a new SuSe 10.0 server and all I get is -

    Warning: main(include/utils/external_cache.php) [function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/sugar45/include/utils.php on line 32 and

    Fatal error: main() [function.require]: Failed opening required 'include/utils/external_cache.php' (include_path='/usr/share/php') in /srv/www/htdocs/sugar45/include/utils.php on line 32

    I suspect its a MYSQL or PHP issue. Have anyone found a fix for this?
    Hi!

    I had the same problem. Just looking at the output, it is obvious that php script can't source one of the includes that it want.
    After some fiddling around, I found a solution:

    Edit the /etc/php.ini file.
    Find this section:
    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    
    include_path = "/usr/share/php"
    Change accordingly:
    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    
    include_path = ".:/usr/share/php"
    YMMV but this worked for me.

    Regards,
    daishan

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Sugar 45 install error with SuSe 10

    Quote Originally Posted by daishan
    Hi!

    I had the same problem. Just looking at the output, it is obvious that php script can't source one of the includes that it want.
    After some fiddling around, I found a solution:

    Edit the /etc/php.ini file.
    Find this section:
    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    
    include_path = "/usr/share/php"
    Change accordingly:
    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    
    include_path = ".:/usr/share/php"
    YMMV but this worked for me.

    Regards,
    daishan
    Not sure this will help him as the file he can't load isn't in /php/includes it is in /SUGARDIR/include/utils/
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

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
  •