Jump to content

Enabled SSL


Aviationguy

Recommended Posts

I think you must be using a shared certificate. The cert belongs to: pearl.host-care.com.

I have not made the experiment to configure CubeCart to work in a shared cert environment, so someone else may need to provide some assistance. (Maybe there is a knowledgebase article about this.)

But if CubeCart is sending the browser a redirect to go to https://, then try this:

Create a file named whatever you want, such as: cc6_ssl_off.php

The contents:
<?php
/*
+------------------------
| cc5_fix_ssl.php
| =======================
| Switch Off SSL Tool
| Clear Cookie Domain Tool
+------------------------
*/
define('CC_DS', DIRECTORY_SEPARATOR);
define('CC_ROOT_DIR', realpath(dirname(__FILE__)));
require(CC_ROOT_DIR.CC_DS.'includes/global.inc.php');
require(CC_ROOT_DIR.CC_DS.'classes'.CC_DS.'db'.CC_DS.'mysql.class.php'); // Note:
// If a database problem, try 'mysqli.class.php'
require(CC_ROOT_DIR.CC_DS.'classes'.CC_DS.'config.class.php');
require(CC_ROOT_DIR.CC_DS.'classes'.CC_DS.'cache'.CC_DS.'file.class.php');
// Initialise Database class, and fetch configuration
$GLOBALS['db'] = Database::getInstance($glob);
// Initialise Config class
$GLOBALS['config'] = Config::getInstance(array());
//We will not need this anymore
unset($glob);

// Place the "Save My Ass" statements here
$GLOBALS['config']->set('config','ssl',0,true);
$GLOBALS['config']->set('config','cookie_domain','',true);
?>

FTP the file to the main folder of your store,
then request the file in the browser.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...