Aye Poppin Posted May 24, 2008 Posted May 24, 2008 Not sure how I did it but how do I change it back-lol I know thats kinda general but I added my SSL and now I can't upload product images.
ken0306 Posted May 24, 2008 Posted May 24, 2008 Not sure how I did it but how do I change it back-lol I know thats kinda general but I added my SSL and now I can't upload product images. check on your includes/configure.php
Aye Poppin Posted May 25, 2008 Author Posted May 25, 2008 This is what it looks like. define('HTTP_SERVER', 'http://www.ayepoppintees.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://dlphost-secure.net/ayepoppintees/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'ayepoppintees.com'); define('HTTPS_COOKIE_DOMAIN', 'dlp-secure.net/ayepoppintees'); 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('TITLE', 'AyePoppinTees'); I've changed things here and there. I either lose the site or my admin section-needless to say I'm confused.Maybe I should change the top line and leave it blank?
steve_s Posted May 26, 2008 Posted May 26, 2008 define('HTTP_SERVER', 'http://www.ayepoppintees.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://dlphost-secure.net/ayepoppintees'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'ayepoppintees.com'); define('HTTPS_COOKIE_DOMAIN', 'dlphost-secure.net/ayepoppintees'); 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('TITLE', 'AyePoppinTees'); i assumed its in your root folder so i used / in the bold areas
Aye Poppin Posted May 28, 2008 Author Posted May 28, 2008 If I put say admin or catalog in those spots it really wigs it out.
Aye Poppin Posted May 28, 2008 Author Posted May 28, 2008 What file is it that tells an image you upload where to go?
Aye Poppin Posted May 28, 2008 Author Posted May 28, 2008 Found it! define('DIR_FS_CATALOG', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/'); I had catalog after httpdocs. Big mistake!
Andrea_ Posted May 29, 2008 Posted May 29, 2008 Found it! define('DIR_FS_CATALOG', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/'); I had catalog after httpdocs. Big mistake! Curious, my uploaded(category & prod) images keep going to Catalog/Admin/Images/ , despite my below lines: define('DIR_FS_CATALOG', '/home/domain/public_html/'); // absolute path req define('DIR_FS_CATALOG_IMAGES', 'images/'); Any suggestions how I can correct this, to get them to upload directlly to the '/images/' folder?
Andrea_ Posted May 29, 2008 Posted May 29, 2008 [quote name='Aye Poppin' date='May 27 2008, 09:54 PM' post='1254499
arietis Posted May 30, 2008 Posted May 30, 2008 define('DIR_FS_CATALOG', '/home/domain/public_html/'); // absolute path req there are two copies of the configure.php file. one in catalog/includes/ and another in catalog/admin/includes. the one in admin is used by the admin code when uploading the product images. make sure these both point to the same place.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.