Error on sending crash report Feb 19th build



  • 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



  • 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