InMotion Hosting Support Center

error after importing with category_product imoprt/export module

Category: Opencart

2013-11-19 7:07 pm EST

Hits: 936
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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



40,371 Points
2013-11-19 7:18 pm EST
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.

Arnel C.

You must login before you can post a comment about this answer.

Thanks Arnel C. Your response is so invaluable. There's one image with the .bmp mime type. I will remove that and re-upload. Would get back to you on this. Once again, thanks a great bunch!
8 Points
2013-11-20 1:58 pm EST
Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!