Page 13 of 17 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 170
  1. #121
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: CSS JS Loader [Support Thread]

    Quote Originally Posted by marton_1 View Post
    OK, did some more research.
    I am running this on my non SSL xampp test site PC.

    My Admin site opens fine after installing the CSS JS Loader but when I try to open the storefront I get the error message "PHP Notice: CURL error checking plugin versions: 60:SSL certificate problem: self signed certificate in certificate chain"

    This message I discovered is an SSL Cerificate failure, but I do not want or have SSL on my test store front.
    The message has NOTHING to do with having SSL on your storefront. That's user-configurable SSL.
    This message is related to a basic server misconfiguration, explained here: SSL Explained - Back and Front
    And, given that you're using XAMPP, you may not be able to fix it ... in which case you'll have to live with these kinds of errors happening anytime the test store needs to connect to an external resource.
    So if you're going to comment-out sections of the code to suit your local environment, MAKE SURE you uncomment them before putting changes into production, else your store will be broken, or worse, your live store might be insecure.
    .

    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. #122
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: CSS JS Loader [Support Thread]

    Quote Originally Posted by DrByte View Post
    The message has NOTHING to do with having SSL on your storefront. That's user-configurable SSL.
    This message is related to a basic server misconfiguration, explained here: SSL Explained - Back and Front
    And, given that you're using XAMPP, you may not be able to fix it ... in which case you'll have to live with these kinds of errors happening anytime the test store needs to connect to an external resource.
    So if you're going to comment-out sections of the code to suit your local environment, MAKE SURE you uncomment them before putting changes into production, else your store will be broken, or worse, your live store might be insecure.
    Thanks, got it.

    I was able to fix the SSL error messages in xampp by following advice here and in the Internet without commenting out any code.

    However I had spoken too soon and my store front does not start up in xampp (just a blank screen)although the admin site starts up OK.

    There are no error messages in the zen cart log or the Apache and mysql logs.
    I turned on STRICT_ERROR_REPORTING in application_top.php but still no error messages.

    If I "inspect" the blank page I see these errors
    Code:
    Uncaught ReferenceError: jQuery is not defined
        at :8080/zencart155d/catalog/min/?f=/zencart155d/catalog/includes/templates/re…s/modules/pages/index/jscript_responsive_equal_heght_divs.js&1463221628:11
    index.php?main_page=index:460 Uncaught ReferenceError: jQuery is not defined
        at index.php?main_page=index:460
    ssl.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
    alles_f%C3%BCr_hundli6.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
    But I do not have a path zencart155d/catalog/includes/templates/re…s/modules/
    I do not see such a path in the original zencart155d download or the css js loader plugin?

    The file is from the SNAF plugin and is in this path
    includes\modules\pages\product_info\jscript_responsive_equal_heght_divs.js

  3. #123
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: CSS JS Loader [Support Thread]

    Does anyone have this working with version 1.5.5e using the Responsive Classic template? When I merge the html_header changes, the site goes blank and there are no errors in the logs.
    Danielle

  4. #124
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: CSS JS Loader [Support Thread]

    Quote Originally Posted by Danielle View Post
    Does anyone have this working with version 1.5.5e using the Responsive Classic template? When I merge the html_header changes, the site goes blank and there are no errors in the logs.
    i would double check your merge. i'm guessing something is in the wrong place.

    good luck.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #125
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: CSS JS Loader [Support Thread]

    Quote Originally Posted by carlwhat View Post
    i would double check your merge. i'm guessing something is in the wrong place.

    good luck.
    Thank you, I have checked numerous times. I'm probably missing something obvious because I've looked at it so much, but I've tried repeatedly for the last two days, and I just keep getting the same result, no matter what I do. It works fine if I install it on the default template. The issue is only when using the responsive classic template.
    Danielle

  6. #126
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: CSS JS Loader [Support Thread]

    can u provide a link to the site?

  7. #127
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: CSS JS Loader [Support Thread]

    Quote Originally Posted by carlwhat View Post
    can u provide a link to the site?
    I sent you a PM :)
    Danielle

  8. #128
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: CSS JS Loader [Support Thread]

    danielle,
    ZC is not loading the jquery library... so for whatever reason the jquery library is not loading and that is causing your site to fail to load.

    if you open the developer tools, and then press f1 for settings and disable javascript and then press f5 to reload your site (with the developer tools still open), your site will load fine.

    i would look for:

    jquery.min.js

    in your code to find out why it is not getting loaded.

    good luck!
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #129
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: CSS JS Loader [Support Thread]

    Since you are using this plugin you need to add the call to jquery.min.js to one or more of the autoloaders in your template directory (depending on if one of the autoloaders loads on every page or not, if not then you'll need to either add it to every one if they cover all pages on your site that need jquery or clone a loader file to use it on index.php which will load on every page). I know some people hate this plugin, I am not one of them. I am a big fan and have been using it for many years. You just have to understand how to use it correctly and then you can call js files for just specific pages which reduces overall site load plus it minifies the css and js files for even better site load.

    With something like the base jquery library, you can just hard code a call in your header file so it is loaded on every page since it is already minified. You could also use a CDN address for it, like the google one, and chances are the user's browser already has it cached from other sites which again will speed up the page load.
    Last edited by lankeeyankee; 18 Apr 2017 at 04:15 PM.

    Zen Cart and it's community are the best!!

  10. #130
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: CSS JS Loader [Support Thread]

    Quote Originally Posted by lankeeyankee View Post
    With something like the base jquery library, you can just hard code a call in your header file so it is loaded on every page since it is already minified. You could also use a CDN address for it, like the google one, and chances are the user's browser already has it cached from other sites which again will speed up the page load.
    Or just use the original Zen Cart html_header which already loads jQuery from CDN with a localized fallback if the CDN fails.
    It's too bad this plugin mangles that immediately out of the box.


    {confession: I hate the CSS/JS Loader plugin; I'll never recommend anyone use it}
    .

    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.

 

 
Page 13 of 17 FirstFirst ... 31112131415 ... LastLast

Similar Threads

  1. v150 CSS Buttons for Admin [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 24 Dec 2015, 09:13 PM
  2. v151 CSS/JS Loader installation question
    By McLovin in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 Feb 2014, 06:28 PM
  3. css/js loader !!
    By Miff in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Nov 2011, 01:19 PM
  4. CJ Loader (CSS/Javascript Loader) plugin function is not loaded by zen cart?
    By tripflex in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Jul 2011, 03:55 PM
  5. [support thread] Javascript loader
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 7 Nov 2009, 12:11 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