Zen Cart Logo
Forums / General Questions / Need Help. Installed SSL and Broke some Pages

Need Help. Installed SSL and Broke some Pages

Locked

Views: 1,207

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Aug 2008, 7:24 PM
#1
schanz avatar

schanz

New Zenner

Join Date:
Aug 2008
Location:
Missouri
Posts:
35
Plugin Contributions:
0

Need Help. Installed SSL and Broke some Pages

**My site was working fine. Paypal express and QBMS were working. I purchased dedicated IP and an SSL cert and they were installed by BlueHost.

I then followed the tutorial and changed the Includes\configure.php and the Admin\Includes\configure.php.

My shopping cart now goes to a secure website but when I try to check out, I get a blank page. The same thing happens when I try to log into an account.

Also, I can no longer get into Admin.

Here's the message I get when I try to go to Admin:**

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home1/gapprodu/public_html/shop/admin/includes/configure.php:1) in /home1/gapprodu/public_html/shop/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home1/gapprodu/public_html/shop/admin/includes/configure.php:1) in /home1/gapprodu/public_html/shop/admin/includes/init_includes/init_templates.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home1/gapprodu/public_html/shop/admin/includes/configure.php:1) in /home1/gapprodu/public_html/shop/admin/includes/functions/general.php on line 21

Here's line 108 referred to above:

$temp = session_start();
if (!isset($_SESSION['securityToken'])) {
$_SESSION['securityToken'] = md5(uniqid(rand(), true));

Here's what I changed in Includes\configure.php

define('HTTP_SERVER', 'http://www.gapproducts.com');
define('HTTPS_SERVER', 'https://www.gapproducts.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

Here's the changes to Admin\Includes\configure.php

define('HTTP_SERVER', 'http://www.gapproducts.com');
define('HTTPS_SERVER', 'https://www.gapproducts.com');
define('HTTP_CATALOG_SERVER', 'http://www.gapproducts.com');
define('HTTPS_CATALOG_SERVER', 'https://www.gapproducts.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

17 Aug 2008, 2:12 AM
#2
schanz avatar

schanz

New Zenner

Join Date:
Aug 2008
Location:
Missouri
Posts:
35
Plugin Contributions:
0

Re: Need Help. Installed SSL and Broke some Pages

It appears I have the dreaded "Header already sent" problem. I used a backup of my /admin/includes/configure.php and I now have the Admin site back. I still can't get login or cart pages to load. I used a backup of that configure.php file but it was one I had already edited. The error points to line 1 so I have checked (several times) for extra spaces. I'm baffled. Where can I get a new copy of a configure.php file?

18 Aug 2008, 11:04 AM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Need Help. Installed SSL and Broke some Pages

Would like to help but your site takes too long to load.

Tried these just now: http://www.gapproducts.com & https://www.gapproducts.com

After waiting just over 3 minutes for something to load, I gave up.

18 Aug 2008, 11:29 AM
#4
schanz avatar

schanz

New Zenner

Join Date:
Aug 2008
Location:
Missouri
Posts:
35
Plugin Contributions:
0

Re: Need Help. Installed SSL and Broke some Pages

I uploaded an error tracking module. I'll take that back off. I haven't been having any problems loading though.

I finally fixed this late yesterday. I created a new, empty file, copied my code into it and renamed it configure.php and everything is fine now. Something must have been discombobulated in the file itself.