Jump to content

Warning: file_put_contents()


moneeeka

Recommended Posts

I'm using Prestashop 1.6.0.9 and it's been working fine until this afternoon I got this error on my front and backend:

 

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

 

I contacted my hosting provider and they told me they can't find anything wrong with my account on their end. I have also tried deleting files in my account just in case but it still did not solve the error.

 

Can someone please help? This happened on my live site and I'm losing sales by the minute. Thanks!

Link to comment
Share on other sites

It is attempting to create the class_index.php file in the cache folder

/cache/class_index.php

 

So check the folder permissions, and then check if a file already exists there.  If so, try to delete the file and go to the back office again and it should get re-created.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...