Guest Posted July 30, 2006 Posted July 30, 2006 Hi, I need to find the code and change were it looks for the pics, ex... Go to http://www.tarojoenterprises.com/ and right click on the TEST pic, and properties, i don't need tarojoenterprises.com/images. For some reason i can't find the code that puts it automatically in there. Thanks in advance for your help! <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://tarojoenterprises.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://tarojoenterprises.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/tarojoen/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/tarojoen/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/tarojoen/public_html/'); // 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/'); I think this might be the code that i would change but i have tried it. Hope someone can help me! :-"
Guest Posted July 30, 2006 Posted July 30, 2006 Hi, I need to find the code and change were it looks for the pics, ex... Go to http://www.tarojoenterprises.com/ and right click on the TEST pic, and properties, i don't need tarojoenterprises.com/images. For some reason i can't find the code that puts it automatically in there. Thanks in advance for your help! <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://tarojoenterprises.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://tarojoenterprises.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/tarojoen/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/tarojoen/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/tarojoen/public_html/'); // 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/'); I think this might be the code that i would change but i have tried it. Hope someone can help me! :-" you have the answer in your question. But you need to define a directory for your images. They just can't be in the root! just replace the word 'images' by what you need. I changed mine to 'newimages' because I had an image directory containing elements that I could not overwrite.
Guest Posted July 30, 2006 Posted July 30, 2006 you have the answer in your question. But you need to define a directory for your images. They just can't be in the root! just replace the word 'images' by what you need. I changed mine to 'newimages' because I had an image directory containing elements that I could not overwrite. of course, don't forget to edit both of the configure files: one in the front, one in the admin section.
Guest Posted July 30, 2006 Posted July 30, 2006 you have the answer in your question. But you need to define a directory for your images. They just can't be in the root! just replace the word 'images' by what you need. I changed mine to 'newimages' because I had an image directory containing elements that I could not overwrite. ok i figured that, but i need the OS to point to a diff server. I guess i should have said that... All my images are on a diff server, but os wants to put mysite.com/images auto in there, i tried to change those but it doesn't work?
Guest Posted July 30, 2006 Posted July 30, 2006 of course, don't forget to edit both of the configure files: one in the front, one in the admin section. what do u mean front?
Guest Posted July 30, 2006 Posted July 30, 2006 what do u mean front? the catalog directory (or your root if your store doesn't run in a catalog directory)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.