1b.app
Link copied -

Not all pictures are transferred to Opencart

Hello.
For some reason, not all photos are transferred from the box to opencart. Last night I added 2 products id 489871, 489870 the photo was transferred to https://tehnolavka.com.ua/tovary-dlya-doma/aksessuary-dlya-kuhonnoj-tehniki/ . Previously, I added about 80 products, the photo is not transmitted %3A00&filtercdateto=2020-09-13+00%3A00%3A00&filtersuppldatefrom=&filtersuppldateto=&categoryid=&searchLine=
Original question is available on version: ru

Answers:

in the error log this line appears
2020-09-17 9:07:25 - PHP Warning: file_get_contents(https://domain/media/export/opencart/images.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /usr/www/users/tehnolb/domain/catalog/controller/api/oneboxsync.php on line 936
17.09.2020, 10:22
Original comment available on version: ru

This means that some image is broken. That is, he has some wrong link. I would try uploading some of the images (a separate category) should work.
Or you can try to determine which image it is.
To do this, you must have access to the ftp server of the opencart. Crm uploads a file with all links to images and then cron (which is configured on the server) selects this file and tries to download it. You will have time from the moment this file is uploaded to FTP until the file is collected by the cron.
It can be downloaded and opened through the editor and see what is on line 936. There will be an image that breaks the file
17.09.2020, 14:51
Original comment available on version: ru


Gubko Alexander Sergeevich Employee wrote:
This means that some image is broken. That is, he has some wrong link. I would try to upload some of the images (a separate category) should work. Or you can try to determine which image it is. To do this, you must have access to the ftp server of the opencart. Crm uploads a file with all links to images and then cron (which is configured on the server) selects this file and tries to download it. You will have time from the moment this file is uploaded to FTP until the file is fetched by the cron. You can download it, open it through the editor and see what is on line 936. There will be an image that breaks the file

Thank you. I just realized that the error does not apply to the problem, this error was also earlier.
It's just that in the automatic action "Upload products/categories/filters/characteristics to opencart (via the database)" I selected the fields https://prnt.sc/uiw64x , if I remove all the fields, then the photos will all load. For some reason they don't load after I select the fields to upload. Perhaps there is a limit? And then 2 pcs. unloaded
17.09.2020, 15:12
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment