Does anyone know where the time used by PS 1.7 is read from? Because as far as I understand, PS 1.6 reads the time from one place, and PS 1.7 from another place, maybe someone has analyzed the PS 1.7 time reading? As far as I understand, it is indirectly taken from the PHP.ini file for system use, but taken from somewhere deeper, maybe from the PHP server itself, or the MySQL server. Because maybe, knowing where it comes from, it would be possible to somehow cheat in the code at that time? It would be possible to somehow add the required difference.
Edit History
Good day,
I am using Prestashop on Namecheap server.
The prehistory is as follows:
I used Prestashop 1.6.1.5 / PHP 5.6 to create a discount coupon for the customer, and it was displayed immediately at the cart.
(I test now the time zone in the PHP.ini file is standard New York)
Current:
I updated to Prestashop 1.7.8.7 / PHP 7.4 when I create a discount coupon, it is shown to the customer only after 7 hours, if I adjust the time minus 7 hours then it shows the immediate discount coupon.
In the PHP.ini file, the time in New York or my time zone in Europe is still the same, nothing changes.
Question/problem: why does Prestashop 1.6 create coupons fine, while 1.7 displays coupons to the customer only after 7 hours. What can be done to make it work properly?
Update:
Does anyone know where the time used by PS 1.7 is read from? Because as far as I understand, PS 1.6 reads the time from one place, and PS 1.7 from another place, maybe someone has analyzed the PS 1.7 time reading? As far as I understand, it is indirectly taken from the PHP.ini file for system use, but taken from somewhere deeper, maybe from the PHP server itself, or the MySQL server. Because maybe, knowing where it comes from, it would be possible to somehow cheat in the code at that time? It would be possible to somehow add the required difference.
Good day,
I am using Prestashop on Namecheap server.
The prehistory is as follows:
I used Prestashop 1.6.1.5 / PHP 5.6 to create a discount coupon for the customer, and it was displayed immediately at the cart.
(I test now the time zone in the PHP.ini file is standard New York)
Current:
I updated to Prestashop 1.7.8.7 / PHP 7.4 when I create a discount coupon, it is shown to the customer only after 7 hours, if I adjust the time minus 7 hours then it shows the immediate discount coupon.
In the PHP.ini file, the time in New York or my time zone in Europe is still the same, nothing changes.
Question/problem: why does Prestashop 1.6 create coupons fine, while 1.7 displays coupons to the customer only after 7 hours. What can be done to make it work properly?