Forums / Setting Up Categories, Products, Attributes / Problems after installing SSL

Problems after installing SSL

Locked

Started by ousel on 1 Dec 2006, 1:25 PM · Views: 2,179

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
1 Dec 2006, 1:25 PM
#1
ousel avatar

ousel

New Zenner

Join Date:
Aug 2006
Posts:
84
Plugin Contributions:
0

Problems after installing SSL

I've just added a dedicated SSL certificate to my site. I finally managed to get back into the admin panel, and set up a new product. This led to an error message (I'll have to recreate the problem if you need details) and it created a product, with no details, that I cannot delete from the catalog!

I changed my includes/config.php file to read:

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.mercuryrisingbooks.com');
define('HTTPS_SERVER', 'https://mercuryrisingbooks.com');

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

I also changed my admin/includes/config.php to read:
define('HTTP_SERVER', 'http://www.mercuryrisingbooks.com');
define('HTTPS_SERVER', 'https://mercuryrisingbooks.com');
define('HTTP_CATALOG_SERVER', 'http://www.mercuryrisingbooks.com');
define('HTTPS_CATALOG_SERVER', 'https://mercuryrisingbooks.com');

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

Is the problem the last two lines? And how can I remove the item set up by the error?

Sorry if I've put this in the wrong section, but it's the catalog item currently causing the problem!

1 Dec 2006, 1:45 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Problems after installing SSL

Your certificate appears to be made for:
mercuryrisingbooks.com

not for:
https://www.mercuryrisingbooks.com

Change these:

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

Should read:

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

And change these:

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

To read:

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

This way your secure and non-secure matches ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Dec 2006, 1:59 PM
#3
ousel avatar

ousel

New Zenner

Join Date:
Aug 2006
Posts:
84
Plugin Contributions:
0

Re: Problems after installing SSL

I have now changed that Ajeh, but I still have a product I cannot delete, and when setting up a new product I get the message:

Warning: reset() [function.reset]: Passed variable is not an array or object in /homepages/31/d88591929/htdocs/main/myadmin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /homepages/31/d88591929/htdocs/main/myadmin/includes/classes/object_info.php on line 30
£0.00
Warning: Does not show Quantity Box, Default to Qty 1

I don't understand!?:dontgetit

1 Dec 2006, 2:04 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Problems after installing SSL

What version of Zen Cart are you running?

Did you find out which version of php you are running?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Dec 2006, 2:09 PM
#5
ousel avatar

ousel

New Zenner

Join Date:
Aug 2006
Posts:
84
Plugin Contributions:
0

Re: Problems after installing SSL

Zen Cart 1.3.0.2
Database Patch Level: 1.3.0.2
PHP version 4.4.4

This answers my other thread, as I'm not using PHP 5, but any advice on this problem would be appreciated!

1 Dec 2006, 2:45 PM
#6
ousel avatar

ousel

New Zenner

Join Date:
Aug 2006
Posts:
84
Plugin Contributions:
0

Re: Problems after installing SSL

My problem seems to go deeper. I have just tried to edit a discount coupon, but when i click on preview, after a message saying the page will display secure and nonsecure items (what is unsecure now I have SSL?) I end up on a new coupon page!

Please help, as I'm slowly pulling all my hair out!

1 Dec 2006, 2:47 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Problems after installing SSL

My first thoughts are to upgrade to v1.3.6 to resolve any bugs, security issues, etc. and at the same time this often fixes issues on files that may or may not have been upgraded correctly or where conflicts might exist on templates and overrides ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!