Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Error on sending crash report Feb 19th build

    Scheduled Pinned Locked Moved 2.1.1 Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      adam65535
      last edited by

      Processing… Warning: copy(): The second argument to copy() function cannot be a directory in /usr/local/www/crash_reporter.php on line 108
      Uploading...
      Upload received OK.

      Continue and delete crash report files from local disk.

      2.1.1-PRERELEASE (amd64)
      built on Wed Feb 19 00:11:10 EST 2014
      FreeBSD 8.3-RELEASE-p14

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Indeed that is a problem copying PHP_errors.log - for example this code fails:

        $xxx = copy("/var/etc/resolv.conf","/tmp/");
        var_dump($xxx);
        

        outputs:

        Warning: copy(): The second argument to copy() function cannot be a directory in /usr/local/www/exec.php(246) : eval()'d code on line 1
        bool(false)
        

        and the fix is: https://github.com/pfsense/pfsense/pull/954

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.