Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39
  1. #11
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,036
    Plugin Contributions
    61

    Default Re: Base HREF https issues

    Quote Originally Posted by barco57 View Post
    How deep does the rabbit hole go?....when on the login page, which should be secure I see a base href of
    Code:
    <base href="http://www.sourcetech.co.uk/shop/" />
    when ti should be
    Code:
    <base href="https://www.sourcetech.co.uk/shop/" />
    That is causing all of the stylesheets and images on the page to be called unsecure on the secure page.
    If your ZC is configured properly, the base url should change dynamically.

    includes/configure.php

    secure checkout set to true?


    admin/includes/configure.php ssl catalog false?

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  2. #12
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,750
    Plugin Contributions
    0

    Default Re: Base HREF https issues

    exactly my point, it isn't changing correctly.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #13
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,036
    Plugin Contributions
    61

    Default Re: Base HREF https issues

    <base href="http://www.sourcetech.co.uk/shop/" /> this may cause CSS problems, but it is a secure link as its an absolute link to the same domain... not an external link.

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  4. #14
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,750
    Plugin Contributions
    0

    Default Re: Base HREF https issues

    You can not call stylesheets and images unsecure into a secure page even if it is the same domain. Use firefox and check the dependencies on the page. I troubleshoot these issues everyday. once those are cleared up the page will work.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #15
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,036
    Plugin Contributions
    61

    Default Re: Base HREF https issues

    Hmmmm...

    So why is it not switching correctly then.

    Check these settings...

    includes/configure.php
    Code:
    define('HTTP_SERVER', 'http://www.sourcetech.co.uk');
    define('HTTPS_SERVER', 'https://www.sourcetech.co.uk');
    
    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    admin/includes/configure.php
    Code:
      define('HTTP_SERVER', 'http://www.sourcetech.co.uk);
      define('HTTPS_SERVER', 'https://www.sourcetech.co.uk');
      define('HTTP_CATALOG_SERVER', 'http://www.sourcetech.co.uk');
      define('HTTPS_CATALOG_SERVER', 'https://www.sourcetech.co.uk');
    
      // secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', 'false');
    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  6. #16
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,036
    Plugin Contributions
    61

    Default Re: Base HREF https issues

    And this I don't think is going to fly
    Code:
    <script language="javascript" type="text/javascript"><!--
    function session_win() {
      window.open("http://www.sourcetech.co.uk/shop/index.php?main_page=info_shopping_cart","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();
    }
    //--></script>
    I don't think this will work... I actually had to make a way to use a lightbox script I wanted, but on SSL pages it would not stop making errors... So since it isn't used on SSL pages, now its not included.

    Also, your shopping cart page is SSL and should not be, this is likely a config error.

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  7. #17
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,750
    Plugin Contributions
    0

    Default Re: Base HREF https issues

    I would be curious to see what the following line in includes/templates/iC_AthemeV1.3/common/html_header.php looks like:
    Code:
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
    If this has been changed to a hard coded url it would exhibit this behavior
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #18
    Join Date
    Jan 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: Base HREF https issues

    Hi Drbyte.. Who's the hosting company? We are!! We have our own webserver in a rack locally

    I was wondering about the base HREF=http: etc.. I presume this has been the issue, but no idea how to change it!

  9. #19
    Join Date
    Jan 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: Base HREF https issues

    Hi Drbyte.. We have our own webserver in a rack locally, so host our own websites. Which is both handy and annoying all at the same time!

    I was wondering about the base HREF=http: etc.. I presume this has been the issue, but no idea how to change it!

    Checked the 2 config files, definately ok

    Checked the html_header.php and that lines definately ok thanks

    Shopping cart IS SSL, but definately isnt causing the problem, because I was having these problems before setting that to SSL. That said, I'll change it back anyway

    Cant find the javascript which is causing the problem, I would love nothing more than to remove that! I'll carry on the hunt!!

    Code:
    <script language="javascript" type="text/javascript"><!--
    function session_win() {
      window.open("http://www.sourcetech.co.uk/shop/index.php?main_page=info_shopping_cart","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();
    }
    //--></script>

  10. #20
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Base HREF https issues

    Things I have noticed.

    - SSL Cert is issued to sourcetech.co.uk
    - site does not work without the 'www' in the URL
    - invalid characters in JS starting at line 96 of page output
    );
    //îòñëåæèâàíèå äîïîëíèòåëüíûõ ýëåìåíòîâ
    //addListener(document.getElementById('element-id'),

    Fixing all of the above will help to sort out some or even a lot, of problems.

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Another Base HREF https issue
    By blarney in forum General Questions
    Replies: 7
    Last Post: 27 Oct 2010, 09:03 PM
  2. Replies: 12
    Last Post: 22 Sep 2010, 04:43 PM
  3. base href problem
    By cricles in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 20 Jul 2010, 06:34 AM
  4. https error relating to base href SSL
    By little dog in forum Basic Configuration
    Replies: 3
    Last Post: 18 Dec 2007, 08:12 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