farilion Posted March 26, 2003 Share Posted March 26, 2003 Hey people, i managed to get all images to show, except the ones that change dependant on which language are chosen. IE: reveiws, adress book.. etc etc. Neither will Quick find, seach IMAGE show! I need some help with this! " Clothes make the man. Naked people have little or no influence on society " - Mark Twain Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 Do you have a URL for your site we can peek at? And could you post your /includes/configure.php file WITHOUT the passwords ... :D Link to comment Share on other sites More sharing options...
farilion Posted March 26, 2003 Author Share Posted March 26, 2003 The page is on my private webserver, on a secondary computer which is not connected to the internet. But, the things i cant get to show.. is #1, Quick Find - supposed to be a magnifying glass and in cart which is same kind of picture.. they arent pathed to any image directory #2, The images that are located in languages/english/images.... ( dont know where to set this path ) #3, When i add products, and add a picture in IMAGES and i direct that product to my picture.. it wont show ! Thanks for help, Stefan Wallin " Clothes make the man. Naked people have little or no influence on society " - Mark Twain Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 Most likely the problem is the /includes/configure.php file. Try changing the definition using $DOCUMENT_ROOT to use the real path instead. Link to comment Share on other sites More sharing options...
farilion Posted March 26, 2003 Author Share Posted March 26, 2003 I have already set it to the real root. I change the image path in cataloge/includes/configure.php to my root and then all the images started working, the regular images.. such as the products already in the shop when downloaded.. and the table corner pictures and those card/account/checkout . BUT the review/in cart/update cart/continue shopping/adressbook etc etc does not show, those are shown with a red X as a broken image. Also in ADMIN, all the pics at index.php show, but when i chose a specific area to administrade such as.. my shop or whichever of them the Edit/new product/delete etc etc, will not who! So, its basicly the exact same problem in ADMIN as in SHOP Thanks for help, Stefan Wallin :D " Clothes make the man. Naked people have little or no influence on society " - Mark Twain Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 You should not have to change the image path if the other definitions are correct. Without seeing your configure.php file I cannot tell you what setting is really wrong in it. But, if it appears to be working for you then who is to argue? Link to comment Share on other sites More sharing options...
farilion Posted March 26, 2003 Author Share Posted March 26, 2003 This is the CATALOG config file: <?php /* $Id: configure.php,v 1.13 2003/02/10 22:30:51 hpdl Exp $ 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://stefan2'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://stefan2'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'C:/Inetpub/wwwroot/catalog/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'c:/inetpub/wwwroot/catalog/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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT','c:/inetpub/wwwroot/catalog/'); // 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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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 empty for productive servers define('DB_SERVER_USERNAME', 'localhost'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'databas'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> This is the ADMIN config gile: <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://stefan2/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://stefan2/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/'); // 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', 'C:/inetpub/wwwroot/catalog/admin/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '/admin/includes/languages/english/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 . 'admin/includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'admin/includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . '/admin/includes/languages/english/images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'localhost'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'databas'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> This is how its located in my webserver c:/inetpub/wwwroot/catalog/admin Thanks a load, Stefan! :) " Clothes make the man. Naked people have little or no influence on society " - Mark Twain Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.