Post by rzaprianov » Thu Jul 12, 2018 5:03 am

When I try to buy item and go to check out everything is OK. Until I go to click payment (Step 6 - Confirm order) - there the items are 2 !!!!! How to fix that?

Next issue - I see encoding error (Again there on Step 6 - Confirm order):

Code: Select all

Warning: htmlspecialchars(): charset `UTF-8;' not supported, assuming utf-8 in /home/yourblin/public_html/ on line 50Warning: htmlspecialchars(): charset `UTF-8;' not supported, assuming utf-8 in /home/yourblin/public_html/ on line 51
It should be UTF-8. Can the problem comes if in the code utf-8 is capital? UTF instead utf? And where? Which file?

Thanks and regards,



Fri Feb 23, 2018 5:16 pm

Post by straightlight » Thu Jul 12, 2018 6:23 am

Already reported. In catalog/controller/extension/payment/pp_standard.php file,

On line 51, find:

Code: Select all

'name'     => htmlspecialchars($product['name']),
					'model'    => htmlspecialchars($product['model']),
replace with:

Code: Select all

'name'     => htmlspecialchars($product['name'], ENT_QUOTES, 'UTF-8'),
'model'    => htmlspecialchars($product['model'], ENT_QUOTES, 'UTF-8'),

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: paulfeakins and 16 guests