Ssl Dont Work

When i upgraded from the 135 everything was working fine, except few things but i corrected them. Now the problem is with SSL. from the admin side when i select all 3 options or doesnt matter which option it gets stuck and waits sometime then tells me:



The secure connection check has failed. Please check HTTPS settings in “config.php” file and make sure that SSL certificate is installed on your server.



I do have 256 SSL which we used to use it with older version 135.



also it doesnt really register the selections. … when i select any of the security option (SSL) one of the other options get cleared. such as: one page checkout, Allow shopping for unlogged customers etc…



Does any one also had this problem? or having it? please help.



Like i said older version 1.3.5 was working perfect with SSL. so curl is working fine.

No problems here. Is the upgrade in the root or a subfolder?

what i did was, is that i made a clean installation of versin 2.06 and restored the database of 1.3.5

so i havent changed any folder/ file names. all the files are on the /httpdocs

regarding to [url]CS-Cart Documentation — CS-Cart 4.15.x documentation

my ssl is working fine.



[url]https://www.silverbestbuy.com/admin.php?dispatch=tools.phpinfo[/url]



i have inserted the code:



} elseif ($_SERVER[‘SERVER_PORT’]==‘443’) {

define(‘HTTPS’, true);



but still no luck.

So this is in the root.



What does your config.local.php file look like where is shows secure server?

[quote name=‘Tool Outfitters’]So this is in the root.



What does your config.local.php file look like where is shows secure server?[/QUOTE]



now my admin page has the ssl lock and on the address bar i have the ssl logo/link. but none of the ssl boxes are checked so its strange.



here is my config.local mate.












/***************************************************************************
* *
* Copyright (c) 2009 Simbirsk Technologies Ltd. All rights reserved. *
* *
* This is commercial software, only users who have purchased a valid *
* license and accept to the terms of the License Agreement can install *
* and use this program. *
* *
****************************************************************************
* PLEASE READ THE FULL TEXT OF THE SOFTWARE LICENSE AGREEMENT IN THE *
* "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE. *
****************************************************************************/


//
// $Id: config.local.php 7636 2009-06-30 07:03:06Z zeke $
//

if ( !defined('AREA') ) { die('Access denied'); }

/*
* PHP options
*/

// Disable notices displaying
error_reporting(E_ALL ^ E_NOTICE);

// Set maximum memory limit
@ini_set('memory_limit', '128M');

// Set maximum time limit for script execution
@set_time_limit(3600);

/*
* Database connection options
*/
$config['db_host'] = 'xxx';
$config['db_name'] = 'xxx';
$config['db_user'] = 'xxx';
$config['db_password'] = 'xxx';
$config['db_type'] = 'mysql';

/*
* Script location options
*
* Example:
* Your url is [url]http://www.yourcompany.com/store/cart[/url]
* $config['http_host'] = 'www.yourcompany.com';
* $config['http_path'] = '/store/cart';
*
* Your secure url is [url]https://secure.yourcompany.com/secure_dir/cart[/url]
* $config['https_host'] = 'secure.yourcompany.com';
* $config['https_path'] = '/secure_dir/cart';
*
*/

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.silverbestbuy.com';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = 'www.silverbestbuy.com';
$config['https_path'] = '';

/*
* Misc options
*/
// Names of index files for administrative and customer areas
$config['admin_index'] = 'admin.php';
$config['customer_index'] = 'index.php';

// DEMO mode
$config['demo_mode'] = false;

// Tweaks
$config['tweaks'] = array (
'js_compression' => true, // enables compession to reduce size of javascript files
'check_templates' => true, // disables templates checking to improve template engine speed
'inline_compilation' => true, // compiles nested templates in one file
);

// Key for sensitive data encryption
$config['crypt_key'] = 'xxxx';

// Developer configuration file
if (file_exists(DIR_ROOT . '/local_conf.php')) {
include(DIR_ROOT . '/local_conf.php');
}

define('AUTH_CODE', 'xxxcxx');

?>

No problems there.



Have you tried cleaning your cache?

yes i have. you mean internet expl. cache right?

No. /var/compiled and /var/cache



It’s not changing to secure on your checkout page.

[quote name=‘Tool Outfitters’]No. /var/compiled and /var/cache



It’s not changing to secure on your checkout page.[/QUOTE]



there are so many files in them. shall i delete them all?



var/cache has js folder and lots of .php files

var/compiled has admin , customer and mail folders. and ztemp3pH7eq and ztempp7GeOR folder.



delete them all?

Yep. It will create new ones. Don’t worry.

i did but still no luck. i am thinking that there is comsthing wrong with the core file? what do you think?

its so strange that admin.php has the ssl certificate which is not even selected from the settings.

[quote name=‘silverbestbuy’]i did but still no luck. i am thinking that there is comsthing wrong with the core file? what do you think?[/QUOTE]



You may want to try to reinstall the files if you think they are corrupt or missing.

grrrrrrrrrrrrr… i am on a dedicated server. do you think that can be …?

I’ve never had a problem but others have. Did you upload the compressed file then unzipped? Seems most have a problem when they uncompress the files then upload.

I would think that you would have more than just an SSL problem though.

reinstall the whole thing or just the files? if files only then which files do you think?

i really appreciate your help mate. thank you so much.

[quote name=‘Tool Outfitters’]I’ve never had a problem but others have. Did you upload the compressed file then unzipped? Seems most have a problem when they uncompress the files then upload.[/QUOTE]



how can i do that on a dedicated server? i am on a GoDady Dedicated Server

Everything except for /images/, /skins/, and config.local.php. Possibly robots.txt, and .htaccess if you have made any changes to them. Those are the ones that would be different from the original files.