Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

image directory problem


abra6345

Recommended Posts

Howdy guys,

 

Ive sifted through ther forums and google and tryed everything the error is as following:

 

Error: Catalog images directory is not writeable: /home/kiwipc/www/catalog/images/

 

Now via reading the forum ive seen afew solutions for this problem all been tryed:

 

chmod 777 images done.

drwxrwxrwx 13 kiwipc kiwipc 4096 Jan 3 13:09 images

as seen there.

 

here is a paste from my configure.php

 

define('HTTP_SERVER', 'http://www.kiwipc.co.nz'); // eg, http://localhost - s$

define('HTTPS_SERVER', 'https://www.kiwipc.co.nz'); // eg, https://localhost $

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.kiwipc.co.nz');

define('HTTPS_COOKIE_DOMAIN', 'www.kiwipc.co.nz');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/kiwipc/www/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

If anyone can help me ill be very happy and thankful :)

 

- Maxx

Link to comment
Share on other sites

You did chmod the catalog/images folder and not the admin/images folders correct?

 

You have the right permissions so either the folder you are chmodding is not the same folder the application is looking at or the permissions are staying in effect (happens with some ftp clients).

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

You did chmod the catalog/images folder and not the admin/images folders correct?

 

You have the right permissions so either the folder you are chmodding is not the same folder the application is looking at or the permissions are staying in effect (happens with some ftp clients).

yes im chmodding the right directorys to cleaify

 

drwxrwxrwx 13 kiwipc kiwipc 4096 Jan 3 13:09 images

[kiwipc@host catalog]$ pwd

/home/kiwipc/www/catalog

[kiwipc@host catalog]$

 

and also im using ssh not an ftp client so id say the chmod's are sucsessful, the only thing i can think of is my configure.php ? but noones picked up anything yet ive tryed removing the / at the end of the images and the catalog part but still no avail ... its got me prettym stumped for ideas.

 

- Maxx

Link to comment
Share on other sites

Your configure.php file looks ok and if it was not then you would get a different set of errors

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

any ideas then? :blink: im completely stumped, permissions are all fine and if the configure.php is fine i have no idea, im getting the error when i goto update the catalog in the admin if that makes any differnce? maybe its the permissions of one of the admin files?

Link to comment
Share on other sites

If you're still having problems, try '755' for permissions. One of the shared servers I use will not really accept 777 on a directory .. here's a blurb about why:

 

"Newer server are running phpSUEXEC, which won't let you set the 2nd or 3rd number higher than 5. The reason being is that the file owner is the only one that needs or is allowed write access"

 

If your server is phpSUEXEC, try the 755 trick .... it's worked for me on several occasions.

Link to comment
Share on other sites

I found out the problem, thankyou all for help, it was simply because im on a jailed shell account and the actual path to my homedir was differnt to the *physical* shell directory which the php could read, thankyou again all. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...