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/onlinebulbs.eu/catalog/controller/extension/payment/pp_standard.php on line 50Warning: htmlspecialchars(): charset `UTF-8;' not supported, assuming utf-8 in /home/yourblin/public_html/onlinebulbs.eu/catalog/controller/extension/payment/pp_standard.php 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,

Newbie

Posts

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

Regards,
Straightlight


Legendary Member

Posts

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

Users browsing this forum: No registered users and 13 guests