File Permission Error on File Move Operation
nicolas-camacho-ueb
TRIALOP

2 years ago

HELP PLEASE

The error indicates that the moveuploadedfile() 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: moveuploadedfile(/fotos/1002.jpg): Failed to open stream: Permission denied in /app/controllers/MatriculaController.php on line 391

Warning: moveuploadedfile(): Unable to move '/tmp/php2Bukm2g' to './fotos/1002.jpg' in /app/controllers/MatriculaController.php on line 391 Error al mover el archivo.

5 Replies

brody
EMPLOYEE

2 years ago

@root php time!


brody
EMPLOYEE

2 years ago

n/a


cdcl10
TRIAL

2 years ago

I have the same error.


nicolas-camacho-ueb
TRIALOP

2 years ago

8fc31d37-fc25-4ad3-aadc-567c2988b0e9


aleks
HOBBY

2 years ago

Are you moving them onto a volume?


Loading...