benwells Posted March 2, 2006 Posted March 2, 2006 yo, i have just installed OScommerse but non of the prices work and when you go to order confirmation you get this warning Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/fhlinux204/a/awesomegifts.co.uk/user/htdocs/catalog/includes/functions/general.php on line 46 can any1 help thanks ben
♥Vger Posted March 3, 2006 Posted March 3, 2006 Prices Display as Zero ---------------------- The most common cause of prices displaying as zero on your website, but showing up correctly in admin is a change to the default currency for the English language. There is a connection between languages and currencies in osCommerce. If you change the default currency for the English language to (for example) UK Pounds (symbol =GBP) then you also need to edit includes/languages/english.php and where you see 'USD' change it to 'GBP'. It was assumed when osCommerce was written that if your language was English then your currency would be US Dollars :D For the 'html special characters' problem, install the Google Toolbar if you haven't already done so, input the error message into the Google search box in the toolbar, and select 'Current Site'. It will give you lots of possible answers. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.