Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images Error


rolucus20

Recommended Posts

Posted

For some odd reason, im all of a sudden having some wierd problems with my images, when i go to add new products etc, and add the image in it gives me a error saying "Image Does Not Exist" and i also have a pink error strip at the top of my page saying "Error: Catalog images directory does not exist: /home2/shoe/public_html/images/" please help me with this situation thanks

Posted
For some odd reason, im all of a sudden having some wierd problems with my images, when i go to add new products etc, and add the image in it gives me a error saying "Image Does Not Exist" and i also have a pink error strip at the top of my page saying "Error: Catalog images directory does not exist: /home2/shoe/public_html/images/" please help me with this situation thanks

 

Have any paths changed?

 

Check you configue.php file in includes/ and admin/includes

 

Have you checked through ftp that that folder is there were it should be?

My Contributions

 

Henry Smith

Posted

Thanks for the reply, im fairly new to this stuff, so i really dont know or understand the paths etc, although in the configure.php under admin/includes i do see somethings that say home2/ like the error link

Posted
Thanks for the reply, im fairly new to this stuff, so i really dont know or understand the paths etc, although in the configure.php under admin/includes i do see somethings that say home2/ like the error link

 

 

Can you post you configure.php here please remove database username and password before posting

My Contributions

 

Henry Smith

Posted

Sure which configure.php which you want me to post.

 

 

 

 

Can you post you configure.php here please remove database username and password before posting
Posted

seen this post today as I was having the same problem.

 

here's how I eventually solved the problem

 

I replaced the line

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

 

for

 

define('DIR_FS_CATALOG_IMAGES', '/myServer/m/y/my_website_co_uk/images/');

 

and also made sure the folder was chmod to 777

Posted

Hello I am having the same problem, I see where the error is now thanks to this post.

 

<?php

/*

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://www.networking-help.biz'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.networking-help.biz'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.networking-help.biz');

define('HTTPS_COOKIE_DOMAIN', 'www.networking-help.biz');

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

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

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

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

define('DIR_WS_IMAGES', 'images/'); <-- I think this is wrong too?

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', '/homepages/28/d88783310/htdocs/store/'); <--- This is my problem

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', '##########');

define('DB_SERVER_PASSWORD', '#########');

define('DB_DATABASE', 'osuser');

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

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

?>

Archived

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

×
×
  • Create New...