Discount calculations do not work, and the Phoca Cart sales countdown timer module is not displayed at all in the position, the error Request 1065 was empty, I see this in the admin panel is outdated:
The strftime() function is deprecated in ....\libraries\src\Form\Field\CalendarField.php on line 273
And all this is precisely because of this, or am I wrong?
The strftime() function is deprecated
-
- Phoca Member
- Posts: 22
- Joined: 13 Sep 2022, 08:03
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The strftime() function is deprecated
Hi, not sure if the feature will be stopped by this deprecated warning. Can you explain in more details what exactly does not work?
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 22
- Joined: 13 Sep 2022, 08:03
Re: The strftime() function is deprecated
Hi Jan. Created a coupon, chose to display the coupon itself before the payment form, allowed the purchase without registration. Allowed the use of coupons in the settings. As a result, when buying and applying a coupon, I see this on the website:
"The specified coupon cannot be used - it is invalid, expired or the usage limit has been reached"
In the admin panel in settings-coupons-publication settings, I see this (as in every product in the publication settings):
2. Phoca Cart Sales Countdown Timer Module 3.5.10
I installed it, it is not displayed at all in the position, it is not clear how it should work and be tied to a certain product.
Maybe the module is not suitable for version 4.2.2?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The strftime() function is deprecated
Hi,
1)
Phoca Cart Sales Countdown Timer Module - yes, it is not ready for Joomla 4 for now.
2) strftime - yes, as written in other posts, this needs to be fixed by Joomla core team
3) coupon - did you try to recheck all the options:
- coupon code
- valid date
- limit
?
1)
Phoca Cart Sales Countdown Timer Module - yes, it is not ready for Joomla 4 for now.
2) strftime - yes, as written in other posts, this needs to be fixed by Joomla core team
3) coupon - did you try to recheck all the options:
- coupon code
- valid date
- limit
?
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 22
- Joined: 13 Sep 2022, 08:03
Re: The strftime() function is deprecated
Hi,Jan wrote: ↑26 Sep 2022, 20:19 Hi,
1)
Phoca Cart Sales Countdown Timer Module - yes, it is not ready for Joomla 4 for now.
2) strftime - yes, as written in other posts, this needs to be fixed by Joomla core team
3) coupon - did you try to recheck all the options:
- coupon code
- valid date
- limit
?
3) I probably tried all the options, there are doubts, rather it is due to the fact that the function cannot calculate from which date to start, maybe I'm wrong. What options should be exactly enabled in your opinion for this to work?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The strftime() function is deprecated
Hi, I will first overwrite it for Joomla 4, then I will let you know.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 22
- Joined: 13 Sep 2022, 08:03