Fatal Error

Ok I was trying to revert back to another version of cs-cart and now I’m getting this:



Fatal error: Call to undefined function fn_file_put_contents() in /home/heyheyhey/public_html/sale.com/core/class.registry.php on line 158



Anbody know how to fix this?



My whole store is offline because of this :frowning:

[quote name=‘heyheyhey’]Ok I was trying to revert back to another version of cs-cart and now I’m getting this:



Fatal error: Call to undefined function fn_file_put_contents() in /home/heyheyhey/public_html/sale.com/core/class.registry.php on line 158



Anbody know how to fix this?



My whole store is offline because of this :-([/quote]



Looks like you need to replace the class.registry.php file.

If that does not work, suffice to say you may have blown it up well.



I would suggest that you delete everything under /var/compiled/customer/

/var/compiled/admin/


/var/compiled/mail/

/var/cache/

Ok there is nothing under the other ones.



I deleted everything under: /var/cache/*

but still nothing.



Could you please take a look at it?



Anyway I could re-install the store and restore from backup?



This is so frustrating I don’t know what else to do.

[quote name=‘heyheyhey’]Ok there is nothing under the other ones.



I deleted everything under: /var/cache/*

but still nothing.



Could you please take a look at it?



Anyway I could re-install the store and restore from backup?



This is so frustrating I don’t know what else to do.[/quote]



If there is nothing under the other ones it means that there is something probibiting the compilation of cache’d files.



PM me your login information.

I sent you a PM.