Author Topic: FATAL ERROR ON UPGRADE TO 1.9  (Read 5299 times)

Offline bubblegumweb

  • Full Member
  • ***
  • Posts: 100
  • Karma: +10/-1
    • View Profile
FATAL ERROR ON UPGRADE TO 1.9
« 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: FATAL ERROR ON UPGRADE TO 1.9
« Reply #1 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?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: FATAL ERROR ON UPGRADE TO 1.9
« Reply #2 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>

« Last Edit: June 05, 2014, 11:25:40 AM by buddahboy »
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: FATAL ERROR ON UPGRADE TO 1.9
« Reply #3 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

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: FATAL ERROR ON UPGRADE TO 1.9
« Reply #4 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
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

 

Powered by SMFPacks Social Login Mod