Zen Cart Logo
Forums / General Questions / Error: Catalog images directory is not writeable

Error: Catalog images directory is not writeable

Views: 3,449

Results 1 to 20 of 34
18 Jan 2011, 9:18 AM
#1
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Error: Catalog images directory is not writeable

Hi there

This morning, when I logged in into admin, I got this message on the to of the page:

**Error: Catalog images directory is not writeable: /home/virtual/site50/fst/var/www/html/images/
**

Any idea what that supposed to mean? Thanks

18 Jan 2011, 9:27 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

What are the permissions on your /images directory?

18 Jan 2011, 9:29 AM
#3
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

Hi Kobra. Its 755. This message only appears when I open Categories/Products under Catalog

18 Jan 2011, 9:31 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

755 is writeable - - are you certain that this is the directory that your install is looking at??

18 Jan 2011, 9:41 AM
#5
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

Yes, I am sure.

Everything seems to work fine, images in online catalog work fine as well. But I have just reminded myself that I had a similiar problem yesterday but slightly differen. When I opened shops front page I got this message:

Warning: I am able to write to the configuration file: ==================== This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical).

So I did. Is it connected? Todays problem with yesterdays? Or is it totally something else?

18 Jan 2011, 9:58 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

Totally something else

What is in both your configure.php files for

 define('DIR_WS_IMAGES',
18 Jan 2011, 10:16 AM
#7
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

This is from configure.php file from /var/www/html/includes directory:

define('DIR_WS_IMAGES', 'images/');

and from /var/www/html/admin/includes location:

define('DIR_WS_IMAGES', 'images/');

18 Jan 2011, 10:17 AM
#8
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

And they both have 755 permission set

18 Jan 2011, 10:20 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

I am at a loss as to why you are seeing this message???

18 Jan 2011, 10:25 AM
#10
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

This is from configure.php file from /var/www/html/includes directory:

define('DIR_WS_IMAGES', 'images/');

and from /var/www/html/admin/includes location:

define('DIR_WS_IMAGES', 'images/');

The file from the first location is missing DIR_FS_CATALOG_IMAGES.

hmm, it says catalog images in this warning...is this the problem?

18 Jan 2011, 10:59 AM
#11
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

Thanks for trying to help kobra.

I did change permission for images folder on /var/www/html/images/ location to 777 and this warning message is gone. Is it safe to have set to 777?

18 Jan 2011, 11:24 AM
#12
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

It didn't solve the problem. The warning message was gone, but I couldn't delete product image, so I had put it back to 755.

I have no idea whats happening, as everything looks ok. Any idea, help much appreciated

18 Jan 2011, 10:12 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

To determine the correct permissions for a directory
Use FTP and transfer a non-existing folder to your server
Check the permissions after the upload

19 Jan 2011, 9:15 AM
#14
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

kobra:

To determine the correct permissions for a directory
Use FTP and transfer a non-existing folder to your server
Check the permissions after the upload

It's 755.

I still have warning message (Error: Catalog images directory is not writeable: /home/virtual/site50/fst/var/www/html/images/) when I enter Catalog directory under admin.

I am able to delete and upload new images.

19 Jan 2011, 9:19 AM
#15
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

I am able to delete and upload new images.

Wrong. I can't delete images when I tried to delete different sizes seperately ie default size, medium size, large size. After I hit the button there is a new warning message on the top of the page: Unable to delete image (or something like that). I can only delete all of them at the same time from Select Action box.

19 Jan 2011, 9:28 AM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

USE your FTP to remove images
As the extra med & lrg imahes have to be uploaded with FTP anyway

19 Jan 2011, 9:36 AM
#17
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

Hey Kobra, any idea what causes the problem? I can't think of anything...

19 Jan 2011, 9:38 AM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

I have never tried to use any image delete from the admin, so no clue

19 Jan 2011, 9:46 AM
#19
safeg avatar

safeg

Zen Follower

Join Date:
Apr 2009
Location:
Edinburgh
Posts:
130
Plugin Contributions:
0

Re: Error: Catalog images directory is not writeable

ok. Thank you for your help :)

19 Jan 2011, 9:54 AM
#20
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error: Catalog images directory is not writeable

I just looked at the product entry screen and do not see any delete image and definately none for the med & lrg images

It does state

Delete Image? NOTE: Removes Image from Product, Image is NOT removed from server:

Where are you seeing this option?