Another error when adding productimages
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!
-
- Posts: 20
- Joined: 17 Jan 2019, 17:30
Error when adding an image to a product
Hello,
I am using typo3 9.5.4 with aimeos 19.1.0.
When I try to add an image to a product the following error shows up:
File system not configured, ..../aimeos/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mwlib/src/MW/Filesystem/Factory.php:32
The images do not show up in the frontend. Any ideas what this is and how to fix it?
Thanks,
Erwin
I am using typo3 9.5.4 with aimeos 19.1.0.
When I try to add an image to a product the following error shows up:
File system not configured, ..../aimeos/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mwlib/src/MW/Filesystem/Factory.php:32
The images do not show up in the frontend. Any ideas what this is and how to fix it?
Thanks,
Erwin
-
- Posts: 20
- Joined: 17 Jan 2019, 17:30
Another error when adding productimages
Also this error shows up when trying to add a productimage:
Fout SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-product-P0Y1M0W0D-interval' for key 'unq_msatt_sid_dom_cod_ty', ....../aimeos/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mwlib/src/MW/DB/Statement/DBAL/Simple.php:91.
typo3 9.5.4 with aimeos 19.1.0
Any ideas how to fix this?
Thanx,
Erwin
Fout SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-product-P0Y1M0W0D-interval' for key 'unq_msatt_sid_dom_cod_ty', ....../aimeos/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mwlib/src/MW/DB/Statement/DBAL/Simple.php:91.
typo3 9.5.4 with aimeos 19.1.0
Any ideas how to fix this?
Thanx,
Erwin
Re: Another error when adding productimages
Thanks for testing the beta release
Which PHP version are you using?
Which PHP version are you using?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 20
- Joined: 17 Jan 2019, 17:30
Re: Another error when adding productimages
We use PHP 7.2.15
Regards,
erwin
Regards,
erwin
Re: Another error when adding productimages
Your installation seems to screwed up. The filesystem configuration is used from here:
https://github.com/aimeos/aimeos-typo3/ ... ce.php#L19
Is that file still like in the repo? Did you overwrite the "resource.fs" configuration somewhere?
https://github.com/aimeos/aimeos-typo3/ ... ce.php#L19
Is that file still like in the repo? Did you overwrite the "resource.fs" configuration somewhere?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 20
- Joined: 17 Jan 2019, 17:30
Re: Another error when adding productimages
Hi,
thanks for replying. I checked the setup and it is exactly as you described.
No change in the 'resource.fs' configuration.
Any other ideas?
Thanks,
erwin
thanks for replying. I checked the setup and it is exactly as you described.
No change in the 'resource.fs' configuration.
Any other ideas?
Thanks,
erwin
-
- Posts: 20
- Joined: 17 Jan 2019, 17:30
Re: Another error when adding productimages
After extensive debugging it appears that
1) the config settings are not correctly passed. Although the adapter has been set ('Standard'), it appears to be empty; setting this hard-coded in the resource.php file, 'solves' this problem.
2) the usage of filename '.secure' causes also problems. Within the standard typo3 .htaccess file the use of '.secure' as filename is not allowed. Only the name of '.well-known' as directory name is allowed. The usage of '.secure' makes it (unnecessary?) complicated. Just using uploads/tx_aimeos works fine.
The error-message 'filesystem not configured' is a little confusing in this context
Hope this helps,
Kind regards,
erwin
1) the config settings are not correctly passed. Although the adapter has been set ('Standard'), it appears to be empty; setting this hard-coded in the resource.php file, 'solves' this problem.
2) the usage of filename '.secure' causes also problems. Within the standard typo3 .htaccess file the use of '.secure' as filename is not allowed. Only the name of '.well-known' as directory name is allowed. The usage of '.secure' makes it (unnecessary?) complicated. Just using uploads/tx_aimeos works fine.
The error-message 'filesystem not configured' is a little confusing in this context
Hope this helps,
Kind regards,
erwin
Re: Another error when adding productimages
The filesystem problem is fixed in the upcoming 19.4 release. Here's a pre-release if you want to test:
https://aimeos.org/fileadmin/download/a ... 1-pre6.zip
The ".secure" directory is for files that must not be accessible via HTTP and are used for e.g. the digial product downloads. The TYPO3 .htaccess file protects directories starting with a dot.
https://aimeos.org/fileadmin/download/a ... 1-pre6.zip
The ".secure" directory is for files that must not be accessible via HTTP and are used for e.g. the digial product downloads. The TYPO3 .htaccess file protects directories starting with a dot.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 20
- Joined: 17 Jan 2019, 17:30
Re: Another error when adding productimages
Ok, thnx. Will download the pre-release and have a look at it.
Kind regards,
erwin
Kind regards,
erwin