Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Catalog images directory does not exist -- HELP


sdahdal

Recommended Posts

I just moved a OsCommerce to another site, and the catalogue end works perfectly....all images are there!!

But the admin side, is having tons of problems, it keeps telling me:

Error: Catalog images directory does not exist: http://www.wegavideo.ca/images/

 

but this directory DOES exist, and the catalogue store can access it...I don't understand why it says that.

I think it has something to do with my paths in the config.php but I have tried EVERY combo?

 

It just does not want to see the directory, even tho it is there

 

here if the config, thanks:

 

define('HTTP_SERVER', 'http://www.wegavideo.ca'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.wegavideo.ca');

define('HTTPS_CATALOG_SERVER', 'https://www.wegavideo.ca');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

I just moved a OsCommerce to another site, and the catalogue end works perfectly....all images are there!!

But the admin side, is having tons of problems, it keeps telling me:

Error: Catalog images directory does not exist: http://www.wegavideo.ca/images/

 

but this directory DOES exist, and the catalogue store can access it...I don't understand why it says that.

I think it has something to do with my paths in the config.php but I have tried EVERY combo?

 

It just does not want to see the directory, even tho it is there

 

here if the config, thanks:

 

define('HTTP_SERVER', 'http://www.wegavideo.ca'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.wegavideo.ca');

define('HTTPS_CATALOG_SERVER', 'https://www.wegavideo.ca');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

After looking at your file, i think you need to change /admin/ to admin/ to match the others

Link to comment
Share on other sites

but then I have to add / at the end of the URL in the first two lines

 

it doesn't work, I am confused about these slashes... it worked PERFECTLY when I hosted on windows, but now its moved to Linux. Everything works fine but this, I can't add any products because it can't find the images, yet the URL it is looking for them in, is perfect... :(

Link to comment
Share on other sites

yes, try this for the images, (I just commented out the old line)

 

// define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_CATALOG_IMAGES', '../images/');

Link to comment
Share on other sites

  • 10 months later...
yes, try this for the images, (I just commented out the old line)

 

// define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_CATALOG_IMAGES', '../images/');

 

 

 

this help me lots. In local machine image uploading and image display in admin section was ok by defining

 

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

 

but problem occurs when i upload in server.

the errors was

catalog image directory does not exist and

for uploadin

destination directory does not exists.

 

but defining

define('DIR_WS_CATALOG_IMAGES', '../images/');

define('DIR_FS_CATALOG_IMAGES','../images/');

it now works perfectly.thanks u lots .

Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...

That did not work for me, but this did:

 

I have my site on the root and i changed the 3 DIR_FS to ../

 

define('DIR_FS_DOCUMENT_ROOT', '../');

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

define('DIR_FS_ADMIN', '../admin/');

define('DIR_WS_CATALOG', '/');

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

Link to comment
Share on other sites

  • 4 weeks later...
That did not work for me, but this did:

 

I have my site on the root and i changed the 3 DIR_FS to ../

 

define('DIR_FS_DOCUMENT_ROOT', '../');

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

define('DIR_FS_ADMIN', '../admin/');

define('DIR_WS_CATALOG', '/');

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

 

Also I had a working osC but after a crash of the server and a new setup of the server

I had the same error message, but just in German:

 

"Das Bilderverzeichnis existiert nicht"

 

And this solution helped me.

 

Thanks a lot.

 

Res

SHP: OsCommerce 2.2 Milestone 2;

SQL für osC: MySQL 4.1.20-standard

SQL für CAO: MySQL 5.01 & MySQL-Client-Version: 4.0.24

SRV: AppServ Open Project 2.4.0

Server Version: 4.1.20-standard

PHP Version: 5.1.4 (Zend: 2.1.0)

SYS: Windows XP Home Edition SP2

CAO: Faktura 1.2.6.21 F; Kasse: no

 

Contributions:

CAO-OSC.PHP 1.53_496

Download_Controllerv5.3 MS2.2_2 Patched on Dec 6, 2006 by Yonny

Visitor Web Stats 3.1

UnsoldCartsReport_v2.1

keywords 1.3

Bank Transfer V1.1B

European Bank Transfer 1.9.1

HeaderTags_V_2.6.1

Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...

That did not work for me, but this did:

 

I have my site on the root and i changed the 3 DIR_FS to ../

 

define('DIR_FS_DOCUMENT_ROOT', '../');

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

define('DIR_FS_ADMIN', '../admin/');

define('DIR_WS_CATALOG', '/');

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

 

 

Thanks a lot

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...