0

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
14
  • Can you turn on template hints in the backend to check from where it's actually trying to load the template file. Optionally, if you have 3th party extensions installed that might influence this list them as well Commented Oct 23, 2013 at 9:41
  • I havent install any extensions so far. What do you mean by template hints?
    – no9
    Commented Oct 23, 2013 at 9:49
  • Under System > Configuration switch the scope to the website you are debugging. Then go to developer > Debug and set Template Path Hints to yes Commented Oct 23, 2013 at 9:52
  • yea I found that, but never used it, so I am not sure what to expect now :)
    – no9
    Commented Oct 23, 2013 at 9:53
  • Well make sure that if it's a live shop you fill out your IP. Also turn of caching. Then turn this on and you will see the template paths in the frontend so you know what files are being used for what blocks. It's a great feature Commented Oct 23, 2013 at 9:55

1 Answer 1

1

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.

1
  • true. I had to go over all CSV filesfor si_SL locale and fix the weird characters (û=ž,≈æ=ž,é=Ž,ä=Š,ö=š,≈°=š,Ë=č,»=Č...) and save all the files in UTF-8 encoding. The problem went away. Thank you again Sander Mangel. Blessed!
    – no9
    Commented Oct 23, 2013 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.