After adding photos to my categories I am getting this on my main page:
Notice: getimagesize() [function.getimagesize]: Read error! in /home2/troni/public_html/system/library/image.php on line 11
Notice: Undefined index: extension in /home2/troni/public_html/system/library/image.php on line 40
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home2/troni/public_html/system/library/image.php on line 50
Warning: Cannot modify header information - headers already sent by (output started at /home2/collecti/public_html/system/library/image.php:11) in /home2/troni/public_html/system/library/response.php on line 65
====================================
Also, why do I have to have a category image? Why doesn't the category image I use show up only in the Admin panel, and not on the main page.
Notice: getimagesize() [function.getimagesize]: Read error! in /home2/troni/public_html/system/library/image.php on line 11
Notice: Undefined index: extension in /home2/troni/public_html/system/library/image.php on line 40
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home2/troni/public_html/system/library/image.php on line 50
Warning: Cannot modify header information - headers already sent by (output started at /home2/collecti/public_html/system/library/image.php:11) in /home2/troni/public_html/system/library/response.php on line 65
====================================
Also, why do I have to have a category image? Why doesn't the category image I use show up only in the Admin panel, and not on the main page.
Most likely, your "image" folder either does not exist, or is not set to allow php read/write access that is needs.
Well, that error means it couldn't read the image... So you'll have to figure out what image it's trying to get the details for and why it can't read it.
I did have a "hiccup" when uploading all the folders and files though, using FileZilla no less. Could it be a corrupted php file? I'm about to say the heck with it and re-install a fresh copy of OpenCart, using my favorite FTP, FireFTP. Never seem to have a problem when I use it.
Well, did a complete re-install of OC and still am getting PHP warnings. Here is the latest :
Notice: Undefined index: image_id in /home2/collecti/public_html/admin/model/catalog/category.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /home2/collecti/public_html/admin/model/catalog/category.php:4) in /home2/collecti/public_html/system/engine/controller.php on line 23
Notice: Undefined index: image_id in /home2/collecti/public_html/admin/model/catalog/category.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /home2/collecti/public_html/admin/model/catalog/category.php:4) in /home2/collecti/public_html/system/engine/controller.php on line 23
These error codes were on there own page, not on the main page of OC, as was before. I got the warnings after deleting all categories and images (so I could put my own categories and images up). I made a new category, hit the "save" button and got the first error. It did make the category however, on the main page. I made a second category and got the second error. I'll get these after every category I make I would guess. I haven't uploaded any images of mine own yet, not sure what is going to happen.
Any ideas what it could be? FireFTP uploaded all files and folders without any problem, so I can't say it is due to a corrupted file.
Notice: Undefined index: image_id in /home2/collecti/public_html/admin/model/catalog/category.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /home2/collecti/public_html/admin/model/catalog/category.php:4) in /home2/collecti/public_html/system/engine/controller.php on line 23
Notice: Undefined index: image_id in /home2/collecti/public_html/admin/model/catalog/category.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /home2/collecti/public_html/admin/model/catalog/category.php:4) in /home2/collecti/public_html/system/engine/controller.php on line 23
These error codes were on there own page, not on the main page of OC, as was before. I got the warnings after deleting all categories and images (so I could put my own categories and images up). I made a new category, hit the "save" button and got the first error. It did make the category however, on the main page. I made a second category and got the second error. I'll get these after every category I make I would guess. I haven't uploaded any images of mine own yet, not sure what is going to happen.
Any ideas what it could be? FireFTP uploaded all files and folders without any problem, so I can't say it is due to a corrupted file.
Who is online
Users browsing this forum: No registered users and 98 guests