Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    5
    Plugin Contributions
    0

    Default Enabling SSL Issues Yes I followed the Tutorial

    I am having issues with enabling SSL with Zen. I started a different post but there is another person on this thread that is having the same identical problem.

    I followed the tutorial to a "T" here are my lines of code pasted from both files that I changed. Can't even log into store admin now;

    admin/includes/configure.php

    Code:
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    
     */
    
      define('HTTP_SERVER', 'https://cesavings.com');
    
      define('HTTPS_SERVER', 'https://cesavings.com');
    
      define('HTTP_CATALOG_SERVER', 'https://cesavings.com');
    
      define('HTTPS_CATALOG_SERVER', 'https://cesavings.com');
    
    
    
      // secure webserver for catalog module and/or admin areas?
    
      define('ENABLE_SSL_CATALOG', 'true');
    
      define('ENABLE_SSL_ADMIN', 'true');
    includes/configure.php

    Code:
    define('HTTP_SERVER', 'http://cesavings.com');
    
    define('HTTPS_SERVER', 'https://cesavings.com');
    
    
    
    // Use secure webserver for checkout procedure?
    
    define('ENABLE_SSL', 'true');
    Set file permissions on the server to 644 (rw-r--r--) uploaded both changed them back to 444 (r--r--r--).

    Can't get to admin page gives me the following error;

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/c/e/s/cesavings/html/store/admin/includes/configure.php:183) in /home/content/c/e/s/cesavings/html/store/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/c/e/s/cesavings/html/store/admin/includes/configure.php:183) in /home/content/c/e/s/cesavings/html/store/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/e/s/cesavings/html/store/admin/includes/configure.php:183) in /home/content/c/e/s/cesavings/html/store/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/e/s/cesavings/html/store/admin/includes/configure.php:183) in /home/content/c/e/s/cesavings/html/store/admin/includes/functions/general.php on line 21


    In the store when you click add an item to the cart it goes to a blank white page with the session id appended to the URL.

    I am using Dreamweaver to edit the PHP file. I have used both Dreamweaver and FileZilla to download and upload files to the server. I have a Premium Hosting plan with GoDaddy. You can reach my site via http://cesavings.com and https://cesavings.com. This is my second install of zen cart because of this problem.

    I have emptied my cache, tried on three different computers and both Firefox and IE.

    Thank you in advance for any help.

    Dennis

  2. #2
    Join Date
    Oct 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Enabling SSL Issues Yes I followed the Tutorial

    OMG!

    I figured it out!!! I think I read some place that some of the most common errors for PHP beginners are extra spaces, lines etc.

    Some how two extra lines got added after the final ?>, maybe it is something Dreamweaver does because I did not add them there. Both files had those two extra lines at the end. Once I deleted the extra lines voila! I am so used to the HTML mentality that I didn't think to check for "extra" anything.

    Thanks!

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Enabling SSL Issues Yes I followed the Tutorial

    Dreamweaver is notorious for doing that - I would suggest a plain text editor for making changes to the php files.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Sep 2007
    Location
    Frankfort, Illinois, United States
    Posts
    21
    Plugin Contributions
    0

    Idea or Suggestion Re: Enabling SSL Issues Yes I followed the Tutorial

    I second this. I just spent hours trying to figure out why this was happening. I ended up going into the orginial ZIP File and reworking dist-configure.php to match my settings, uploaded and everything is good.

    I think I just got an ulcer from hours this trouble shooting

    I learned an important lesson today:
    DONT USE ANYTHING BUT NOTEPAD TO EDIT PHP!!!!!

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

    Default Re: Enabling SSL Issues Yes I followed the Tutorial

    Thanks for the update that you got this working ...

    However, be aware that there are numerous TEXT editors available that can work with the code files, it is just important that you are using a valid TEXT editor and not a word processor or something that will add extra characters and other messies to the code ...

    php is kinda fussy like that ...
    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!

  6. #6
    Join Date
    Jan 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Enabling SSL Issues Yes I followed the Tutorial

    OMG... same thing! I removed the extra 2 lines at the end of both configure.php files... and MAGIC! It works!!!!! Maybe this should be part of the tutorial! >_<

 

 

Similar Threads

  1. v154 Cannot disable SSL (Yes I've read the tutorial)
    By grakowsky in forum General Questions
    Replies: 9
    Last Post: 31 Jul 2016, 03:36 PM
  2. log in issues on firefox after enabling ssl
    By maniek123 in forum Basic Configuration
    Replies: 3
    Last Post: 30 Sep 2011, 07:59 PM
  3. Blank page: Yes I followed the FAQ
    By jasmel in forum General Questions
    Replies: 10
    Last Post: 22 Feb 2010, 06:07 PM
  4. Followed tutorial, image still won't display
    By nadsab in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 14 Feb 2010, 06:53 PM
  5. Admin Login Issues After Enabling SSL
    By Symbah in forum Basic Configuration
    Replies: 0
    Last Post: 24 Nov 2009, 07:41 AM

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