osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Help, My SSL is not working anymore.

This is a discussion on Help, My SSL is not working anymore. within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I never had this problem during development of the website but when I put the server live, i cant ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-26-2005, 06:48 PM
New Member
 
Join Date: Mar 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
loba
Default Help, My SSL is not working anymore.

Hi,
I never had this problem during development of the website but when I put the server live, i cant seem to login anymore. Even if i manage to log in. I cant buy as i will get redirected back to the login page whenever the address URL changes from https://etc to http://etc.

The link to my site is http://www.yourgifts.com.sg/ygtest/

My Config is as follows:

main_page.tpl.php

<base href="<?php echo (($request_type == 'HTTPS') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

configure.php

define('HTTP_SERVER', 'http://www.yourgifts.com.sg'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.yourgifts.com.sg'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'yourgifts.com.sg');
define('HTTPS_COOKIE_DOMAIN', 'yourgifts.com.sg');
define('HTTP_COOKIE_PATH', '/ygtest/');
define('HTTPS_COOKIE_PATH', '/ygtest/');
define('DIR_WS_HTTP_CATALOG', '/ygtest/');
define('DIR_WS_HTTPS_CATALOG', '/ygtest/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_IMAGES_PRODUCTS', 'images/products/');
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_IMAGES_OCCASIONS',DIR_WS_IMAGES . 'occasions/');
define('DIR_WS_IMAGES_CATEGORIES',DIR_WS_IMAGES . 'categories/');
define('DIR_WS_IMAGES_CARD_BACKGROUND',DIR_WS_IMAG ES . 'card_background/');

Admin configuration
Session Directory /tmp
Force Cookie Use True
Check SSL Session ID True
Check User Agent True
Check IP Address True
Prevent Spider Sessions True
Recreate Session False

From what i know, I didnt do anything to the login page and when it was during development, everything was working fine.

can someone help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-26-2005, 06:50 PM
New Member
 
Join Date: Mar 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
loba
Default

Also, as a note, my apache httpd.conf file doesn't seem to have anything to indicate which directory is ssl and which is not.

If theres a need to do something to the apache, can someone tell me how?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-27-2005, 03:43 AM
New Member
 
Join Date: Mar 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
loba
Default

hmm i reinstalled an original copy of oscmax and generated new keys and it worked!!

changed the admin config to as follows -->

Admin configuration
Session Directory /tmp
Force Cookie Use False
Check SSL Session ID False
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session False

By the way,

I noticed that my base href code is

<base href="<?php echo (($request_type == 'HTTPS') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

do i keep it as above or do i change it back to

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
Working site is not working now! swatkins osCMax v2 Installation issues 20 12-25-2006 05:51 PM
Email notifications not received anymore ozstar osCMax v2 Installation issues 1 10-13-2006 05:16 AM
Cannot get TAX (VAT) working Spike_UK osCMax v1.7 Discussion 1 12-23-2003 06:47 AM
trying to get pwa working on 1.5 - its critical jloyzaga osCMax v1.7 Discussion 6 09-30-2003 07:23 PM
tax not working menakamk osCommerce 2.2 Modification Help 0 01-01-2003 12:59 PM


All times are GMT -8. The time now is 01:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax