Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Featured Products stops working when SSL is set to True

Featured Products stops working when SSL is set to True

Views: 1,404

Results 1 to 18 of 18
9 Jun 2012, 10:18 PM
#1
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Featured Products stops working when SSL is set to True

Hi, I need some help.

We are using zen cart version 1.5 in a TEST environment. I have "Featured Products" turned on the main page. 5 items listed. When I updated 'ENABLE_SSL' to 'true" in file includes/configure.php the "Featured Product" section disappeared from the main page. Any ideals what is causing this? If I turn the SSL back to 'false" the "Featured Products" reappears.

Maximum Display of Featured Products - Main Page is set to 9.
Index Listing - Show Featured Products on Main Page has a value of 2.

in Tools - Layout Box controller the sideboxes/featured.php ON LEFT 45 0 OFF

Can someone point me in the right direction as to why SSL would break the "Featured Products"?

9 Jun 2012, 10:31 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

Have you an URL to your site ... set your site to SSL false for now so we can see ...

9 Jun 2012, 10:41 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

And if you turn on the secure ...

9 Jun 2012, 10:44 PM
#5
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

SSL turned on

9 Jun 2012, 10:47 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

Do you see any debug logs in your directory:
/cache

9 Jun 2012, 10:49 PM
#7
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

yes - but the last one is about 49 minutes old.

9 Jun 2012, 10:51 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

Do you have 1 directory or 2 for your site?

Could you post, from the server, without your username or password, the file:
/includes/configure.php

9 Jun 2012, 10:52 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

sw1138lr:

yes - but the last one is about 49 minutes old.

Do a refresh of the /cache directory to see if any new ones show up ...

9 Jun 2012, 11:01 PM
#10
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

<?php /** * @package Configuration Settings circa 1.5.0 * @copyright Copyright 2003-2011 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2012-05-08 08:37:00 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.kandccollectibles.com'); define('HTTPS_SERVER', 'https://www.kandccollectibles.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/zc1/'); define('DIR_WS_HTTPS_CATALOG', '/zc1/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/homepages/0/d197750888/htdocs/zc1/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_CHARSET', 'utf8'); define('DB_SERVER', 'db51566667.db.1and1.com'); define('DB_SERVER_USERNAME', 'xxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx'); define('DB_DATABASE', 'db41566667'); // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/homepages/0/d197750888/htdocs/zc1/cache'); // EOF
9 Jun 2012, 11:04 PM
#11
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

refreshed - still nothing in /cache that is current.

9 Jun 2012, 11:18 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

You might try either winmerge or beyond compare and compare your site to a clean v1.3.9h ... http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

Is there any difference if you switch to the Classic Template?

9 Jun 2012, 11:29 PM
#13
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

I already had v1.3.9h installed. It is working on that version with SSL turned on.
The only difference I see are two define statements. v1.3.9h has these two statements but v1.5 does not have them.

define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');

9 Jun 2012, 11:37 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

Those are not used in v1.5 ...

Is this a Clean install or v1.5 or an Upgrade?

How did you install/upgrade it?

9 Jun 2012, 11:38 PM
#15
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

Clean install.

9 Jun 2012, 11:40 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

Did you install it via the download from zen-cart.com and then with FTP, or how?

What happens if you switch to the Classic Template?

10 Jun 2012, 1:32 AM
#17
sw1138lr avatar

sw1138lr

New Zenner

Join Date:
Jun 2012
Posts:
94
Plugin Contributions:
0

Re: Featured Products stops working when SSL is set to True

I was able to fix the issue. We have two test systems. The databases names from the other test system was in my configure.php file. Once I correct the DB name it fixed the issue. That's for your help.

10 Jun 2012, 2:01 AM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products stops working when SSL is set to True

Thanks for the update that you had an error in the configure.php file ...