Home
CSV Improved - import product file - error

CSV Improved - Using product file templates

Question: WE have been ttrying for hours to get the CSV imported import product file to work.  When we first load the data file it all looks good, except for this weird message at the top of the page (see below).  Even with the error we tried to import and it seemed to work. However, in the results screeen we get a message that the image files are missing, and so the import failed.

We checked the path way against what is shown when you export the product files using CSV Imported. This is what it looks like:

/components/com_virtuemart/shop_image/product/d_3_02.jpg

When we created the data file for import, we made it the same, but obviously changed the actual file name accordingly.  We triple checked the files on the server to make sure they are where they are supposed to be and have the correct permission.  It's all good.  Yes, we still keeping getting the error message that the file is missing.

Help.

Answer:
The problem is the path way in  " product_files_file_name" field.  When you export, that field is actually NOT the same was what needs to set when importing. It is truncated. It should include the server root path vs just the web root path.

/home/yourfoldername/public_html/components/com_virtuemart/shop_image/product/ d_3_02.jpg.

Note: Depending on how your server is set up, the /home/yourfoldername/public_html section of the path will vary.  To find your specific path, look in at Joomlas configuration file > site > global configuration > system.

Loot at the Path to Log Folder field.

It should have a path simillar to this:

/home/tufout/public_html/logs

User that, but with our the LOGS.

Just use /home/tufout/public_html/

Note: You may still see the PHP errors below, but the just ignore it and continue with the import. It still works. At present we do not have an answer for the specific PHP errors as it's related to the CSV improved component. We have posted a notice in on Joomla Forums, and are awaiting a solution.

Error message:
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 251

Warning: imageantialias(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 256

Warning: imagealphablending(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 257

Warning: imagesavealpha(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 259

Warning: imagecolorallocatealpha(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 261

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 264

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 303

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xxx/public_html/administrator/components/com_csvimproved/classes/csvi_class_image_converter.php on line 181

 


Request Services
 
First Name
Last Name
E-mail
Phone
Domain
Service needed
Budget
  
Watch video overview


+ Suggested tags