Jump to content

Error: Warning: file_put_contents()


Recommended Posts

Hi..

 

I get this error when I access my store

 

Warning: file_put_contents(): Only 0 of 84725 bytes written, possibly out of free disk space in /**********************/htdocs/catalog/classes/PrestaShopAutoload.php on line 152

 

please advise?

Link to comment
Share on other sites

  • 5 months later...

I got a same problem just now... about an hour ago. I couldn't access both my back and front office all of a sudden.

This is the message I got:

 

Warning: file_put_contents(): Only 0 of 84725 bytes written, possibly out of free disk space in ...../classes/PrestaShopAutoload.php on line 152

 

 

Is it really a problem from the hosting services? my hosting disc space is 4GB and I'm only using 410MB of it.

What seems to be a problem I have here?

 

Can anyone help me with this problem? My shop has not in a production yet, but I have a deadline to meet on this week.

:wacko:

Link to comment
Share on other sites

It's 99% related to how the hosting space is setup. Can you try asking your provider?
In the meantime, you can do a small php test with like

 

file_put_contents ( 'test.txt', 'something written here!');

in a blank php file, say, in your root. See if it writes it out

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...