phleadom Posted August 16, 2006 Share Posted August 16, 2006 When I create a new product, the images are not going to the correct location directory, I have to ftp them into the /catalog/images folder. I know I have made a change to a config file somewhere but I cant trace it.. Please assist guys Thanks.. Phlea :blush: :blush: Link to comment Share on other sites More sharing options...
Guest Posted August 16, 2006 Share Posted August 16, 2006 I think your problem would be in admin/includes/configure.php look for this line: define('DIR_WS_IMAGES', 'images/'); Or something similar dependent on what the name of your image directory is. Im no expert but i messed up my configure.php file and had to go back through and rewrite everything. Link to comment Share on other sites More sharing options...
phleadom Posted August 16, 2006 Author Share Posted August 16, 2006 I think your problem would be in admin/includes/configure.php look for this line: define('DIR_WS_IMAGES', 'images/'); Or something similar dependent on what the name of your image directory is. Im no expert but i messed up my configure.php file and had to go back through and rewrite everything. thanks dude.. :thumbsup: Link to comment Share on other sites More sharing options...
phleadom Posted August 16, 2006 Author Share Posted August 16, 2006 thanks dude.. :thumbsup: No thats not it, all the images display 100%, its just the upload when creating a product or adding an image to a new catagory, it goes to the wrong place, there must be another change needed... Im stuck :'( :'( Link to comment Share on other sites More sharing options...
Guest Posted August 16, 2006 Share Posted August 16, 2006 hmmm... not sure then, sorry, but i tried! unfortunately, getting trying to get help on here is generally a pointless exercise. I must have posted 5 or 6 different topics since i first started to use OScommerce, n dont think ive ever had a reply! Shame, because OScommerce is great, just a pity no one is ever willing to help you out! Link to comment Share on other sites More sharing options...
jhsands Posted August 16, 2006 Share Posted August 16, 2006 WHAT directory is it going to when uploaded? BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
phleadom Posted August 16, 2006 Author Share Posted August 16, 2006 WHAT directory is it going to when uploaded? catalogimages its like there is a forward slash missing somewhere, I just want to know where this line is that I can edit it and get my admin control Back again. :blink: Link to comment Share on other sites More sharing options...
jhsands Posted August 16, 2006 Share Posted August 16, 2006 Post your /includes/configure.php and admin/includes/configure.php using the [ code ] function. BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
phleadom Posted August 16, 2006 Author Share Posted August 16, 2006 includes/ [/<?php define('HTTP_SERVER', 'http://retrofit.co.za'); define('HTTPS_SERVER', 'https://retrofit.co.za'); define('ENABLE_SSL', false); define('DIR_WS_CATALOG', '/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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/usr/www/users/retrofx/'); define('DIR_FS_CATALOG', '/usr/www/users/retrofx/catalog'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'sql3b.your-server.co.za'); define('DB_SERVER_USERNAME', '************'); define('DB_SERVER_PASSWORD','*********'); define('DB_DATABASE', 'retrofx_oscommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?>] Link to comment Share on other sites More sharing options...
phleadom Posted August 16, 2006 Author Share Posted August 16, 2006 admin/includes <?phpdefine('HTTP_SERVER', 'http://retrofit.co.za');define('HTTP_CATALOG_SERVER', 'http://retrofit.co.za');define('HTTPS_CATALOG_SERVER', 'https://retrofit.co.za');define('ENABLE_SSL_CATALOG', 'false');define('DIR_FS_DOCUMENT_ROOT', '/usr/www/users/retrofx/');define('DIR_WS_ADMIN', '/catalog/admin/');define('DIR_FS_ADMIN', '/usr/www/users/retrofx/catalog/admin/');define('DIR_WS_CATALOG', '/catalog/');define('DIR_FS_CATALOG', '/usr/www/users/retrofx/catalog');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/');define('DB_SERVER', 'sql3b.your-server.co.za');define('DB_SERVER_USERNAME', '************');define('DB_SERVER_PASSWORD', '*********');define('DB_DATABASE', 'retrofx_oscommerce');define('USE_PCONNECT', 'false');define('STORE_SESSIONS', '');?> Link to comment Share on other sites More sharing options...
jhsands Posted August 16, 2006 Share Posted August 16, 2006 Change this line in admin/includes define('DIR_FS_CATALOG', '/usr/www/users/retrofx/catalog'); to this define('DIR_FS_CATALOG', '/usr/www/users/retrofx/catalog/'); For the full edit... check this out. + is lines I have and you don't - is lines you have and I don't = are lines I changed. /includes/ <?php define('HTTP_SERVER', 'http://retrofit.co.za'); define('HTTPS_SERVER', 'https://retrofit.co.za'); define('ENABLE_SSL', false); + define('HTTP_COOKIE_DOMAIN', 'retrofit.co.za'); + define('HTTPS_COOKIE_DOMAIN', 'retrofit.co.za'); + define('HTTP_COOKIE_PATH', '/catalog/'); + define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_CATALOG', '/catalog/'); + define('DIR_WS_HTTPS_CATALOG', '/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', DIR_WS_CATALOG . 'pub/'); - define('DIR_FS_DOCUMENT_ROOT', '/usr/www/users/retrofx/'); define('DIR_FS_CATALOG', '/usr/www/users/retrofx/catalog'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'sql3b.your-server.co.za'); define('DB_SERVER_USERNAME', '************'); define('DB_SERVER_PASSWORD','*********'); define('DB_DATABASE', 'retrofx_oscommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> admin/includes <?php define('HTTP_SERVER', 'http://retrofit.co.za'); define('HTTP_CATALOG_SERVER', 'http://retrofit.co.za'); define('HTTPS_CATALOG_SERVER', 'https://retrofit.co.za'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/usr/www/users/retrofx/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/usr/www/users/retrofx/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); = define('DIR_FS_CATALOG', '/usr/www/users/retrofx/catalog/'); 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/'); define('DB_SERVER', 'sql3b.your-server.co.za'); define('DB_SERVER_USERNAME', '************'); define('DB_SERVER_PASSWORD', '*********'); define('DB_DATABASE', 'retrofx_oscommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
phleadom Posted August 16, 2006 Author Share Posted August 16, 2006 :thumbsup: :thumbsup: Thank you for all your help, It is working like a charm now...... Thanks alot. B) Link to comment Share on other sites More sharing options...
wondernet Posted February 19, 2008 Share Posted February 19, 2008 I'm also getting the same issue with the images not showing in the admin sections, but everything fine in the main public arena. for some reason, when the system was set up, the define('DIR_WS_CATALOG', '/catalog/'); was written as just define('DIR_WS_CATALOG', '/catalog'); , without the trailing slash. Little bugger!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.