Zen Cart Logo
Forums / General Questions / Unable to upload images through categories/products

Unable to upload images through categories/products

Views: 948

Results 1 to 8 of 8
2 Aug 2015, 2:24 AM
#1
icarp avatar

icarp

New Zenner

Join Date:
Feb 2009
Location:
sunny southern Ontario
Posts:
22
Plugin Contributions:
0

Unable to upload images through categories/products

I did an install of ZC 1.5.4 bundled with a template today. When I add a new product (or category too) I am unable to add the image. I click Choose File and select the image to upload. Then I click preview. The preview page shows the No Picture Available image. I get no error message.

I then did a clean install of ZC 1.5.4 and got the same problem.

I can upload images by ftp and then select them when adding new products- a cumbersome workaround. But this indicates to me that it isn't a problem with file format or permissions.

I've checked for error logs, but there aren't any being generated. I set the site's PHP version to 5.5. MySQL version is 5.1 but that hasn't caused this problem before. (I contacted the hosting company this afternoon requesting that it be upgraded.)

I have been a happy user of ZC for 5 or 6 years and I think that this is the first problem I've ran across that I couldn't solve or find a solution for on the forum. Any assistance would be greatly appreciated.

2 Aug 2015, 7:48 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Unable to upload images through categories/products

Did you check the folder permissions of the image folder, and it's sub directories? It should be something like 775 or 777

3 Aug 2015, 2:10 PM
#3
icarp avatar

icarp

New Zenner

Join Date:
Feb 2009
Location:
sunny southern Ontario
Posts:
22
Plugin Contributions:
0

Re: Unable to upload images through categories/products

Thanks for the suggestion. But my permissions are fine and I can upload via ftp. The problem is that I can't upload directly whilst entering a new product or category.

3 Aug 2015, 2:15 PM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Unable to upload images through categories/products

iCarp:

Thanks for the suggestion. But my permissions are fine and I can upload via ftp. The problem is that I can't upload directly whilst entering a new product or category.

If you can upload through ftp does not mean by default your permissions are also fine for uploading through Zen Cart. It may need the permissions to be a little less tight.

5 Aug 2015, 12:03 PM
#5
icarp avatar

icarp

New Zenner

Join Date:
Feb 2009
Location:
sunny southern Ontario
Posts:
22
Plugin Contributions:
0

Re: Unable to upload images through categories/products

755 has always worked for me before. Even setting them to 777 isn't working.

5 Aug 2015, 12:40 PM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Unable to upload images through categories/products

Hmm... then I am out of options for the moment

5 Aug 2015, 1:13 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Unable to upload images through categories/products

What browser are you using and are you using any kind of ad blocker?

5 Aug 2015, 4:11 PM
#8
icarp avatar

icarp

New Zenner

Join Date:
Feb 2009
Location:
sunny southern Ontario
Posts:
22
Plugin Contributions:
0

Re: Unable to upload images through categories/products

Bingo!

I was using Safari. I have found over the years that it doesn't always play nicely with ZC. When this problem started with the new install I therefore switched to Firefox. But I also had the problem with that browser. Disabling ad blockers solved it on both browsers.

Thanks very much, stevesh!