error after importing with category_product imoprt/export module

Avatar
  • Answered
First, thanks for your short tutorial on the category/product import export module. I installed the module successfully with your tutorial. I did a test export of my database and then decided to import same after populating the excel file with products and categories.

The import was successful but I got this error on my homepage...

Warning: imagecopyresample() expects parameter 2 to be resource, null given in c:\xampp\htdocs\shopname\system\library\image.php on line 109

Warning: imagecopydestroy() expects parameter 1 to be resource, null given in c:\xampp\htdocs\shopname\system\library\image.php on line 110

This is my test machine. I want to make sure all is working perfectly before installing on the live system. Your help will be appreciated. Thank you.
Avatar
Arn
Hello Guzzyman2, Sorry to hear about the problem! In looking for examples of this issue, I found the following post in the OpenCart forums with the same error. It basically says that there are a few possibilities. One, it could be an image type not supported. You may need to convert the image to a JPG or some other format such as a PNG. Or, it might be a corrupted file that is causing the error. In which case, check out the link in the post to help you identify bad files (especially if you have many graphic files). I hope that helps! Please let us know if you have any further comments or questions. Regards, Arnel C.