TomatoCart

68686 Downloads
383 users online
TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?
Bookmark and Share

ssl configuration
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: ssl configuration
#4596
ssl configuration 1 Year, 7 Months ago Karma: 0
in v1.1 how can i enable using ssl at the front end and is it possible to enforce it on admin too? it's essential,i have an ssl installed on my host and i want to use it to secure order placings and checkouts and also customers registration............................any suggestion??
gmoussa73
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4604
Re:ssl configuration 1 Year, 7 Months ago Karma: 0
when doing the following:

Step 2: Update the Configuration file

After the SSL certificate is installed, the “configure.php” file has to be updated to enable SSL. The code shown below is the configuration options in the “configure.php” file. The ‘ENABLE_SSL’ constant must be set to true and in the “HTTPS_SERVER” the “https” protocol must be used.

<?php

define('HTTP_SERVER', 'www.thewebsite.com');

define('HTTPS_SERVER', 'www.thewebsite.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.thewebsite.com');

define('HTTPS_COOKIE_DOMAIN', 'www.thewebsite.com');

?>

the admin does not load at all and the front end does not open under ssl ....its still without secured connect....any ideas???????
gmoussa73
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7701
Re:ssl configuration 1 Year, 4 Months ago Karma: 0
None of this advice for the ssl works, i did everything posssible and it's still not working.
Gmatko
Junior Boarder
Posts: 29
graphgraph
User Offline Click here to see the profile of this user
Gender: Male trendshop.com.au Trendshop gmatko@hotmail.com Location: Sydney, Australia Birthday: 07/05
Kind Regards
The administrator has disabled public write access.
 
#7705
Re:ssl configuration 1 Year, 4 Months ago Karma: 4
Hi there!

Please follow up the following steps for SSL implementation on your shop:

Step 1: Edit your configure.php file as:
Code:


define('HTTP_SERVER', 'http://www.yourdomainname.com');
define('HTTPS_SERVER', 'https://www.yourdomainname.com');
define('ENABLE_SSL', 'true');



Step 2: In this step, you need to make sure that SSL is active in /includes/application_top.php file and it contains the following line somewhere line 45- 46.
Code:


// set the type of request (secure or not)
  $request_type = (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'SSL' : 'NONSSL';



If the settings as defined above is correct at your end and still SSL is not active then try the following:

Step 3: Replace Step 2 code with the following code after taking the backup of your original file:

Code:

// set the type of request (secure or not)
  $request_type = (isset(getenv('SERVER_PORT') == '443')) ? 'SSL' : 'NONSSL';



Let me know if it works!
newkid
Expert Boarder
Posts: 90
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Memphis, TN Birthday: 01/23
Last Edit: 2010/12/20 15:14 By newkid.
Hope, it helps!
NewKid
The administrator has disabled public write access.
 
#7706
Re:ssl configuration 1 Year, 4 Months ago Karma: 0
Fatal error: Can't use function return value in write context in W:\vhosts\trendshop.com.au\httpdocs\includes\application_top.php on line 46
Gmatko
Junior Boarder
Posts: 29
graphgraph
User Offline Click here to see the profile of this user
Gender: Male trendshop.com.au Trendshop gmatko@hotmail.com Location: Sydney, Australia Birthday: 07/05
Kind Regards
The administrator has disabled public write access.
 
#7707
Re:ssl configuration 1 Year, 4 Months ago Karma: 0
configure.php code


<?php
define('HTTP_SERVER', 'www.trendshop.com.au');
define('HTTPS_SERVER', 'www.trendshop.com.au');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.trendshop.com.au');
define('HTTPS_COOKIE_DOMAIN', 'www.trendshop.com.au');
Gmatko
Junior Boarder
Posts: 29
graphgraph
User Offline Click here to see the profile of this user
Gender: Male trendshop.com.au Trendshop gmatko@hotmail.com Location: Sydney, Australia Birthday: 07/05
Last Edit: 2010/12/20 15:33 By Gmatko.
Kind Regards
The administrator has disabled public write access.
 
Go to top Page: 1234
Moderators: Elora, infinityl, Bucharest

Latest Blog Post

How to install the Authorizenet AIM payment module

Authorize.Net enables merchants to authorize, settle and manage credit card and electronic check transactions via Web sites, retail stores, mail ...

Blog | jack.yin(weijian) | Wednesday, 2 May 2012

More in: About Us

-
+
3

contact_us

info@tomatocart.com
partner@tomatocart.com
support@tomatocart.com
Gtalk: jack.yin@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription