Post by collector » Mon Mar 02, 2009 11:25 am

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.

Newbie

Posts

Joined
Mon Mar 02, 2009 11:20 am

Post by liquidpele » Mon Mar 02, 2009 12:11 pm

Most likely, your "image" folder either does not exist, or is not set to allow php read/write access that is needs.

New member

Posts

Joined
Mon Feb 23, 2009 11:58 pm

Post by collector » Mon Mar 02, 2009 9:22 pm

I checked, I do have an Images folder. The chmod on it is 755. Any other ideas?

Newbie

Posts

Joined
Mon Mar 02, 2009 11:20 am

Post by liquidpele » Mon Mar 02, 2009 11:52 pm

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.

New member

Posts

Joined
Mon Feb 23, 2009 11:58 pm

Post by collector » Tue Mar 03, 2009 12:20 am

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.

Newbie

Posts

Joined
Mon Mar 02, 2009 11:20 am

Post by collector » Tue Mar 03, 2009 6:43 am

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.

Newbie

Posts

Joined
Mon Mar 02, 2009 11:20 am

Post by collector » Tue Mar 03, 2009 8:51 am

I haven't seen anymore error codes since I started adding categories and uploading images. May have been just a small bug? OC is working correctly now.....

Newbie

Posts

Joined
Mon Mar 02, 2009 11:20 am
Who is online

Users browsing this forum: No registered users and 98 guests