Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / HELP, possible Jquery/jscrip issue no pop ups or slider are working

HELP, possible Jquery/jscrip issue no pop ups or slider are working

Started by jwaynehinkle on 6 Oct 2013, 1:36 AM · Views: 1,756

Results 1 to 9 of 9
6 Oct 2013, 1:36 AM
#1
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #1 by jwaynehinkle

On my site I noticed a day or two ago that my pop up login was not working anymore, and neither was my slide out shopping cart. For example when you click login it is supposed to bring a pop out to the front of the page darken out the main page where you can login and once successful close and refresh the page, it was working great and now it is not. Additionally when you ad something to your cart via the ad button on the main page of a featured product or a sale product, or on the actual product page it is supposed to ad it to your cart and then the cart has a little slide down that come down from the cart button to show you what is in this cart.

I purchased both of these products from Numinix and both were working great for over a month, I started playing around with compressing and minifying my css and jscript and I think I have broken something, everything else works great except you can no longer have the abilities to view your cart or login without being redirected to that specific page, this is not good as some people will loose there place in my site and then have to click all over the place to get back to it or hit the back button on their browser a couple times and refresh, this is a waste of time and my customer like to buy/browse quick without interuption, they are acustomed to these features and now getting confused please help me out I am not sure where to even start debugging in chrome I get this messsage when using the developer tools but I am not sure on how to go about fixing it.

My website is bullysperformance dot com

Here is what I get in chrome see attachment for picture of errors, all of them have the same error code of "uncaught referrenceerror: jquery is not defined"
Attachment 13145

6 Oct 2013, 8:43 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Heerenveen, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Post #2 by design75

You are loading the jquery after the rest of the scripts in your header. move the lines defining jquery futher to the top, between the css and jscript lines and all should work fine

6 Oct 2013, 4:17 PM
#3
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #3 by jwaynehinkle

what file(s) do I need to do this in? I read a post somewhere her on the boards with that exact info in it and I looked around but not sure what files I need to adjust to get this working I am thinking maybe the html_header.php in my includes/template/csutom_template/common folder this is the code I have for calling jqeury I think it is at the very bottom.

<?php
/**
* load the loader files
*/

if($RI_CJLoader->get('status') && (!isset($Ajax) || !$Ajax->status())){
	$RI_CJLoader->autoloadLoaders();
	$RI_CJLoader->loadCssJsFiles();
	$files = $RI_CJLoader->header();
	foreach($files['css'] as $file)
		if($file['include']) {
      include($file['src']);
    } else if (!$RI_CJLoader->get('minify_css') || $file['external']) {
      echo "<link rel=\"stylesheet\" type=\"text/css\" href='{$file['src']}' />\n";
    } else {
      echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"min/?f={$file['src']}&".$RI_CJLoader->get('minify_time')."\" />\n";
    }
		
    foreach($files['jscript'] as $file)
        if($file['include']) {
      include($file['src']);
    } else if(!$RI_CJLoader->get('minify_js') || $file['external']) {
      echo "<script type='text/javascript' src='{$file['src']}'></script>\n";
    } else {
      echo "<script type=\"text/javascript\" src=\"min/?f={$file['src']}&".$RI_CJLoader->get('minify_time')."\"></script>\n";
    }
}  

Thanks for all your help
J

6 Oct 2013, 6:35 PM
#4
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #4 by jwaynehinkle

is this what it is supposed to look like?

6 Oct 2013, 8:59 PM
#5
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #5 by jwaynehinkle

not sure if this has to do with the issue or not, however I enabled debugging and when clicking on something on my site that should be using jguery or jscript such as slide down shopping cart and pop out login I get this error could this have something to do with my jscript not working right?

PHP Fatal error: Class 'queryFactory' not found in on includes/functions/sessions.php on line 55

7 Oct 2013, 1:19 AM
#6
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #6 by jwaynehinkle

