osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

again a SSL problem

This is a discussion on again a SSL problem within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Well, I installed osCMax in the http directory. I enabled SSL support using the shared certificate of my server provider. ...


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
Reply

 

LinkBack Thread Tools
  #1  
Old 02-04-2008, 04:04 AM
New Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
marcal is on a distinguished road
Default again a SSL problem

  1. Well, I installed osCMax in the http directory.
  2. I enabled SSL support using the shared certificate of my server provider.
  3. I setted up the configure.php files
Then I tried it out:

Main page= OK
Create an account= redirection to the https directory using the shared SSL
I can see the text but no the images (bacground, etc...)

Then, I'm advised to move the php files to the https directory, but WHICH FILES?


I contacted my server provider support... they suggest to install the whole package in the https directory. Well, I did it and it DOES NOT work, because there are both secure and non-secure pages to be displayed...

So: is there any kind of "installation manual for dummies"?. I'm not an expert, but I'm doing my very best. I've never read the "copy the php files to the https directory" anywhere... and still, I'm supposed to know it?

any help would be much appreciated.

Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-04-2008, 06:48 AM
New Member
 
Join Date: May 2004
Location: Meath, Ireland
Posts: 22
Thanks: 3
Thanked 3 Times in 3 Posts
Rep Power: 0
khennessy
Default Re: again a SSL problem

did you edit both your

catalog/includes/configure.php

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.yourserver.com'); // eg, cPanelŽ - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.yourserver.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.yourserver.com');
define('HTTPS_COOKIE_DOMAIN', 'www.yourserver.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_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/');



and

catalog/admin/includes/configure.php



// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'https://www.yourserver.com'); // eg, cPanelŽ - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'https://www.yourserver.com');
define('HTTPS_CATALOG_SERVER', 'https://www.yourserver.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-04-2008, 07:13 AM
New Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
marcal is on a distinguished road
Default Re: again a SSL problem

I sure did.

My head is about to explode !

no luck so far!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-04-2008, 07:58 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,247
Thanks: 66
Thanked 294 Times in 280 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: again a SSL problem

Do you have hotlink protection on in your hosting account control panel? If so, you need to allow the ssl domain access if it a shared certificate.
__________________
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!
Reply With Quote
  #5  
Old 02-04-2008, 08:07 AM
New Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
marcal is on a distinguished road
Default Re: again a SSL problem

Quote:
Originally Posted by michael_s View Post
Do you have hotlink protection on in your hosting account control panel? If so, you need to allow the ssl domain access if it a shared certificate.
I'm waiting for the answer of my provider. I hope it is just that easy.

What about the php files?. Should I have a copy of the whole package in the https directory? I've read osCommerce was designed in order to work without the need to do that, but it seems it doesn't work...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 02-04-2008, 08:24 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,247
Thanks: 66
Thanked 294 Times in 280 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: again a SSL problem

Quote:
Originally Posted by marcal View Post
What about the php files?. Should I have a copy of the whole package in the https directory? I've read osCommerce was designed in order to work without the need to do that, but it seems it doesn't work...
That has nothing to do with osCMax. If your host has not aliased the ssl directories to be the same as the non ssl directories, you will have to keep a separate set of your files and images in the ssl directories.

Your host will be better able to tell you where to locate your files.
__________________
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!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
marcal (02-04-2008)
  #7  
Old 02-04-2008, 08:30 AM
New Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
marcal is on a distinguished road
Default Re: again a SSL problem

Quote:
Originally Posted by michael_s View Post
That has nothing to do with osCMax. If your host has not aliased the ssl directories to be the same as the non ssl directories, you will have to keep a separate set of your files and images in the ssl directories.

Your host will be better able to tell you where to locate your files.

Finally a clear answer !!!!

Thanks you VERY VERY MUCH !!!


(still working on the pictures, though)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 02-04-2008, 09:36 AM
New Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
marcal is on a distinguished road
Default Re: again a SSL problem

Quote:
Originally Posted by michael_s View Post

Your host will be better able to tell you where to locate your files.
regarding those files... do I need to copy them all of only some of them. In tha case, which ones?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 02-04-2008, 01:40 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,247
Thanks: 66
Thanked 294 Times in 280 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: again a SSL problem

It is easiest just to copy them all
__________________
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!
Reply With Quote
  #10  
Old 02-04-2008, 02:14 PM
New Member
 
Join Date: Jan 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
marcal is on a distinguished road
Default Re: again a SSL problem

Quote:
Originally Posted by michael_s View Post
It is easiest just to copy them all

Yeah, I did it and now it works. But I'm thinking when it comes to customize the package... then it must be done twice (or copied twice for that matter) and I'm very good at forgetting things.

Thanks a lot !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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
SSL problem altenter osCMax v2 Installation issues 1 05-20-2007 12:47 AM
Secure SSL problem yulises osCMax v2 Customization/Mods 1 03-15-2007 06:53 AM
Problem with SSL Certificate KnowGangsStore osCMax v1.7 Discussion 2 06-07-2005 01:11 PM
SSL Problem mrshlomi osCMax v1.7 Discussion 4 03-16-2004 03:22 PM
I FIXED MY SSL PROBLEM!!! cxm322 osCommerce 2.2 Modification Help 1 05-23-2003 12:18 PM


All times are GMT -8. The time now is 09:54 PM.


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