Home Forums Plugins Product Importer Deluxe Support [Resolved] WP 3.0 Image URL link Error

Welcome to our community support forums! We're here to help - but if you have an urgent request for a Pro Plugin, you will get a prioritised response through our Premium Support page.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #6506
    emil
    Participant

    2 attempts at importing products with url image link didn’t work.

    My reference to the url working in a post was just to clarify that WP is pulling the image from an external source as is without a problem. I am confident there is no issue with the link

    #6507
    Michael Visser
    Keymaster

    Can you please e-mail me the CSV file to confirm it is formatted correctly, this is an area I need to provide additional documentation for. I’m happy to work on a per-case basis until this is available.

    #6508
    emil
    Participant

    what should the url column be and what should it match up to in the importer? seriously this can’t be difficult if everything else matches up ok.

    #6509
    Michael Visser
    Keymaster

    The URL column should be set to Image and under “Are you importing Product Images?” set it to “Assigned an external URL column for Products in the CSV file.”.

    This works a treat for me, let me know how you go.

    #6510
    Michael Visser
    Keymaster

    The image filename issue in 2.9-3.0 has been fixed in 3.0.1, download the latest release from Premium Plugins Page.

    #6511
    emil
    Participant

    First chance I have had to test again. Downloaded latest release and category upload worked fine but got the following warnings for product upload:

    Warning: fwrite/fclose/imagesx/imagesy(): supplied argument is not a valid Image resource in…

    and then it references /wp-e-commerce-product-importer-deluxe.php and /SimpleImage.php on various lines and for each image.

    Hope that makes sense.

    I have the latest versions of WP and E commerce. I have the store installed on only one network site.

    #6512
    Michael Visser
    Keymaster

    Hi emil, is this issue still relevant?

    #6513
    emil
    Participant

    Hi Michael, still is yes:-)
    I think the issue is that the external url for the image needs to point to my server/host where-as the image url i have points to an external location on a suppliers server. I think this is what causes the error.

    Can you confirm this is correct? and if so is it possible to get the plugin to pull the image from the external location directly?

    It would really be a pain to have to get all the images, then upload, then change the url…….etc

    cheers

    #6514
    Michael Visser
    Keymaster

    Hi emil, please get in touch as I’ll need to inspect your WP e-Commerce tables; phpMyAdmin access would be preferable. The ‘Assigned an external URL column for Products in the CSV file.’ option does just that, reads the image file specified and saves a local copy to your server. Be good to get this sorted, thanks emil.

    #6515
    graphicagenda
    Participant

    Hey Visser! My problem is the fwrite fopen.

    But the cause of my issue is very clear. Not sure how hard it would be to fix.
    I did mention back in .4 of your plug-in that I had different prefix for the tables.

    In this case, my wordpress directory is ‘/svn/wp-content’ , not ‘/wp-content’!

    So my php error is giving me…
    Unable to open ‘/var/www/vhosts/mywebsite/httpdocs/wp-content/uploads/wpsc/product_images/thumbnails/1289093755-print-1.jpg’

    where it should be looking in
    Unable to open ‘/var/www/vhosts/mywebsite/httpdocs/svn/wp-content/uploads/wpsc/product_images/thumbnails/1289093755-print-1.jpg’

    How to fix?

    #6516
    graphicagenda
    Participant

    Ahh, changing one line fixed this for me.
    In wp-e-commerce-product-importer-deluxe.php….

    I customized line 1104 to match my product_images location.
    Based on my previous post, I made sure this line looked like>>>
    $uploadsDirectory = $_SERVER[‘DOCUMENT_ROOT’] . ‘/svn/wp-content/uploads/wpsc/product_images/’;

    And I finally saw my images successfully imported. Now it is a breeze.

    #6517
    Michael Visser
    Keymaster

    Hi graphicagenda, thanks for the update. I’ll look into how I can integrate this support into future releases of Product Importer Deluxe.

    #6518
    Michael Visser
    Keymaster

    I’m packing this change into the latest Plugin update, this patch fell off the roadmap; sorry guys!

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] WP 3.0 Image URL link Error’ is closed to new replies.