Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2012
    Posts
    12
    Plugin Contributions
    0

    help question Paths problem (HTTPS)

    Hello, I know already that this is a really stupid problem, but I'm stumped!

    I have just installed my first Zencart site. I'm testing and making a template to see if it is a good alternative to our current platform (so far, I'm impressed).

    However, I've obviously misconfigured the settings because none of the secure links on the main page are working. Clicking links to products etc is working perfectly, but click any HTTPS link (e.g. Log In in the header, or the link to write a review) and the link is not correct. Specifically the links look like this:

    https://SUBDOMAIN.DOMAIN.comhttps//www.SUBDOMAIN.DOMAIN.com/STORE/index.php?main_page=login

    When they should look like this:

    https://SUBDOMAIN.DOMAIN.com/STORE/index.php?main_page=login

    Would it be possible to nudge me in the correct direction for the setting which is messing this up? I used a one-click installer originally and it's very likely I followed the setup process incorrectly based on my host's instructions. I've been searching for ages, but apparently I'm either the only person dumb enough to have done this or I'm not using the right search terms to turn up anything helpful.

    Thank you very much for reading.

  2. #2
    Join Date
    Oct 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Paths problem (HTTPS)

    I would start by looking at the includes/configure.php file, to ensure the paths are correctly defined. if you post the contents (without db username and password) we can probably tell you if something is wrong there..

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Paths problem (HTTPS)

    Right. You've entered wrong information in your HTTP_SERVER, HTTPS_SERVER, DIR_WS_CATALOG, DIR_WS_HTTPS_CATALOG settings.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Sep 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: Paths problem (HTTPS)

    Thank you, that's what I thought must have happened. The reason I'm confused is that I can't see anywhere where I would have put the "https//www." in at all (with the missing colon) as I don't even use the www for this site so I can't think that I ever intentionally defined that anywhere.

    Here's a paste of the contents of my config file. I have changed sensitive parts but they are accurately presented. Some of the definitions have been changed a bunch of times as I have been trying to make things work so they have definitely drifted from what is logical.

    Note: I can log in to the admin panel and work there fine, it's specifically the user-facing parts of the site which are creating malformed SSL links.

    Edit: Derp. I just found it - I had been staring at configure.php in /includes all this time but the incorrect definition was in my other store/configure.php

    All working now! Thank you.
    Last edited by Buffoon; 20 Sep 2012 at 02:21 PM.

 

 

Similar Threads

  1. Setting HTTPS=true problem
    By gprit in forum General Questions
    Replies: 5
    Last Post: 3 Nov 2013, 08:36 AM
  2. https problem
    By jibon in forum Basic Configuration
    Replies: 2
    Last Post: 8 Oct 2009, 04:46 AM
  3. http https problem
    By Virtualdj in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jun 2007, 10:49 PM
  4. SSL/HTTPS problem
    By djkast in forum General Questions
    Replies: 3
    Last Post: 17 Nov 2006, 01:42 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