Ok just an update my highslide gallery is working properly this calls JS you can see it working properly (with the exception of additional aren't using IH4 like they are supposed I think it might be I do not remember how to check if they are or not) @ bullysperformance dot com/gt-for-jeep-40440-114.html.

Now I am really confused if this is working shouldn't everything else that requires jquery and jscript be working? help please I must get this figured out so I can turn on my jquery mobile theme....

Thanks
J

7 Oct 2013, 3:06 AM
#7
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #7 by jwaynehinkle

ok I think I am getting somewhere however not sure, this is what I see when pukling source for head from google chrome, not sure why it is pulling from cloud fare, by the way wth is cloud fare I have not installed anything that uses cloudfare (atleast I do not think I have) please help my store is suffering horibly as existing customers do not undersand why features they are accustomed to is not working

<head><meta property="og:title" content="Bullys Performance"><meta property="og:site_name" content="Bully's Performance"><meta property="author" content="Bully's Performance">


<title>Bullys Performance</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="Exterior Parts/Accessories Exhaust, Mufflers & Tips Edge Racing Torque Converters Lighting Deal of the Week Open Box Specials Dodge Challenger Dodge Charger Dodge Ram JEEP all products Lift Kits, Air Intake, Performance ">
<meta name="description" content="Bullys Performance :  - Exterior Parts/Accessories Exhaust, Mufflers & Tips Edge Racing Torque Converters Lighting Deal of the Week Open Box Specials Dodge Challenger Dodge Charger Dodge Ram JEEP all products Lift Kits, Air Intake, Performance">
<meta http-equiv="imagetoolbar" content="no">
<meta name="author" content="The Zen Cart® Team and others">
<meta name="generator" content="shopping cart program by Zen Cart®, http://www.zen-cart.com eCommerce">

<base href="https://bullysperformance.com/">

<link rel="stylesheet" type="text/css" href="includes/templates/theme584/css/stylesheetcombinedandcompressed.css">
<link rel="stylesheet" type="text/css" href="includes/templates/theme584/css/quick_checkout.css">
<link rel="stylesheet" type="text/css" media="print" href="includes/templates/theme584/css/print_stylesheet.css">
<script async="" defer="true" src="https://static.olark.com/jsclient/plugins/sounds.js?v=1"></script><script type="text/javascript" async="" src="https://d31qbv1cthcecs.cloudfront.net/atrk.js"></script><script async="" src="//www.google-analytics.com/analytics.js"></script><script id="facebook-jssdk" src="//connect.facebook.net/en_US/all.js#xfbml=1&appId=634917709867175"></script><script type="text/javascript" src="includes/templates/theme584/jscript/jscript_imagehover.js"></script><script src="https://static.olark.com/jsclient/application.js?v=a0cf70c42042a337b6f44d3942e1cdab" async="" defer="" data-cfasync="false"></script>
<style type="text/css">.olark-key,#hbl_code,#olark-data{display: none !important;}</style><link id="habla_style_div" type="text/css" rel="stylesheet" href="https://static.olark.com/css/4/f/4f34a5ed36e1b45bb63248f53a410f3a.css?https"><style type="text/css">@media print {#habla_beta_container_do_not_rely_on_div_classes_or_names {display: none !important}}</style></head>
8 Oct 2013, 12:44 AM
#8
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #8 by jwaynehinkle

this is still not working for me and I can not for the life of me figure out what the issue is, any help would be greatly appreciated our cart abandonment is majorly hurting, just notice with out jquery ajax 1 page checkout is not working either. please help out if you can

Thanks
J

9 Oct 2013, 12:45 AM
#9
jwaynehinkle avatar

jwaynehinkle

New Zenner

Join Date:
Aug 2013
Location:
United States
Posts:
73
Plugin Contributions:
0

Post #9 by jwaynehinkle

Well thanks to the guys over at numinix my site is back up and going strong, there was a problem with the highslide gallery somewhere but they found it and got it fixed and now all is well again.