pirosaint Posted October 29, 2006 Posted October 29, 2006 Hi i have this problem... i have this ssl certificate from godaddy... after we did the renewal thing... i have the same problem as before.... i got the lock bot not images... i mean using IE when you hit the login page.. the popup window comes up.. secure and unsecure itmes on this page .. pic so if you click "yes", no problem the site is there.. but not the lock.. pic or if you click "no", problems ! no images at all.. and the lock is there.... pic click here: https://www.lightguy.com/login.php this is my catalog "configure.php" file define('HTTP_SERVER', 'http://www.lightguy.com'); define('HTTPS_SERVER', 'https://www.lightguy.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.lightguy.com'); define('HTTPS_COOKIE_DOMAIN', 'www.lightguy.com'); 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('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/content/L/i/g/Lightguy2/html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); and my admin "configure.php" file define('HTTP_SERVER', 'http://www.lightguy.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.lightguy.com'); define('HTTPS_CATALOG_SERVER', 'https://www.lightguy.com'); define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/content/L/i/g/Lightguy2/html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/mef/'); // absolute path required define('DIR_FS_ADMIN', '/home/content/L/i/g/Lightguy2/html/mef/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/content/L/i/g/Lightguy2/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 don't know what would be the problem after all day reading the posts and checking the files... i had a similar problem before.. but it was with some images been called from outside of the script.. so now that is not the problem.. i think i check it already... any comment or suggetion would be highly appreciate it thanks very much in advanse to all of you nch
jpweber Posted October 30, 2006 Posted October 30, 2006 Although you can change a couple things in your configs, I don't think that's where the issue lies. In includes/configure.php, you could change: define('HTTP_COOKIE_DOMAIN', 'www.lightguy.com'); define('HTTPS_COOKIE_DOMAIN', 'www.lightguy.com'); to define('HTTP_COOKIE_DOMAIN', '.lightguy.com'); define('HTTPS_COOKIE_DOMAIN', '.lightguy.com'); And in admin/includes/configure.php, you SHOULD change: define('HTTP_SERVER', 'http://www.lightguy.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.lightguy.com'); define('HTTPS_CATALOG_SERVER', 'https://www.lightguy.com'); to define('HTTP_SERVER', 'httpS://www.lightguy.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'httpS://www.lightguy.com'); define('HTTPS_CATALOG_SERVER', 'https://www.lightguy.com'); But regardless, one of your images or links or something has http:// in it on your login page. That's the reason for your error message in FF and IE. Change the link to https:// and the error will disappear. Good luck. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
pirosaint Posted October 30, 2006 Author Posted October 30, 2006 Hi I made all the suggested changes on the configures files for both catalog and admin.. but nothing.. then I check all the images.. but all of them are been calling from within the script..(from ../images/) and the two links that I use are .. oscommerce and the other one is mine.. and I use the same estructure as the oscommerce link .. that it came with the script on the footer.php. .. so no luck ... but I realize that when the script is in SSl mode.. NOT SEE THE IMAGES folder at all.. I tryied to view an image (right botton = view image)... and it didn't show.. like the folder it wasn't there.... so.. that's all for now. thanks very much for your comments nch Although you can change a couple things in your configs, I don't think that's where the issue lies. In includes/configure.php, you could change: define('HTTP_COOKIE_DOMAIN', 'www.lightguy.com'); define('HTTPS_COOKIE_DOMAIN', 'www.lightguy.com'); to define('HTTP_COOKIE_DOMAIN', '.lightguy.com'); define('HTTPS_COOKIE_DOMAIN', '.lightguy.com'); And in admin/includes/configure.php, you SHOULD change: define('HTTP_SERVER', 'http://www.lightguy.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.lightguy.com'); define('HTTPS_CATALOG_SERVER', 'https://www.lightguy.com'); to define('HTTP_SERVER', 'httpS://www.lightguy.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'httpS://www.lightguy.com'); define('HTTPS_CATALOG_SERVER', 'https://www.lightguy.com'); But regardless, one of your images or links or something has http:// in it on your login page. That's the reason for your error message in FF and IE. Change the link to https:// and the error will disappear. Good luck.
jpweber Posted October 30, 2006 Posted October 30, 2006 Yes, but I'm telling you ... in your includes/header.php, or your includes/application_top.php, or every one of your pages like /login.php, or /create_account.php .... there is a link in there with http:// .... For instance, I have this on my front page: <EMBED src="thevisiondepot.swf" width=400 height=208 align=middle swLiveConnect=true pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" LOOP=FALSE bgcolor=#808080 name="thevisiondepot"> </EMBED> I had to switch it to this: <EMBED src="thevisiondepot.swf" width=400 height=208 align=middle swLiveConnect=true pluginspage="httpS://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" LOOP=FALSE bgcolor=#808080 name="thevisiondepot"> </EMBED> See how I had to put the S after http? You have to do the same for any external links (if you can't link them internally. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.