Jump to content

Remove SSL


farhan1

Recommended Posts

Please try this.

 

Using a programmer's text editor, create a file with these contents. Upload it to the main folder of your store. Use your web browser to request this file.

<?php
/*
+------------------------
| cc5_fix_ssl.php
| =======================
| Switch Off SSL 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');
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);
$GLOBALS['config']->set('config','ssl',0,true);
?>
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...