osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Images not showing in SSL, what do I have wrong?

This is a discussion on Images not showing in SSL, what do I have wrong? within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; We recently switched servers, SSL is working properly, but images in ssl arent working. Here is the configure.php file ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-14-2007, 07:35 AM
Active Member
 
Join Date: May 2003
Posts: 137
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
countingsheep
Default Images not showing in SSL, what do I have wrong?

We recently switched servers, SSL is working properly, but images in ssl arent working.
Here is the configure.php file

define('HTTP_SERVER', 'http://plumpurdy.com/'); // eg, cPanelŽ - should not be empty for productive servers
define('HTTPS_SERVER', 'https://black.countingsheepwebdesigns.com/~plumrm/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_plumpurdy.com', 'plumpurdy.com');
define('HTTPS_COOKIE_plumpurdy.com', 'black.countingsheepwebdesigns.com/~plumrm/');
define('HTTP_COOKIE_PATH', 'shop/');
define('HTTPS_COOKIE_PATH', 'shop/');
define('DIR_WS_HTTP_CATALOG', 'shop/');
define('DIR_WS_HTTPS_CATALOG', 'shop/');
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/plumrm/public_html/shop/');
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', 'XXXXX');
define('DB_SERVER_PASSWORD', 'XXXXX');
define('DB_DATABASE', 'plumrm_purdy');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-14-2007, 07:59 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Images not showing in SSL, what do I have wrong?

This is wrong:

PHP Code:
   define('HTTPS_COOKIE_plumpurdy.com''black.countingsheepwebdesigns.com/~plumrm/'); 
It should be

PHP Code:
define('HTTPS_COOKIE_DOMAIN''.countingsheepwebdesigns.com'); 
Also this is incorrect:
PHP Code:
define('HTTP_COOKIE_plumpurdy.com''plumpurdy.com'); 
and should be:
PHP Code:
   define('HTTP_COOKIE_DOMAIN''.plumpurdy.com'); 
You cannot just change the name of the constants without recoding them throughout the entire application.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-14-2007, 08:48 AM
Active Member
 
Join Date: May 2003
Posts: 137
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
countingsheep
Default Re: Images not showing in SSL, what do I have wrong?

Thank you but that didnt work either. Heres my new code:
define('HTTP_SERVER', 'http://plumpurdy.com/'); // eg, cPanelŽ - should not be empty for productive servers
define('HTTPS_SERVER', 'https://black.countingsheepwebdesigns.com/~plumrm/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '.plumpurdy.com');
define('HTTPS_COOKIE_DOMAIN', '.countingsheepwebdesigns.com');
define('HTTP_COOKIE_PATH', 'shop/');
define('HTTPS_COOKIE_PATH', 'shop/');
define('DIR_WS_HTTP_CATALOG', 'shop/');
define('DIR_WS_HTTPS_CATALOG', 'shop/');
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/plumrm/public_html/shop/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-14-2007, 09:01 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Images not showing in SSL, what do I have wrong?

Do you have hotlink protection on by any chance? If so, you need to allow your secure domain to display your images.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-14-2007, 09:06 AM
Active Member
 
Join Date: May 2003
Posts: 137
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
countingsheep
Default Re: Images not showing in SSL, what do I have wrong?

Thank you again! that fixed it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 03-14-2007, 09:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Images not showing in SSL, what do I have wrong?

Quote:
Originally Posted by countingsheep View Post
Thank you but that didnt work either. Heres my new code:
define('HTTP_SERVER', 'http://plumpurdy.com/'); // eg, cPanelŽ - should not be empty for productive servers
define('HTTPS_SERVER', 'https://black.countingsheepwebdesigns.com/~plumrm/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_PATH', 'shop/');
define('HTTPS_COOKIE_PATH', 'shop/');
define('DIR_WS_HTTP_CATALOG', 'shop/');
define('DIR_WS_HTTPS_CATALOG', 'shop/');
You may also want to try changing the above to the following, as some servers choke on a trailing slash in the HTTP_SERVER and HTTPS_SERVER constants:

PHP Code:
  define('HTTP_SERVER''http://plumpurdy.com'); // eg, cPanelŽ - should not be empty for productive servers
  
define('HTTPS_SERVER''https://black.countingsheepwebdesigns.com/~plumrm'); // eg, https://localhost - should not be empty for productive servers
  
define('ENABLE_SSL'true); // secure webserver for checkout procedure?
 
  
define('HTTP_COOKIE_PATH''/shop/');
  
define('HTTPS_COOKIE_PATH''/shop/');
  
define('DIR_WS_HTTP_CATALOG''/shop/');
  
define('DIR_WS_HTTPS_CATALOG''/shop/'); 
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 03-14-2007, 09:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Images not showing in SSL, what do I have wrong?

Darned hotlink protection... causes more headaches! Glad you got it sorted out.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Something went wrong deleting Header Images Studio143 osCMax v1.7 Discussion 4 12-26-2004 03:33 PM
Path to images wrong after install cwinter osCommerce 2.2 Installation Help 2 12-14-2004 06:37 AM
Download button not showing - Expiry date WRONG! In-Overtime osCMax v1.7 General Mods Discussion 0 03-11-2004 10:32 PM
Product add but no image showing and HTML path wrong rd42 osCommerce 2.2 Installation Help 8 06-12-2003 11:55 AM
Some Images not showing up...odd! miko osCommerce 2.2 Installation Help 1 01-24-2003 12:36 PM


All times are GMT -8. The time now is 10:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax