ndzlogo-1-1
0%
Loading ...

INDIA – HEADQUARTERS

INDIA

UNITED STATES

CANADA

 

Here we are discussing about the cookie problems in zencart which use Shared SSL that result in the the administrator being returned to the login screen when clicking on any link within the admin area.

The fix the issue, you have to put the entire admin section under Shared SSL. The steps are described below.

 

♦ Log into your cPanel and go to File Manager

♦ Go to the admin folder (NB: this is usually renamed to a secret name), then /includes/ and select configure.php

♦ Set the permission to writeable eg 600

♦ Edit the file. Replace SERVERNAME with the actual servername you are on; USER with your cPanel username; and ADMIN with your actual  admin folder name

 

Zen Cart version 1.3.9

define('HTTP_SERVER', 'httpss://SERVERNAME');

define('HTTPS_SERVER', 'httpss://SERVERNAME');

define('HTTP_CATALOG_SERVER', 'httpss://SERVERNAME');

define('HTTPS_CATALOG_SERVER', 'httpss://SERVERNAME');

define('ENABLE_SSL_CATALOG', 'true');

define('ENABLE_SSL_ADMIN', 'true');

define('DIR_WS_ADMIN', '/~USER/ADMIN/');

define('DIR_WS_CATALOG', '/~USER/');

define('DIR_WS_HTTPS_ADMIN', '/~USER/ADMIN/');

define('DIR_WS_HTTPS_CATALOG', '/~USER/');

 
 

♦ Save the file, close and reset permission to 400