phpfm icon indicating copy to clipboard operation
phpfm copied to clipboard

Upload not working / Windows 10 - solution provided

Open jf16 opened this issue 2 years ago • 0 comments

The file upload ends in a fatal error: Fatal error: Uncaught ArgumentCountError: Too few arguments to function system_exec_cmd(), 1 passed in C:\xampp\htdocs\Filemanager\Jobs.php on line 990 and exactly 2 expected in C:\xampp\htdocs\Filemanager\Jobs.php:4780...

Solution: Add 2nd parameter $output in line 990 and line 983: if ($is_windows) system_exec_cmd('icacls "'.$file.'" /q /c /reset', $output);

jf16 avatar Oct 28 '22 15:10 jf16