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

MakeOnlineShop’s picture

Also interested.

longwave’s picture

Project: Ubercart » Ajax Blocks
Version: 7.x-3.x-dev » 7.x-1.x-dev
Component: User Interface » Code

That 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.

seagle’s picture

Good point, I've bumped it over to the Ajax Blocks page - http://drupal.org/node/1424630

maximpodorov’s picture

Could you try Drupal 7.12? It contain fixes for JSON encoding.

seagle’s picture

7.12 upgrade did not solve the issue.

maximpodorov’s picture

Status: Active » Closed (duplicate)