Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    help question HTTPS:// help needed

    Hi All,

    I've got what seems like a really easy-to-solve query. One of the pages on my website loses its CSS view and only displays as text when you go to 'https://[mywebsite].com/store'. If you change the URL from 'https' to 'http', the page displays fine. I've right-clicked and 'viewed the source' of the https:// page and have found the problem - the line which reads: "<base href="https://[mywebsite].comhttps:/" />"

    So for some reason it's (...or I've, more likely) managed to add that extra 'https:/' on the end. I've tried looking through the directory using Filezilla and I can't find the PHP file this particular line lives in anywhere. Basically, I'm asking if anybody knows what PHP file I will need to change, and where in the directory I can find it. It's very frustrating, as I know exactly what I need to do when I get there, but just can't find where I need to be!

    Any other information you might need to know:
    - The 'store' page is my website's ZenCart interface.
    - My site is created through WordPress
    - I have an SSL certificate supported through GoDaddy
    - I'm not very technical, so please be keep your reply as simple as possible :)

    Many thanks,
    Emma

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: HTTPS:// help needed

    Quote Originally Posted by emmap6493 View Post
    One of the pages on my website loses its CSS view and only displays as text when you go to 'https://[mywebsite].com/store'. If you change the URL from 'https' to 'http', the page displays fine. I've right-clicked and 'viewed the source' of the https:// page and have found the problem - the line which reads: "<base href="https://[mywebsite].comhttps:/" />"....
    You are saying 'one of the pages' - is it *only* one page? If so, can you give us some more detail if it is a product info page, a listing, an ezpage or....

  3. #3
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: HTTPS:// help needed

    Hi Frank,

    Sorry for the lack of info - I'm new to all of this.

    The pages in question are only those which are part of the ZenCart interface on my website - https://northernsouldesigns.com/store/. It looks as though all the products on the different pages also display as Text Only when the URL is https.
    You will see that the homepage which was made on WordPress (and has nothing to do with Zen Cart) (https://northernsouldesigns.com/), looks fine and isn't full of nasty text. If you take the 's' from this URL, the page remains as it should be.

    Please let me know if you need any more info.

    Many thanks,
    Emma

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: HTTPS:// help needed

    Looks like an issue with your includes/configure.php file where you need to change settings for http or https

    Suggest you download that file (and the corresponding configure.php file in admin), open these files and post the top part of both files. xxx-out any sensitive info

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: HTTPS:// help needed

    Another consideration:

    Is your SSL cert for northernsouldesigns.com or for northernsouldesigns.com/store ?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTTPS:// help needed

    Quote Originally Posted by frank18 View Post
    Another consideration:

    Is your SSL cert for northernsouldesigns.com or for northernsouldesigns.com/store ?
    Wouldn't matter. Certs aren't issued for subdirectories, only for domains.
    .

    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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTTPS:// help needed

    Quote Originally Posted by frank18 View Post
    Looks like an issue with your includes/configure.php file where you need to change settings for http or https
    Yup:
    HTML Code:
    <base href="https://northernsouldesigns.comhttps:/" /> 
    This shows that the DIR_WS_HTTPS_CATALOG value is incorrectly set to 'https:/' instead of '/store/'
    .

    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.

  8. #8
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: HTTPS:// help needed

    Quote Originally Posted by DrByte View Post
    Wouldn't matter. Certs aren't issued for subdirectories, only for domains.
    So must be an issue with the configure.php file(s) ....

  9. #9
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: HTTPS:// help needed

    Emma, as DrByte and Frank18 suggested, take a look in your includes/configure.php file and make sure you have the right setting for:
    PHP Code:
    define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_CATALOG''/'); 
    Please keep in mind that in my example above our store is hosted in the root directory. Based on the information you've provided so far and visiting your site, yours should look something like this:
    PHP Code:
    define('DIR_WS_CATALOG''/store/');
      
    define('DIR_WS_HTTPS_CATALOG''/store/'); 
    Alternatively, you can post what you have in the first 5 defines (in the top part of the file) in includes/configure.php and we'll see if it looks right.

  10. #10
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: HTTPS:// help needed

    Hi All,

    Thank you for your contributions to the thread. I had some help from a work colleague this morning who helped me get everything sorted out. In the end, there was a lot of messing around with altering the definitions in both the admin and non-admin configure.php files. Goodness knows how they became broken (as I said, it was probably user-error on my part), but it's fixed now, so I'm happy.

    Thanks again,
    Emma

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Domain Name Mismatch (https:// vs https://www
    By johana.pat in forum General Questions
    Replies: 5
    Last Post: 27 Apr 2008, 04:42 PM
  2. https setup help
    By coastalfog in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 28 Jun 2006, 03:34 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