Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where do i put product images?


CompatibleCarts

Recommended Posts

Posted

Hi,

 

I had an error on osc but had backed up and had downloaded all pics.

 

I installed osc fresh and uploaded backup so that the products were all there but cannot remember where to put the images file with all the product pictures in it.

 

Can anyone tell me which file please and if i have to create any new folders.

 

I tried catalog/images but it didnt work (and it is permission 777)

 

Any ideas would b great.

 

Thanks

 

Ed

Posted
Hi,

 

I had an error on osc but had backed up and had downloaded all pics.

 

I installed osc fresh and uploaded backup so that the products were all there but cannot remember where to put the images file with all the product pictures in it.

 

Can anyone tell me which file please and if i have to create any new folders.

 

I tried catalog/images but it didnt work (and it is permission 777)

 

Any ideas would b great.

 

Thanks

 

Ed

catalog/images is right.

Take a look in your configure.php files and see it the image file directory is set to /images/

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Posted
thanks will do.

 

do i need to put any subfolders in or anything?

 

Thanks

 

Ed

no you dont need a sub folder just catalog/images

unless you want all the extras including banners , dvd , default , icons , imagecache , infobox , and mail which are part of the standard install.

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Posted

hi,

 

I tried but am not familiar enough to change it myself can you please tell me what if anything i need to change?

 

many thanks

Ed

 

<?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://mrvillaine.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://mrvillaine.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'mrvillaine.com');

define('HTTPS_COOKIE_DOMAIN', 'mrvillaine.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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/mrvillai/public_html/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'XXXXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXXXXXX');

define('DB_DATABASE', 'mrvillai_osc1');

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

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

// STS: ADD: Define Simple Template System files

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

// STS: EOADD

?>

Posted
hi,

 

I tried but am not familiar enough to change it myself can you please tell me what if anything i need to change?

 

many thanks

Ed

 

<?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://mrvillaine.com'); // eg, http://localhost - should not be empty for productive servers

  define('HTTPS_SERVER', 'https://mrvillaine.com'); // eg, https://localhost - should not be empty for productive servers

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

  define('HTTP_COOKIE_DOMAIN', 'mrvillaine.com');

  define('HTTPS_COOKIE_DOMAIN', 'mrvillaine.com');

  define('HTTP_COOKIE_PATH', '/');

  define('HTTPS_COOKIE_PATH', '/');

  define('DIR_WS_HTTP_CATALOG', '/');

  define('DIR_WS_HTTPS_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/mrvillai/public_html/');

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

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

 

// define our database connection

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

  define('DB_SERVER_USERNAME', 'XXXXXXXXXX');

  define('DB_SERVER_PASSWORD', 'XXXXXXXXXX');

  define('DB_DATABASE', 'mrvillai_osc1');

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

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

// STS: ADD: Define Simple Template System files

  define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

  define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

  define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

  define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

  define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

  define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

  define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

  define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

  // STS: EOADD

?>

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

looks Ok to me? :x

I have tried to take a look at your site but I recieve this error.

 

Warning: mysql_connect(): Access denied for user: 'mrvillai_osc1@localhost' (Using password: YES) in /home/mrvillai/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Archived

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

×
×
  • Create New...