Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Images and CSS not Loading in Store

    Once your SSL issues are sorted out, be sure to put this line back to using https://...

    Code:
      define('HTTPS_SERVER', 'http://www.dmc-EDITED-FOR-SECURITY.com');
    .

    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.

  2. #12
    Join Date
    Aug 2008
    Location
    Southern California
    Posts
    129
    Plugin Contributions
    0

    Default Re: Images and CSS not Loading in Store

    Yes, I'll make that change when I get confirmation. I will keep everyone posted in the hopes it helps others as well. Thanks for everyone's help on a Saturday afternoon. This is why I love Zen Cart --- the people behind it!

  3. #13
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,831
    Plugin Contributions
    31

    Default Re: Images and CSS not Loading in Store

    HOW DO YOU GUYS POSSIBLY KNOW THIS STUFF?
    It's not a question of knowing, it's using any tool available to investigate.

    If css is not loading, "obviously" the links to the css are broken in your page...well not obviously in your case as there were no errors from files not found but there were no css rules as if the files existed but were empty hence Kobra's suggestion to check the file and contents.

    Using Firefox->Web Developer->CSS->View CSS, showed empty files but clicking on the links gave an ssl error...strange, why would the store front be using ssl, and even if it was, the css should have loaded anyway.
    So, then looking at your page showed the baseref as https.

    I changed my code in my template as described to force my site to use ssl and the same error occurred because this test site has ssl turned off.
    So, a problem diagnosed with SSL without knowing anything about it, just following a line of investigation.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  4. #14
    Join Date
    Aug 2008
    Location
    Southern California
    Posts
    129
    Plugin Contributions
    0

    Default Re: Images and CSS not Loading in Store

    I just want to chime back in on this and say that the problem IS resolved. Although I wouldn't have suspected it, the SSL certificate WAS the problem. Something happened with the web hosting company that's still unclear, but they fixed it. I want to send my thanks out to all who offered some insight and guidance. Topic closed! :-)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Loading Images and They Are not Displaying
    By dcarlo1981 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Oct 2010, 03:42 AM
  2. Images and CSS Not working in Firefox
    By renadamsart in forum General Questions
    Replies: 3
    Last Post: 30 May 2010, 06:41 PM
  3. Css not loading on wamp2 server
    By fabian10571 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 8 Jun 2009, 02:57 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