PrestaShop Forums: Images via CSV not working - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Images via CSV not working


Images via CSV not working

#1 fringeusa

    PrestaShop Newbie

  • 27 Nov 2008
  • Members
  • Pip
  • 3 posts

Posted 27 November 2008 - 08:18 PM

I'm using the v1.1 Beta 3 version of PrestaCart.

I've been trying for the past day now unsuccessfully to get my images to upload via the CSV. In the CSV image column, i've tried everything:

filename.jpg
/var/www/..../filename.jpg
/img/p/filename.jpg
tmp/filename.jpg

And none of them seem to work. I see in the database that images are being matched in the database correctly with the product (as mentioned in the cvs bug), but for some reason, Prestashop isn't moving or renaming the files.

Also, uploading images manually through the Admin interface for each product does work.

Am I putting the images in the wrong location, if so what folder should they go to for CSV import?
Am I entering their location into the CSV wrong?
Is it a permissions issue with my server? (Though I have php error reporting on 7 and nothing is showing even in logs)

For the record, I am running PrestaShop with RHEL5, running Plesk (Control Panel Interface - if it matters).

Any help with this would be greatly appreciated. I was hoping to get a beta of my store online last night, and now my hope is by the end of the weekend. I hope this is just a dumb error on my part. I'd really hate to manually map 1,300+ images in my store, and thousands more in the future.

Thanks in advance.

#2 fringeusa

    PrestaShop Newbie

  • 27 Nov 2008
  • Members
  • Pip
  • 3 posts

Posted 29 November 2008 - 02:40 AM

I've updated my original post to make my issue more understandable, seemed a tad confusing. Thanks to anyone who can help me out!

#3 Gregory Roussac

    PrestaShop Apprentice

  • 10 Jun 2008
  • Members
  • PipPip
  • 350 posts
  • Location:Paris

Posted 29 November 2008 - 04:07 AM

Hi,

Did you try to give a full url like http://127.0.0.1/smthing/myimage.gif or http://my site.com/myimage.gif ?

Regards

#4 fringeusa

    PrestaShop Newbie

  • 27 Nov 2008
  • Members
  • Pip
  • 3 posts

Posted 29 November 2008 - 04:36 AM

Hey Gregory,

Thanks for the response! Unfortunately it does not work in either IP or direct domain either. I thought it was maybe since the shop was in maintenance mode, but that seems to not be it either.

I've attached my CSV to see if maybe i've done something unusual in it, even though all products are showing, or if maybe there is a server configuration causing it.

Fields:
ID
Supplier Reference #
Name
Retail Exc Tax
On Sale
Active
Supplier
Manufacturer
Weight
Short Description
Category
Image URL
Text if In-Stock
Text if Out-Of-Stock

Attached File(s)



#5 Gregory Roussac

    PrestaShop Apprentice

  • 10 Jun 2008
  • Members
  • PipPip
  • 350 posts
  • Location:Paris

Posted 29 November 2008 - 04:45 AM

Surely safe mode that disables socket opening.

I'll give a look when possible.

#6 fringeusa

    PrestaShop Newbie

  • 27 Nov 2008
  • Members
  • Pip
  • 3 posts

Posted 29 November 2008 - 06:03 PM

That was it Gregory! Safe Mode! I thought it wasn't since I had disabled it and then tried it before, but I probably wasn't doing the full URL. Irregardless, much help. Thanks!

#7 kevin13914

    PrestaShop Newbie

  • 27 Jun 2009
  • Members
  • Pip
  • 10 posts

Posted 01 February 2010 - 07:56 PM

What is safe mode? I have also uploaded products via csv and the products are showing fine...but the images dont show for the product.

I have imported the csv file using the http:// url for the images which are located in a folder on my site. Any help would be appreciated.
Thank you!

#8 djavet

    PrestaShop Apprentice

  • 05 Feb 2010
  • Members
  • PipPip
  • 33 posts

Posted 19 March 2010 - 05:41 AM

Same problem here with 1.2.5 withe th image import.
Do I need to switch safe_mode to off to import the image?

Dom

#9 Guest__*

  • --
  • Guests

Posted 19 March 2010 - 05:52 PM

As far as I know it is a new bug in the latest version.

replace the AdminImport.php(admin/tabs/) with the old version's then you will find it works.That means there is a bug in version 1.3.0.3. but remember dont replace it and upload your products, it is dangerous to your database!

#10 djavet

    PrestaShop Apprentice

  • 05 Feb 2010
  • Members
  • PipPip
  • 33 posts

Posted 22 March 2010 - 06:23 AM

I confirm: I change safe_mode on off and the image import work now for me. Hope this help the others. And this with changing any code.

Dom

#11 Guest__*

  • --
  • Guests

Posted 22 March 2010 - 07:32 AM

Where can I see the safe_mode ?

#12 djavet

    PrestaShop Apprentice

  • 05 Feb 2010
  • Members
  • PipPip
  • 33 posts

Posted 22 March 2010 - 09:03 AM

in php.ini or ask you provider (i've done this).

Dom

#13 rocky

    PrestaShop Superstar

  • 16 Oct 2008
  • US Moderators
  • 9981 posts
  • Location:Australia

Posted 23 March 2010 - 04:50 AM

@x

Can you report this bug on the bug tracker? The Prestashop team is looking for bugs that have been introduced in the beta.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

Guides Performance Guide | Installation Guide | Development Guide

Modules AJAX Sliding Categories | AJAX Dropdown Categories | Carousel | Image Gallery | Sliding Menu

All free and paid software, modules, themes and modifications are subject to the terms and conditions here.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users