I've installed Ajax Blocks to accompany the UC Block and allow page caching to run (it broke the ubercart block without Ajax Blocks installed).
Problem is, after about an hour of having page caching turned on, some of our pages start to display a white screen with only the following text -
{"uc_cart-cart":{"content":"\u003cp class=\"cart-block-items collapsed\"\u003eThere are no products in your shopping cart.\u003c\/p\u003e\u003ctable class=\"cart-block-summary\"\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd class=\"cart-block-summary-items\"\u003e\u003cspan class=\"num-items\"\u003e0\u003c\/span\u003e\u003c\/td\u003e\u003ctd class=\"cart-block-summary-total\"\u003e\u003clabel\u003eTotal:\u003c\/label\u003e \u003cspan class=\"uc-price\"\u003e$0.00\u003c\/span\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/tbody\u003e\u003c\/table\u003e","ajaxblocks_settings":""}}
I have no idea how to troubleshoot this but it only occurs when I turn on Ajax Blocks, apply it to the Ubercart Block, show on every page, AND turn on Page Caching.
Any advice would be amazing, thanks.
Comments
Comment #1
MakeOnlineShop CreditAttribution: MakeOnlineShop commentedAlso interested.
Comment #2
longwaveThat looks like JSON code, presumably produced by Ajax Blocks (note the "ajaxblocks" text towards the end), so not sure what Ubercart can do about this. Moving to Ajax Blocks queue, as perhaps someone there has an idea why this would happen.
Comment #3
seagle CreditAttribution: seagle commentedGood point, I've bumped it over to the Ajax Blocks page - http://drupal.org/node/1424630
Comment #4
maximpodorov CreditAttribution: maximpodorov commentedCould you try Drupal 7.12? It contain fixes for JSON encoding.
Comment #5
seagle CreditAttribution: seagle commented7.12 upgrade did not solve the issue.
Comment #6
maximpodorov CreditAttribution: maximpodorov commentedDuplicate of http://drupal.org/node/1424630