Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES


knott

Recommended Posts

Hi

 

Ive trawled these forums and the Dutch, German & French counterparts for a solution but seem to find that others solutions do not work on my install.

 

Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES

Is displayed withing the admin > catalogue section and I'm unable to add images

 

Its MS2.2 on linux

 

I've checked the permissions on my images folder and have set them 777

 

my admin/configure.php reads as follows.... I notice others that are using MS2.2 seem to have a slighty different version?

 

I've tried to define DIR_FS_CATALOG_IMAGES it partially works but by putting the images into the admin/images folder

 

Any help much appreciated

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://myweb.co.uk/shop'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://myweb.co.uk/shop'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'myweb.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'myweb.co.uk');

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

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

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_ADMIN', '/admin/');

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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

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

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

 

// protected since inside docroot instead of outside to facilitate addon installer

define('DIR_FS_WORK', '/home/MYSITE/public_html/shop/admin/_work/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'XXXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXXXX');

define('DB_DATABASE', 'XXXXXXXXX');

define('DB_TABLE_PREFIX', 'osc1_');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Hi

 

Ive trawled these forums and the Dutch, German & French counterparts for a solution but seem to find that others solutions do not work on my install.

 

Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES

Is displayed withing the admin > catalogue section and I'm unable to add images

 

Its MS2.2 on linux

 

I've checked the permissions on my images folder and have set them 777

 

my admin/configure.php reads as follows.... I notice others that are using MS2.2 seem to have a slighty different version?

 

I've tried to define DIR_FS_CATALOG_IMAGES it partially works but by putting the images into the admin/images folder

 

Any help much appreciated

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://myweb.co.uk/shop'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://myweb.co.uk/shop'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'myweb.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'myweb.co.uk');

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

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

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_ADMIN', '/admin/');

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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

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

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

 

// protected since inside docroot instead of outside to facilitate addon installer

define('DIR_FS_WORK', '/home/MYSITE/public_html/shop/admin/_work/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'XXXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXXXX');

define('DB_DATABASE', 'XXXXXXXXX');

define('DB_TABLE_PREFIX', 'osc1_');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

Your catalog images directory is not defined.

You need a line that reads:

  define('DIR_FS_CATALOG_IMAGES', '*******'); your catalogs image directory

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Link to comment
Share on other sites

Hi

 

Yup tried that and it kind of works by placing the images in the admin/images folder rather than just the images folder

 

or if I give the full path it just errors because it tries to find the full path on top of the current url.

 

also why would it be that my admin/configure.php is simply missing a line?

 

Many thanks for any further help you can give

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...