File Permission Error on File Move Operation
HELP PLEASE
The error indicates that the move_uploaded_file() function failed to transfer a file from a temporary PHP directory to the target directory because it lacked the necessary write permissions. The operation was attempted in the MatriculaController.php script on line 391 and resulted in an inability to move the file, leading to an error message.
ERROR
Warning: move_uploaded_file(/fotos/1002.jpg): Failed to open stream: Permission denied in /app/controllers/MatriculaController.php on line 391
Warning: move_uploaded_file(): Unable to move '/tmp/php2Bukm2g' to './fotos/1002.jpg' in /app/controllers/MatriculaController.php on line 391 Error al mover el archivo.
5 Replies
Project ID:
N/A
@aleks php time!
New reply sent from Help Station thread:
I have the same error.You're seeing this because this thread has been automatically linked to the Help Station thread.
8fc31d37-fc25-4ad3-aadc-567c2988b0e9
Are you moving them onto a volume?