Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Images not showing


Guest

Recommended Posts

Posted

https://www1.korksoft.com/~twiink/catalog/a...eview&read=only

 

I am having problems fixing the "Error: Catalog images directory does not exist: /catalog/images/"

 

I have been toying with the configure.php for the past 4 hour if not more. I just don't understand why that error is still there.

 

Here is my current config file:

-----------------------------------

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'https://www1.korksoft.com/~twiink'); // eg, http://localhost or - https://localhost

 

should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.twiink.com');

define('HTTPS_CATALOG_SERVER', 'https://www1.korksoft.com/~twiink');

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

define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER['/home/twiink/www']); // where your pages are located on the

 

server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

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

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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/');

 

-----------------------------------

There are some pictures that won't load on the picture as well, for reasons unknown to me it points to the directory

 

https://www1.korksoft.com/catalog/includes/...images/icon.gif

 

when it should be

https://www1.korksoft.com/~twiink/catalog/i...images/icon.gif

 

Is it a bug? or is there something that I'm overlooking? Because it is currently preventing me from being able to load picture of products up.

Posted

Hi

Are the permissions set on the image directory to 777?

Have you checked the permissions on the image files themselves? I had a minor bug and they were being written 600 when it should be 644.

thanks

Rich

"May the seam be with you"

Posted

It actually had 755 permissions. But I changed it to 777. No luck.

 

I don't think permissions is the problem. I think I messed up some how and it's not pointing to the correct directory for images.

 

Thanks for the suggestion tho! Much appreciated. More help needed though.

 

- Kevin

Archived

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

×
×
  • Create New...