Jump to content

Fatal Error (Order -> Total_Paid = 911,91) - Incorrect Separator ?


mrio12

Recommended Posts

Hello

 

my problem with prestashop is when I try to go through the last step of order I get such error:

 

Fatal error (Order -> total_paid = 911,91)

 

I suppose it's because my localization is set to Polish and Prestashop uses dot instead of comma as a separator in numbers stored in the database.

 

Here is part of FrontController.php file

 

setlocale(LC_COLLATE, $locale);

setlocale(LC_CTYPE, $locale);

setlocale(LC_TIME, $locale);

setlocale(LC_NUMERIC, 'en_US.UTF-8');

 

But here everything looks OK. And I don't know how to fix it? Anyone knows?

 

Thanks in advance

Edited by mrio12 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...