PrestaShop / PrestaShop/docker

csv upload for images (image URLs (x,y,z..)) doesnt work for ps on docker

Open
#405 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
281
Forks
190
PR merge metrics
No merged PRs in 30d

Description

I've created a directory in my prestashop persistent directory (csv_img_uploads) and pointed my csv file column (image URLs (x,y,z..)) to the location but when 'Importing your data...' ends i get this error message:

Some errors were detected. Please check the details:

    Error copying image: http://192.168.0.200/csv_img_uploads/PFS_March_17-1.jpg

On a bare metal Apache server id use these commands to change permissions but the error persists:

sudo chown -R www-data:www-data /var/www/html/prestashop/csv_img_uploads
sudo chmod -R 755 /var/www/html/prestashop/csv_img_uploads

I can see the images on my network when i go to eg http://192.168.0.200/csv_img_uploads/PFS_March_17-1.jpg. But ps cant seem to see the dir to pull the image for the conversion and upload

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Docker setup and the PrestaShop CSV import flow, using the persistent csv_img_uploads directory and the reported image URL as the reproduction case. Check how image URLs are accessed during import and compare that with the mounted directory and permissions. Done means the CSV import can retrieve and upload the referenced images without the copying error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.