Page 1 of 1

file_put_contents() has been disabled for security reasons

PostPosted: 19 Sep 2018, 17:04
by Batman93
Hi

I usually put my site name on Facebook. So far, the thumbnail always showed up.
Since today, I have a "PHP Warning" where the thumbnail usually appeared.
As I click on it, I see a warning page from my site (not from FB) saying "file_put_contents() has been disabled for security reasons"

How to fix that ?

Thanks !

Marc

Re: file_put_contents() has been disabled for security reaso

PostPosted: 20 Sep 2018, 09:43
by Xpycm
Hi.

Quick and dirty solution: Just remove the file_put_contents string from the disable_functions at php.ini* file or ask your hosting provider for do it.
OR:
Contact us via contact form (https://monoray.net/contact) we will estimate the change and do it (send us more information about what actions lead to this error (step by step) + screenshots + write to us a link to the website in email)