phpFileManager is a complete filesystem management tool on a single file. This is a tool meant for rapid file access, and also to verify the server php configuration and security. The script can be renamed and deployed on an unique known url, and offers password protection.
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);
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);