Jump to content
Sign in to follow this  

Hello from Greece - product options issue

Recommended Posts

Hello my friends

My name is Andreas and i am writing to ur forum cause i couldn't find any answer to greek or english forum...

I have a major problem with my eshop which is oc

The problem is that i can't procceed to checkout after step 5... i get this error in my browser "SyntaxError: Unexpected token <" ....

i looked the console in firebug and get this warning

Warning: json_encode() [function.json-encode]: Invalid UTF-8 sequence in argument in /Applications/MAMP/htdocs/fairytale/catalog/controller/checkout/confirm.php on line 363{"output":null}

This problem happens only with products that have options.... these products only appear to cart if i refresh the page and they have this questionmark at the end http://screencast.com/t/ai5qNyZnG

Can u pls help me?

Thanks a lot brothers

Share this post

Link to post
Share on other sites


guess, you have to replace all below function-names


to utf8-variations


as you can see - the same functions names but with a prefix "utf8_" at the beginning.

Share this post

Link to post
Share on other sites

Hello afwollis and thanks for ur willing to help me

Can u pls tell me in which files should i put this prefix?

Also i attached u a video of my scrreen to check the exact problem



Share this post

Link to post
Share on other sites

check browser console if there the same (similar) problem with adding to cart.

if so (and I guess it is) - you'll have to do that changes (and some more with other php's string functions) in ALL *.php files.

it caused by partial utf8 support in your version of opencart.

BUT !!!

if you're just starting to get acquainted with opencart - use Opencart_v_1.5.4.1.

Share this post

Link to post
Share on other sites

afwollis the strange thing is that yesterday i made an upgrade of my opencart version locally not to live site to version but i had the exact same problem....

i am a beginner to opencart and really have problem to correct my issue...

do u have any other suggestions brother?

Share this post

Link to post
Share on other sites

Andreas, I've PM`ed you yesterday.

did you get that message?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.