bass Posted January 8, 2016 Report Share Posted January 8, 2016 Tell me how to fix the error. I made a new template for the layout of others, but has ceased to operate the flight booking. Gives an error message "No route passed" I read the other posts, but it did not help. Can anyone suggest something? http://air-laguna.pe.hu/ Now this template 1 Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 8, 2016 Report Share Posted January 8, 2016 Open layout.and htmlhead. See if you have your jquery link in both files. Quote Link to comment Share on other sites More sharing options...
bass Posted January 8, 2016 Author Report Share Posted January 8, 2016 Open layout.and htmlhead. See if you have your jquery link in both files. <!DOCTYPE html> <html lang="en" dir="ltr"> <!-- START head --> <head> <!-- Site meta charset --> <meta charset="UTF-8"> <!-- title --> <title>Welcome - Air Laguna</title> <!-- meta description --> <meta name="description" content="YOUR META DESCRIPTION GOES HERE" /> <!-- meta keywords --> <meta name="keywords" content="YOUR META KEYWORDS GOES HERE" /> <!-- meta viewport --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <!-- favicon --> <link rel="icon" href="favicon.html" type="image/x-icon" /> <link rel="shortcut icon" href="favicon.html" type="image/x-icon" /> <!-- bootstrap 3 stylesheets --> <link href="http://air-laguna.pe.hu/lib/skins/travel/bs3/css/bootstrap.css" rel="stylesheet" media="all" /> <link href="http://air-laguna.pe.hu/lib/skins/travel/ocean.css" rel="stylesheet" media="all" /> <!-- template stylesheet --> <link href="http://air-laguna.pe.hu/lib/skins/travel/css/styles.css" rel="stylesheet" media="all" /> <link href="http://air-laguna.pe.hu/lib/skins/travel/css/flexslider.css" rel="stylesheet" media="all" /> <!-- SLIDER REVOLUTION 4.x CSS SETTINGS --> <link href="http://air-laguna.pe.hu/lib/skins/travel/js/rs-plugin/css/settings.css" rel="stylesheet" media="all" /> <!-- responsive stylesheet --> <link href="http://air-laguna.pe.hu/lib/skins/travel/js/rs-plugin/css/responsive.css" rel="stylesheet" media="all" /> <!-- color scheme --> <link href="http://air-laguna.pe.hu/lib/skins/travel/css/colors/color1.css" rel="stylesheet" media="all" /> <link href="http://air-laguna.pe.hu/lib/skins/travel/css/colors/color2.css" rel="stylesheet" media="all" /> <link href="http://air-laguna.pe.hu/lib/skins/travel/css/colors/color3.css" rel="stylesheet" media="all" /> <link href="http://air-laguna.pe.hu/lib/skins/travel/css/colors/color4.css" rel="stylesheet" media="all" /> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <!--[if lt IE 9]> <script type="text/javascript" src="http://air-laguna.pe.hu/lib/skins/laguna/js/html5.js"></script> <style type="text/css">.main, .tabs ul.nav a, .content, .button1, .box1, .top { behavior:url("../js/PIE.htc")}</style> <![endif]--> <!--<link rel="stylesheet" media="all" type="text/css" href="http://air-laguna.pe.hu/lib/skins/crystal/styles.css" />--> <link rel="stylesheet" href="http://air-laguna.pe.hu/lib/skins/ocean_blue/styles/style.responsive.css" type="text/css" title="Ocean Blue" media="screen" /> <!--[if lte IE 7]><link rel="stylesheet" href="http://air-laguna.pe.hu/lib/skins/ocean_blue/styles/style.ie7.css" media="screen" /><![endif]--> <script type="text/javascript"> var baseurl = "http://air-laguna.pe.hu"; var geourl = "http://ws.geonames.org"; </script> <link rel="stylesheet" media="all" type="text/css" href="http://air-laguna.pe.hu/lib/css/phpvms.css" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="http://air-laguna.pe.hu/lib/js/jquery.form.js"></script> <script type="text/javascript" src="http://air-laguna.pe.hu/lib/js/phpvms.js"></script> <!-- Load Fonts via Google Fonts API --> </head> <!-- END head --> <!-- START body --> <body> <body class="noJS"> <div class="jqmWindow" id="jqmdialog"></div><script type="text/javascript"> var bodyTag = document.getElementsByTagName("body")[0]; bodyTag.className = bodyTag.className.replace("noJS", "hasJS"); </script> <!-- START #wrapper --> <div id="wrapper"> <!-- START header --> <header> Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 8, 2016 Report Share Posted January 8, 2016 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> Try removing the older version. Quote Link to comment Share on other sites More sharing options...
RuiMiguel Posted January 8, 2016 Report Share Posted January 8, 2016 or try it http://forum.phpvms.net/topic/22649-routes-not-passing-anymore-think-its-jquery-conflict/ Quote Link to comment Share on other sites More sharing options...
bass Posted January 8, 2016 Author Report Share Posted January 8, 2016 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> Try removing the older version. script type="text/javascript"> var baseurl = "http://air-laguna.pe.hu"; var geourl = "http://ws.geonames.org"; </script> <link rel="stylesheet" media="all" type="text/css" href="http://air-laguna.pe.hu/lib/css/phpvms.css" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="http://air-laguna.pe.hu/lib/js/jquery.form.js"></script> <script type="text/javascript" src="http://air-laguna.pe.hu/lib/js/phpvms.js"></script> I deleted, did not help((( Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 8, 2016 Report Share Posted January 8, 2016 Did you delete one and revert and delete the other? Quote Link to comment Share on other sites More sharing options...
bass Posted January 8, 2016 Author Report Share Posted January 8, 2016 I have tried so many things that now do not understand anything in my code ... Everything is messed up. We'll have to do everything from the beginning ((( Quote Link to comment Share on other sites More sharing options...
flyalaska Posted January 8, 2016 Report Share Posted January 8, 2016 It's fixable, no need to start over. Do you have skype? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 9, 2016 Administrators Report Share Posted January 9, 2016 Looks like you are using bootstrap which can cause the conflict. Depending on what version of phpVMS you are running this is what I use for a phpvms.js file to adapt to later versions of jquery and solve the "No Route Passed" error and well as some of the schedule search form issues. https://github.com/D...ib/js/phpvms.js Quote Link to comment Share on other sites More sharing options...
bass Posted January 9, 2016 Author Report Share Posted January 9, 2016 Thanks to all! I figured out what the problem was. It seems that there was a conflict between the two libraries. Now everything works fine! 1 Quote Link to comment Share on other sites More sharing options...
Aaryan Posted February 1, 2017 Report Share Posted February 1, 2017 How did u fix? Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted March 25, 2017 Moderators Report Share Posted March 25, 2017 On 9/1/2016 at 9:30 AM, bass said: Thanks to all! I figured out what the problem was. It seems that there was a conflict between the two libraries. Now everything works fine! Can you explain the solution a bit more? PleaSe Quote Link to comment Share on other sites More sharing options...
bass Posted March 25, 2017 Author Report Share Posted March 25, 2017 4 hours ago, joooseb said: Can you explain the solution a bit more? PleaSe To help you, you need to look at the HTML code of your site Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted March 25, 2017 Moderators Report Share Posted March 25, 2017 2 hours ago, bass said: To help you, you need to look at the HTML code of your site What do you Need? Layout.tpl code? Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted March 25, 2017 Moderators Report Share Posted March 25, 2017 (edited) 4 hours ago, bass said: To help you, you need to look at the HTML code of your site I found the issue is with a js <!-- v1.0.0 --> <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/assets/vendors/jquery/jquery.min.js"></script> but If i delete the script from layout.tpl, the other functions failed (as a buttons, nav bar, etc.) Edited March 25, 2017 by joooseb Quote Link to comment Share on other sites More sharing options...
web541 Posted March 25, 2017 Report Share Posted March 25, 2017 Do you have any console errors, try re-arranging that line within the file. Or even try replacing the default jQuery line in core_htmlhead with that one (as it is probably more updated). Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted March 26, 2017 Moderators Report Share Posted March 26, 2017 5 hours ago, web541 said: Do you have any console errors, try re-arranging that line within the file. Or even try replacing the default jQuery line in core_htmlhead with that one (as it is probably more updated). I replace the Jquery in core_htmlhead and well all of my website broken, and the "no route passed" still appear, only the cancel bid function work. <script src="<?php echo SITE_URL?>/lib/skins/crewcenter/assets/vendors/jquery/jquery.min.js"></script> Quote Link to comment Share on other sites More sharing options...
Heritage1 Posted April 8, 2017 Report Share Posted April 8, 2017 Just a quick note on jquery peeps, be very careful how you mix up any javascript calls, especially a Google javascript call to the outside, nine times out of ten, you will have all kinds of conflicts, and the infamous "NO ROUTE PASSED", gosh I hate that one, lol. The one I've been using for a few years has proven fail safe to me, even with a bootstrap. Its Called jquery-1.7.2.js , this one for me never fails, and never hiccups. I've found even with phpvms 5.5xxxx , things with *.js can be tempermental, just like my puppy when she doesn't get her way, lol, Multiple libarys never seem to work when mixed together, always pay attention to the <head> as to whats calling what for a "href". Hope this helps, and if anyone needs the jquery file I use, just shoot me a message. See ya all in DUH AIR ! Jimbo Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.