Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,681
    Plugin Contributions
    6

    Default Re: Problems after installing SSL

    Your certificate appears to be made for:
    mercuryrisingbooks.com

    not for:
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default 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!?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,681
    Plugin Contributions
    6

    Default 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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default 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!

  6. #6
    Join Date
    Aug 2006
    Posts
    89
    Plugin Contributions
    0

    Default 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!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,681
    Plugin Contributions
    6

    Default 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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Installing Zcart on Yahoo Web Hosting Standard (SSL Issue)
    By dante45chicago in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 14 Sep 2006, 10:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •