"No file was uploaded" after csv-import

Questions around the TYPO3 integration and plugins
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!
hasmb
Posts: 12
Joined: 12 Jul 2016, 12:05

"No file was uploaded" after csv-import

Post by hasmb » 27 Jul 2016, 15:59

I get "No file was uploaded" messages after importing from csv-file. Afterwards there are db entries for images but preview etc is broken.

I believe the images located in an "images" subdir of the import-dir are not found.

How do I have to write the "'media.url', // relative URL of the product image on the server" like stated in the docs?
- relative to what?
- leading "/"?
...

I used "images/FILENAME.jpg"

Thanks for any hints!

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: "No file was uploaded" after csv-import

Post by aimeos » 27 Jul 2016, 23:17

You've used the product CSV importer?
https://aimeos.org/docs/Developers/Cont ... s_from_CSV

Images are relative to the content baseurl:
https://aimeos.org/docs/Configuration/C ... nt/baseurl

For TYPO3 it's set to ./uploads/tx_aimeos/ by default
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

hasmb
Posts: 12
Joined: 12 Jul 2016, 12:05

Re: "No file was uploaded" after csv-import

Post by hasmb » 28 Jul 2016, 13:04

Yes, I use the CSV importer.

I changed the location of the files. Works now.

Thank you!

Post Reply