sulaimanMisri's avatar

tmpfile() has been disabled for security reasons

Hi, I would like to know if anybody got this error message after you upload an image?

I'm using Livewire. I have already searched for a solution but I did not find it.

The last time I try the functions, it works. Then I move into another task. Suddenly my client said they can't upload it.

Does anyone have any ideas on how to fix this?

ErrorException

tmpfile() has been disabled for security reasons

0 likes
6 replies
sulaimanMisri's avatar

@Sinnbeck I'm using Droplet. Do you mean this error I need to configure at the server level? And not my code?

Sinnbeck's avatar

@sulaimanMisri yeah I would assume based on the error. Though Ive never seen a way to disable it. Google turns up nothing. Did you change anything on the server in the last days/week?

Please or to participate in this conversation.