AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: bubblegumweb on May 14, 2014, 03:54:57 AM

Title: FATAL ERROR ON UPGRADE TO 1.9
Post by: bubblegumweb on May 14, 2014, 03:54:57 AM
HELP!!

I have started the procecess to upgrade to 1.9 and my website has gone down. Can not access anything. error message is as follows:

Fatal error: Call to a member function write() on a non-object in /home/bubblegu/public_html/core/lib/cache.php on line 53
Title: Re: FATAL ERROR ON UPGRADE TO 1.9
Post by: abolabo on May 14, 2014, 12:54:26 PM
quick fix is replacement of file core/lib/cache.php by attached.

P.S.what OS do you use? unix, windows?  hosting?
Title: Re: FATAL ERROR ON UPGRADE TO 1.9
Post by: buddahboy on June 05, 2014, 11:21:44 AM
Greetings,

I was experiencing my install not showing at all and Sofaculous support assisted by pointing me to this thread.  I performed a fresh install of 1.1.9, replacee that cache file, can see me install but have the following messages in my log (time stamp is in sync with the install and access):

2014-06-05 10:15:23 - error:  AbanteCart core v.1.1.9 Call to a member function write() on a non-object in <b>/home/farmer/public_html/abante2/core/lib/cache.php</b> on line <b>53</b>
2014-06-05 10:15:42 - Cache directory is not accessible or writable.  Caching operation was skipped!
2014-06-05 10:15:42 - warning:  AbanteCart core v.1.1.9 Invalid argument supplied for foreach() in <b>/home/farmer/public_html/abante2/core/lib/cache.php</b> on line <b>56</b>
2014-06-05 10:17:27 - warning:  AbanteCart core v.1.1.9 Invalid argument supplied for foreach() in <b>/home/farmer/public_html/abante2/admin/controller/responses/listing_grid/install_upgrade_history.php</b> on line <b>76</b>

Title: Re: FATAL ERROR ON UPGRADE TO 1.9
Post by: Basara on June 19, 2014, 01:10:55 AM
Hello.

Did you resolve your issue?
Also your error log speaks for itself

2014-06-05 10:15:42 - Cache directory is not accessible or writable.  Caching operation was skipped!

make sure your cache directory is writable and readable
Title: Re: FATAL ERROR ON UPGRADE TO 1.9
Post by: buddahboy on June 19, 2014, 11:21:20 AM
Greetings Basara - thanks for checking up on this, I usually put up that I had the issue resolved but for some reason didn't, but yes it was resolved.  Also, Softaculous support were very cool and notified me of the update to AC on their end and since the auto installs have worked just as good as always. 

Thanks again and all the very best
Ron