omps Posted June 26, 2003 Posted June 26, 2003 now i realise that i have posted the same subject severl times over the last few weeks but ive not had back anything that helped so i thought that this time i would post my configure files from the shop/inc and admin/inc to see if anyone here can tell me if there is anything wrong with them...please. admin // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.omps.co.uk'); // eg, http://localhost or - https://localhost should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.omps.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://www.omps.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/ompsco/public_html'); // where the pages are located on the server define('DIR_WS_ADMIN', '/shop/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/ompsco/public_html/shop/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/shop/'); // absolute path required define('DIR_FS_CATALOG', '/home/ompsco/public_html/shop/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_SHOP . '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/'); shop // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.omps.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.omps.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/shop/'); // absolute path required 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', DIR_WS_SHOP . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/ompsco/public_html'); define('DIR_FS_CATALOG', '/home/ompsco/public_html/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_SHOP . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_SHOP . 'pub/'); can someone please help me in the quest for getting my images to show up in my admin area including the catagories images infact all the images in the admin area. kind regards to all that may help me..... live long and prosper
Wizzud Posted June 26, 2003 Posted June 26, 2003 I can only see one potential problem with your configs and that is that the last 2 displayed lines in your shop configure.php use DIR_FS_SHOP, which I can't see as being defined anywhere. However, that would have no effect on images not being displayd in admin. Not having seen previous posts, what images are you missing? All images, including buttons and the Support Site/Online Catalog/Administration pictures, as well as uploaded category and product images? Or just the category/products images? Have you tried setting permission on the images directory (and sub-directories?) to 777 (read/write/execute for everyone)? Regards, Wizzud "It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."
omps Posted June 26, 2003 Author Posted June 26, 2003 yes its the product images which are not showing up as well and the catagory images - this problem is only in the admin area for some reason because all the images show up in the main shop/catalog and the permissions are set to 777 live long and prosper
wolter Posted July 23, 2003 Posted July 23, 2003 Same problem here, I?m looking forward to the reply. What I noticed on in example configuration.php (not configure.php!!!) was that my images are being sourced from a FS path, i.e. /usr/local/../ etc.). That can?t be right can it? My admin configure.php file looks like this: <?php /* $Id: configure.php,v 1.13 2002/07/20 09:08:31 project3000 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://www.naturalvision.nl'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_SHOP_SERVER', 'http://www.naturalvision.nl'); define('HTTPS_SHOP_SERVER', 'https://www.naturalvision.nl'); define('ENABLE_SSL_SHOP', true); // secure webserver for shop module define('DIR_FS_DOCUMENT_ROOT', '/usr/local/slash/apache/vhosts/naturalvision.nl/httpdocs'); // 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', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_SHOP', '/shop/'); define('DIR_FS_SHOP', DIR_FS_DOCUMENT_ROOT . DIR_WS_SHOP); define('DIR_WS_IMAGES', DIR_WS_ADMIN . 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_SHOP_IMAGES', DIR_WS_SHOP . 'images/'); define('DIR_WS_INCLUDES', DIR_FS_DOCUMENT_ROOT . '/admin/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_SHOP_LANGUAGES', DIR_WS_SHOP . 'includes/languages/'); define('DIR_FS_SHOP_LANGUAGES', DIR_FS_SHOP . 'includes/languages/'); define('DIR_FS_SHOP_IMAGES', DIR_FS_SHOP . 'images/'); define('DIR_FS_SHOP_MODULES', DIR_FS_SHOP . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backup/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'victor'); define('DB_SERVER_PASSWORD', 'huwae'); define('DB_DATABASE', 'shop'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> HELP IS APPRECIATED VERY VERY MUCHO
Recommended Posts
Archived
This topic is now archived and is closed to further replies.