Results 1 to 2 of 2

Thread: Warning: copy(sugarcrm.log) [function.copy]: failed to open stream

  1. #1
    Dirky is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    29

    Default Warning: copy(sugarcrm.log) [function.copy]: failed to open stream

    Hi,
    I've installed SugarCE-5.2.0c recently, what I have done with it so far seems great, however when I run the diagnostic tool I get the problem(s) below:-


    Diagnostic Tool
    Print Help

    Executing Diagnostic Operations...
    100%

    Getting config.php...
    Done

    Getting custom dir...
    Done

    Getting phpinfo()
    Done


    Getting...... mysql info... mysql dumps... mysql schema
    Done

    Getting md5 information...
    Done

    Checking that bean files exist...
    Done

    Getting sugarcrm.log

    Warning: copy(sugarcrm.log) [function.copy]: failed to open stream: No such file or directory in /var/www/html/syrup/modules/Administration/DiagnosticRun.php on line 273
    Couldn't copy sugarcrm.log to cacheDir.
    Done

    Sugar schema output (VARDEFS)
    Done


    I tried to install the google calendar extension and was advised to do a quick repair, I get the error below when doing this:-


    Rebuilding Extensions...
    Rebuilding Language...en_us
    Rebuilding Vardefs...
    Rebuilding Layoutdefs...
    Rebuilding Menus...
    Rebuilding User Page Section...
    Rebuilding administration Section...
    Rebuilding Relationships
    Warning: require(modules/Googlecal/Googlecal.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/syrup/modules/Administration/RebuildRelationship.php on line 78

    Fatal error: require() [function.require]: Failed opening required 'modules/Googlecal/Googlecal.php' (include_path='/var/www/html/syrup/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/html/syrup/modules/Administration/RebuildRelationship.php on line 78

    I changed the permissions as advised in the install doc so that several directories can be written to by the apache/httpd user.


    Many thanks

    Mike

  2. #2
    mike2009 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    25

    Default Re: Warning: copy(sugarcrm.log) [function.copy]: failed to open stream

    Hello,

    seems to be a system problem.

    The error message can result outside two events:

    1st: dest file can not be found
    2nd: dest file can not be accessed

    For 1st:
    look at folder names and file names. They exist exactly as astimated (big/low etc.) ?

    For 2nd:
    If your apache-user is not owner of the files/folders, take a look he is in group belonging to Googlecal-folder and files. Give them for test higher permissions (group also 7 rwx).

    If owner of Google-folder and files is not your apache user, change them using chown, otherwise use chmod to grant more rights.

    For general test purpose gibe 777 to Google-folder and all files below by chmod -R 777 <foldername>.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2010-01-04, 05:33 AM
  2. 5.2 Install error:: [function.fopen]: failed to open stream:
    By vinriver in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2009-03-20, 09:17 AM
  3. Failed To Copy at 25%
    By blacklabstudio in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2007-02-02, 12:16 PM
  4. Replies: 4
    Last Post: 2004-12-30, 09:45 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
  •