Product CSV Import - Placeholder wrong interpreted
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Product CSV Import - Placeholder wrong interpreted
For my product import I use the following config for imported files.
In earlier versions of aimeos it works like expected.
Now I get this directory name for the placeholders.
In earlier versions of aimeos it works like expected.
Now I get this directory name for the placeholders.
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Product CSV Import - Placeholder wrong interpreted
I debugged it with an example path and output the different parts.
I don't know exactly what is happening and going wrong here.
Maybe you can say more about it.
I don't know exactly what is happening and going wrong here.
Maybe you can say more about it.
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Product CSV Import - Placeholder wrong interpreted
I got it.
Your documentation is wrong https://aimeos.org/docs/2022.x/cronjobs ... t/#backups
For the placeholders you reference to the strftime() function of PHP but you use DateTime::format here https://www.php.net/manual/en/datetime.format.php
Your documentation is wrong https://aimeos.org/docs/2022.x/cronjobs ... t/#backups
For the placeholders you reference to the strftime() function of PHP but you use DateTime::format here https://www.php.net/manual/en/datetime.format.php
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Product CSV Import - Placeholder wrong interpreted
Thanks for pointing that out!
As strftime() is deprecated since PHP 8.1, date_format() is used instead and we've added a compatibility layer so some strftime() placeholders like "%Y", "%m", "%d" and "%H" are understood but up to now not "%M" and "%S". The later two are now translated to "%i" and "%s" automatically:
https://github.com/aimeos/aimeos-base/b ... #L220-L230
Also, the documentation has been updated so the date_create() placeholders should be now used instead:
https://aimeos.org/docs/latest/cronjobs ... t/#backups
As strftime() is deprecated since PHP 8.1, date_format() is used instead and we've added a compatibility layer so some strftime() placeholders like "%Y", "%m", "%d" and "%H" are understood but up to now not "%M" and "%S". The later two are now translated to "%i" and "%s" automatically:
https://github.com/aimeos/aimeos-base/b ... #L220-L230
Also, the documentation has been updated so the date_create() placeholders should be now used instead:
https://aimeos.org/docs/latest/cronjobs ... t/#backups
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
