Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default SSL setup - should I duplicate files?

    I set up our Zen Cart before our SSL certificate was installed. After adding the SSL certificate and editing the configure.php files to enable SSL, I get 404 error messages when I try to access the login page.

    A knowledge base article that I consulted ("How do I configure for SSL/HTTPS (secure socket layer) after I have installed Zen Cart?") says "You may have to load the whole catalog into an HTTPS directory also." Right now everything is in the "httpdocs" directory. There is a second "httpsdocs" directory on the server, which presently contains nothing.

    The web host suggested that I should duplicate the entire Zen Cart installation in the httpsdocs directory. Would that work? (It seems strange to me on a purely intuitive level, so I haven't tried it yet.) Or are there specific files that should be placed in the httpsdocs directory?

    Should I go ahead with the web host's suggestion? Or should I just run the Zen Cart installation again now that the SSL certificate is in place? Or ... something else?

    This is my first Zen Cart installation. Everything else seems to be working fine, but this issue is stumping me. For now, I have "dis-enabled" SSL in the configure.php file so that I can at least access all pages.

    I posted a similar message earlier and got some assistance, but the problem remains. Thanks in advance.

    xlawdog
    Site: www.blacksaks.com
    Host: Dotster
    SSL certificate from GoDaddy

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SSL setup - should I duplicate files?

    yes you will need to place a copy of the files there,
    you will also need to make the modification in the configure files inthe new folders

    changing httpdocs to httpsdocs
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: SSL setup - should I duplicate files?

    Thank you. Just to confirm - should I place copies of ALL files in both directories?

    xlawdog

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SSL setup - should I duplicate files?

    Yes
    all files
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: SSL setup - should I duplicate files?

    Thanks again. I'll give it a try.

    xlawdog

  6. #6
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: SSL setup - should I duplicate files? New: error message

    [FONT=Verdana]I copied all files to the httpsdocs directory and did a new install.

    Now when I go to the main page (the non-SSL page), I get the original template rather than our template, with no indication that my database is loaded - i.e., no products, etc.

    When I go to the admin login page, I am taken to the https page, but I get the following error message:

    [/FONT] [FONT=Verdana]Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php): failed to open stream: No such file or directory in /usr/local/pem/vhosts/103711/webspace/httpsdocs/admin/includes/languages/english.php on line 50

    Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php): failed to open stream: No such file or directory in /usr/local/pem/vhosts/103711/webspace/httpsdocs/admin/includes/languages/english.php on line 50

    Fatal error: main(): Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/php/includes') in /usr/local/pem/vhosts/103711/webspace/httpsdocs/admin/includes/languages/english.php on line 50

    It seems to me, with my limited knowledge of Zen Cart's PHP code, that I'm missing a file called "meta_tags.php," but I don't see any indication in my Zen Cart download that there is any such file in the admin directory or its subdirectories.

    I'd like to fix this problem first and then worry about the template and database (maybe I just need to reinstall the database?). Any suggestions?

    Thanks.

    xlawdog[/FONT]

  7. #7
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Update: Re: SSL setup - should I duplicate files? New: error message

    Update: I fixed the database / template problem.

    For the error message, I started a new thread: "Error message on SSL admin login page."

    xlawdog

  8. #8
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: SSL setup - should I duplicate files?

    I need help with this please.

    While this isn't how I typically do it, I had to start the store before the client paid for the SSL certificate.

    Now the SSL certificate is added to the server (which I own) ...
    but am having major difficulties with getting it to work on the store.

    http://www.techstyleit.com/inventory

    I've even uploaded the store to the httpsdocs folder.
    It wants me to install again ... but during that, it talks about upgrading the database, or else it will wipe out whatever is in the database.

    I am not upgrading the database (no need as this is a new store and zencart (barely a week old)) and I do not want to wipe out what I have already started.

    Both httpdocs and httpsdocs configure files are set for SSL ...

    So, what do I do now?

 

 

Similar Threads

  1. v151 [Duplicate] Should read /logs/ not /cache/
    By simon1066 in forum Bug Reports
    Replies: 3
    Last Post: 19 Oct 2012, 04:28 PM
  2. Replies: 6
    Last Post: 25 Mar 2012, 08:40 PM
  3. Should I go for dedicated SSL or free shared SSL? What's the deal?
    By calvinrobinson in forum General Questions
    Replies: 3
    Last Post: 28 Oct 2010, 03:00 PM
  4. What should I do if duplicate Table module?
    By lesliez in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Aug 2006, 05:15 PM

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