danydj96 Posted August 4, 2016 Report Posted August 4, 2016 Hello, I have just changed my VA template and I got the "no route passed". Anyone can help me? I attach the layout.php code: <!DOCTYPE html> <html> <head> <script src="https://use.fontawesome.com/423f28f0fe.js"></script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="description" content="Pilot Center - Liftair VA"> <meta name="author" content="Coffeecream Themes, info@coffeecream.eu"> <title>Pilot Center - Liftair VA</title> <link rel="shortcut icon" href="<?php echo SITE_URL?>/lib/skins/holiday/images/favicon.png"> <!-- Import style.css --> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/style.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/materialize.min.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/font-awesome.min.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/fontic-hotels.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/owl.carousel.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/fotorama.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/nouislider.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/uber-google-maps.min.css" rel="stylesheet" media="all" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.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> </head> <body id="home"> <!-- ============ PAGE LOADER START ============ --> <div id="loader"> <div class="preloader-wrapper big active"> <div class="spinner-layer spinner-blue-only"> <div class="circle-clipper left"> <div class="circle"></div> </div> <div class="gap-patch"> <div class="circle"></div> </div> <div class="circle-clipper right"> <div class="circle"></div> </div> </div> </div> </div> <!-- ============ PAGE LOADER END ============ --> <!-- ========== NAVBAR START ========== --> <div class="navbar-fixed"> <div id="tools" class="white"> <div class="container"> <div class="row"> <div class="col s12"></div> </div> </div> </div> <nav class="white"> <div class="nav-wrapper container"> <a href="" class="brand-logo"><img src="http://liftair.eu/wp-content/uploads/2016/04/Logo-450x150.png" width="150" height="50" alt="Pilot Center" /></a> <a href="#!" data-activates="mobile-nav" class="button-collapse light-blue-text"><i class="material-icons">menu</i></a> <ul class="right hide-on-med-and-down"> <li><a class="dropdown-button" href="<?php echo SITE_URL?>" data-activates="homepage">Home</a> </li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <?php } else { // Show these items only if they are logged in ?> <li><a href="/index.php/profile">Profile</a></li> <li><a class="dropdown-button" href="/index.php/pilots" data-activates="properties">Roster</a></li> <li><a class="dropdown-button" href="/index.php/acars" data-activates="properties">Live Map</a></li> <li><a class="dropdown-button" href="/index.php/flightsearch" data-activates="agencies">Book your Flight</a></li> <li><a class="dropdown-button" href="/index.php/pages/newbie" data-activates="agencies">Newbie</a></li> <li><a class="dropdown-button" href="/index.php/FlightAcademy" data-activates="owners">Training</a></li> <li><a class="dropdown-button" href="/index.php/pages/support" data-activates="owners">Support</a></li> <li><a class="dropdown-button" href="/forum" data-activates="owners">Forum</a></li> <li><a href="<?php echo url('/logout'); ?>">Logout</a></li> <?php } ?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'"> ADMIN</a></li>'; } ?> <?php } ?> </ul> </ul> </div> </nav> </div> <!-- ========== NAVBAR END ========== --> <div><?php echo $page_content;?></div> <!-- ========== FOOTER START ========== --> <footer> <section class="grey darken-4"> <div class="container"> <div class="row"> <div class="col s12 m12 l4"> <h5>About us</h5> <p>Liftair is a non-profit airline who simulates real world operations on a virtual online network, called <strong><a href="https://www.ivao.aero/" target="_blank">IVAO </a></strong>(<strong>I</strong>nternational <strong>V</strong>irtual <strong>A</strong>viation <strong>O</strong>rganization).</p> <p><a href="https://www.liftair.eu/the-airline/" target="_blank">Read More</a><i class="fa fa-angle-right"></i></a></p> </div> <div class="col s12 m6 l4"> <h5>Quick Links</h5> <ul> <li class="waves-effect waves-blue"><a href="http://aeronor.liftair.eu">Aeronor</a></li> <li class="waves-effect waves-blue"><a href="/index.php/contact">Contact Us</a></li> <li class="waves-effect waves-blue"><a href="http://liftair.eu/tos/">Terms & Conditions</a></li> </ul> </div> <div class="col s12 m6 l4"> <h5>Contact</h5> <address> Liftair VA<br> Copenhagen </address> <address> info@liftair.eu <br> </address> <p><a href="http://www.liftair.eu/">Liftair VA <i class="fa fa-angle-right"></i></a></p> </div> </div> </div> </section> <div class="section black white-text"> <div class="container"> <div class="row"> <div class="col m8"> <p>© 2016 www.liftair.eu</p> </div> <div class="col m4 right-align"> <p> <a href="http://facebook.com/liftairva" target="_blank"><i class="fa fa-facebook fa-lg" aria-hidden="true"></i></a> <a href="http://twitter.com/liftairva" target="_blank"><i class="fa fa-twitter fa-lg"></i></a> <a href="https://www.youtube.com/channel/UC-UONGt4YUy2KqQZpWv9G8g" target="_blank"><i class="fa fa-youtube fa-lg"></i></a> </p> </div> </div> </div> </div> </footer> <!-- ========== FOOTER END ========== --> <!-- jQuery --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/jquery-2.1.4.min.js"></script> <!-- Materialize --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/materialize.min.js"></script> <!-- Retina --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/retina.min.js"></script> <!-- Owl Carousel --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/owl.carousel.min.js"></script> <!-- Fotorama --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/fotorama.js"></script> <!-- No UI Slider --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/nouislider.min.js"></script> <!-- wNumb --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/wNumb.min.js"></script> <!-- Date --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/date.js"></script> <!-- Settings --> <script src="<?php echo SITE_URL?>/lib/skins/holiday/js/settings.js"></script> </body> </html> Thanks for your help! Regards, Quote
web541 Posted August 4, 2016 Report Posted August 4, 2016 Try and change these <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.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> To this <?php echo $page_htmlhead; ?> If that doesn't work, check your browser console. Quote
danydj96 Posted August 4, 2016 Author Report Posted August 4, 2016 Hello, It does not work sorry What should I check on the browser console? Thanks! Quote
brunoquadros Posted August 5, 2016 Report Posted August 5, 2016 Try this http://forum.phpvms.net/topic/22649-routes-not-passing-anymore-think-its-jquery-conflict/#entry121117 This problem is as jquery conflict Quote
danydj96 Posted August 5, 2016 Author Report Posted August 5, 2016 Hello, Where do it have to put these lines? <!-- Import style.css --> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/style.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/materialize.min.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/font-awesome.min.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/fontic-hotels.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/owl.carousel.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/fotorama.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/nouislider.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/uber-google-maps.min.css" rel="stylesheet" media="all" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.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> After this or at the end of the page? Regards, Quote
magicflyer Posted August 5, 2016 Report Posted August 5, 2016 Hello, Where do it have to put these lines? <!-- Import style.css --> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/style.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/materialize.min.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/font-awesome.min.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/fontic-hotels.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/owl.carousel.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/fotorama.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/nouislider.css" rel="stylesheet" media="all" /> <link href="<?php echo SITE_URL?>/lib/skins/holiday/css/uber-google-maps.min.css" rel="stylesheet" media="all" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.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> After this or at the end of the page? Regards, Right after. Quote
danydj96 Posted August 5, 2016 Author Report Posted August 5, 2016 Hello, It says there is an error on line 29. Quote
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.