product images lost after saving in 2018.07

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
michal.fehér
Posts: 44
Joined: 05 Feb 2018, 09:57

product images lost after saving in 2018.07

Post by michal.fehér » 05 Jul 2018, 17:15

Hi, I am using s3 storage for images (Digitalocean space). But when I save the product, even without doing any changes, product images are blank.

Any idea why this is happening?
Attachments
screen
screen
Snip20180705_7.png (177.67 KiB) Viewed 1884 times

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

Re: product images lost after saving in 2018.07

Post by aimeos » 05 Jul 2018, 17:21

The image items are still there but the preview isn't shown? Is that the case?
If you store your images at a different server, you have to configure the base URL to your images using:
https://github.com/aimeos/aimeos-larave ... op.php#L58
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

michal.fehér
Posts: 44
Joined: 05 Feb 2018, 09:57

Re: product images lost after saving in 2018.07

Post by michal.fehér » 05 Jul 2018, 20:06

no, it's not in DB anymore. before that I could see images in frontend, after saving I can only see Aimeos logo

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

Re: product images lost after saving in 2018.07

Post by aimeos » 06 Jul 2018, 08:25

How do you create those images records? By importing them from the command line?
What data is posted to the server if you save a product? Can you check what happens here?
https://github.com/aimeos/ai-admin-jqad ... d.php#L330
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

michal.fehér
Posts: 44
Joined: 05 Feb 2018, 09:57

Re: product images lost after saving in 2018.07

Post by michal.fehér » 06 Jul 2018, 10:53

Thanks for the tip, I found out that default php.ini max_input_vars value (1000) was not enough when saving product with more variants. Increasing the value solved the problem.

Post Reply