Jump to content

No route passed


bass

Recommended Posts

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>

Link to comment
Share on other sites

<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(((

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...
  • Moderators
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 by joooseb
Link to comment
Share on other sites

  • Moderators
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>
Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...