Magento 1.7 Checkout – Fix Missing Order Review Block

checkoutmagento-1.7

I am missing the entire order review and submit order block (step 6 at checkout).
The section is just a blank empty DIV with nothing in it.

I am using a theme, but I never seen this problem with any theme so far.

The DIV is just empty:

<div class="order-review" id="checkout-review-load"></div>

Can someone help me out on this problem?
Its v 1.7.0.0 with "Madame Modern" theme.

Theme hints:

http://shrani.si/f/1k/sP/4dQZuDof/snapz-pro-xscreensnapz00.jpg

Google developer outputs on previous action:

After enabling logging i get a system.log with:

2013-10-23T10:04:12+00:00 ERR (3): Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument  in /home/ninocka/domains/*/public_html/lib/Zend/Json.php on line 146
2013-10-23T10:04:12+00:00 ERR (3): Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument  in /home/ninocka/domains/*/public_html/lib/Zend/Json.php on line 146
2013-10-23T10:04:40+00:00 ERR (3): Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument  in /home/ninocka/domains/*/public_html/lib/Zend/Json.php on line 146

Best Answer

The issue is probably in the savePayment method in the Mage_Checkout_OnepageController class where the HTML output for the review step is added to the JSON.

As you've stated the log shows a JSON error so I did a quick search on that found this thread on SO that might explain the issue if you indeed are running an older version of PHP. Also your screenshots of the JSON output show an empty 'html' key in the JSON so that confirms something goes wrong with adding the html to the output.

Since you're building the shop in the Polish language it might be a weird character that is tripping up the HTML output. To check if this is correct a suggestion might be to revert back to the base english language and see if the error still occurs. If not then the issue might be in one of your translation files.