Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2011
    Location
    CA
    Posts
    23
    Plugin Contributions
    0

    Default Installed SSL, now Zen won't login

    I installed SSL last night, and then enabled a mod_rewrite today to make my site automatically load up https, but now Zen won't let me log in. I found this article and attempted to make the necessary changes in the code, but the portion of the code that should be there, isn't there. Can someone help me with this? Here's what the code (and surrounding code) looks like, notice it's missing the "define('ENABLE_SSL', 'true');"

    // 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://store.capitalpyro.com');
    define('HTTPS_SERVER', 'https://store.capitalpyro.com');

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

    // 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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Installed SSL, now Zen won't login

    You appear to have something doing an auto-redirect to your secure pages rather than let Zen Cart control them ...

    Going to:
    store.capitalpyro.com

    automatically goes to secure ... and this is incorrect ...
    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.5]
    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!

  3. #3
    Join Date
    Apr 2011
    Location
    CA
    Posts
    23
    Plugin Contributions
    0

    Default Re: Installed SSL, now Zen won't login

    Yes that is correct, I inserted a mod_rewrite in the .htaccess file to make the page load up https automatically. I still need to configure Zen for ssl though so I'll remove it for now, but it still won't work. I'm looking at the directory as well, and it looks like there isn't even an admin file. Is there something wrong with my copy of Zen?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Installed SSL, now Zen won't login

    Now change the enable to true in the:
    /includes/configure.php

    and it will use SSL when needed ...
    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.5]
    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!

  5. #5
    Join Date
    Apr 2011
    Location
    CA
    Posts
    23
    Plugin Contributions
    0

    Default Re: Installed SSL, now Zen won't login

    It still doesn't work, I get an error message. Is the problem that the coding isn't the same as in the tutorial?

    Code:
    // 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://store.capitalpyro.com');
    define('HTTPS_SERVER', 'https://store.capitalpyro.com');
    
    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');
    
    // 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', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Installed SSL, now Zen won't login

    What error message are you getting?

    To turn on your SSL you need to set this to true:
    define('ENABLE_SSL', 'false');
    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.5]
    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!

  7. #7
    Join Date
    Apr 2011
    Location
    CA
    Posts
    23
    Plugin Contributions
    0

    Default Re: Installed SSL, now Zen won't login

    When I save it (using host gator's online editor) it gives me this error message:

    [a fatal error or timeout occurred while processing this directive]
    And then when you click on it (the above error message) it takes you to this:

    Code:
    open configure.php failed: Permission denied at cpanel line 4774
    	Carp::croak('open configure.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1152
    	Cpanel::Fileman::fmsavefile('%2fhome%2fsam%2fpublic_html%2fstore%2fincludes', 'configure.php', '<?php^M^J/**^M^J * @package Configuration Settings circa 1.3.9^M^J * @...', 1, 1) called at cpanel line 4774
    	main::__ANON__('%2fhome%2fsam%2fpublic_html%2fstore%2fincludes', 'configure.php', '<?php^M^J/**^M^J * @package Configuration Settings circa 1.3.9^M^J * @...', 1, 1) called at cpanel line 1335
    	eval {...} called at cpanel line 1335
    	main::real_exectag('<cpanel Fileman="fmsavefi

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Installed SSL, now Zen won't login

    It looks like you are trying to use cPanel to edit your files ...

    You really only want to use a proper Text Editor and FTP your files to your server ...
    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.5]
    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!

  9. #9
    Join Date
    Apr 2011
    Location
    CA
    Posts
    23
    Plugin Contributions
    0

    Default Re: Installed SSL, now Zen won't login

    Quote Originally Posted by Ajeh View Post
    It looks like you are trying to use cPanel to edit your files ...

    You really only want to use a proper Text Editor and FTP your files to your server ...
    I'll try that, thanks!

 

 

Similar Threads

  1. SSL Certificate Installed, Now What?
    By woodenski in forum General Questions
    Replies: 4
    Last Post: 14 Sep 2011, 03:52 PM
  2. SSL installed after zen, get error message for customer login
    By borobabe in forum Installing on a Windows Server
    Replies: 6
    Last Post: 22 Aug 2009, 03:14 PM
  3. SSL Installed and now can't login to store or Admin
    By GGVL in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 11 Aug 2009, 02:49 AM
  4. Installed MAP pricing addon and now my products page won't show product details
    By Resqjock in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 9 Feb 2009, 03:26 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR