Jump to content

Recommended Posts

Posted

It is due to some coding in all of Lorenzo's skins. He is currently working on getting them fixed. I have the same problem as you do. Be patient.

Guest lorathon
Posted

I have a question regarding this.

I have been messing around with some new jquery tools. If I try and put the script in the header I get the "No route passed" error. If I remove it that the bid works just fine.

Anyone know why?

FYI - the jquery is 1.4.2

Posted

Not sure Jeff, but you can also place the code on the bottom just before </html> and it will also work, but then the drop-down menus don't work. So there has to be something else to add/remove to get the whole function to work together.

Guest lorathon
Posted

I think I found the problem. The script I download had the library inside of it. I re-downloaded without the library since the core_htmlhead.tpl already has the library called in it. Seems to be working just fine now :D

Trail and Error gets you far sometimes.

Guest lorathon
Posted

It is out own skin.

Check your header.tpl. Look for a library call.

this is the call in the core_htmlhead.tpl

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

The toolbox I used first had the same library (1.4.2) inside of it. When i changed to just the Tools less the library it worked just fine.

I also commented out an old library call that I just have stuck in there when I tried to mess with javascript before.

<script type="text/javascript" src="<?php echo fileurl('lib/js/jquery-1.3.1.min.js');?>">

  • 3 months later...
Posted

I have the same problem, but it doesnt works.

Have you any suggestionss?

We was switching to Clouds V1. But we dont would to switch again (or to the old style) because we find it better and we work a ong time on it.

Basti

Posted

Well some days ago I had the same problem and received the same error-message when pilots tried to register. Do you think a reinstall of RealScheduleLight would fix that problem described by BastiDE?

I guess there won´t be any troubles on our databases, am I right?

Thanks a lot for your replies, wish you a wonderful sunday and best regards from sunny Germany.

  • Administrators
Posted

You have to use Firefox and look at the error console. It's caused by a Javascript error and shouldn't be too painful to fix, usually it's a missing include.

If you search, it's come up before plenty of times

  • Like 1
Posted

okay, it shows this:

Error: $("#form, .ajaxform").ajaxForm is not a function

Source File: http://www.ptp-forum.de/demo/lib/js/phpvms.js

Line: 31

This is line 31

        success: function() {

this is the complete code:

    $("#form, .ajaxform").ajaxForm({
       target: '#scheduleresults',
       beforeSubmit: function (x,y,z) {
           $("#scheduleresults").html('<div align="center"><img src="'+url+'/lib/images/loading.gif" /><br />Searching...</div>');
       },
       success: function() {
           $('#bodytext').fadeIn('slow');
       }
   });

But i dont know, where is the problem?

Posted

this is a very bad idea. We has wok on this layout very long. Easy remove is no solution.

I know, this is a Java-Error but I dont know how to fix it. But I know, it can be fixed - with a good help ;)

Basti

Posted

this is a very bad idea. We has wok on this layout very long. Easy remove is solution.

I know, this is a Java-Error but I dont know how to fix it. But I know, it can be fixed - with a good help ;)

Basti

Post the code of your page to help. B)

Posted

no problem, thx forward! :lol:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       <title><?php echo $page_title; ?></title>
       <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/style.css" />
       <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/ie7.css" /><![endif]-->
   <?php echo $page_htmlhead; ?>
       <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery-1.3.2.min.js"></script>
       <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/chili-1.7.pack.js"></script>
       <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery.cycle.all.min.js"></script>
       <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery.easing.1.1.1.js"></script>
       <script type="text/javascript">
       $(function() {
               $('#s1').cycle({
                       fx:    'fade',
                       delay: 2000,
                       timeout: 6500
               });
       });
       </script>
</head>
<body>
<?php echo $page_htmlreq; ?>
<p><a class="skiplink" href="#maincontent">Skip over navigation</a></p>
<div id="container">
       <div id="backfooter">
               <div id="imgfooter">
                       <div id="wrapper">
                               <div id="header">
                                       <a href="/" class="replace" id="logo"><span></span><?php echo $page_title; ?></a>
                               </div>
                               <div id="placeanim">
                                       <div id="s1">
                                               <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim1.jpg" alt="Animation 1" />
                                               <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim2.jpg" alt="Animation 2" />
                                               <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim3.jpg" alt="Animation 3" />
                                       </div>
                                       <div id="placemainmenu">
                                               <ul id="mainmenu">
                                                       <?php Template::Show('core_navigation.tpl'); ?>
                                                       <li class="last"><a href="http://www.ptp-forum.de/forum">Forum</a></li><!-- NOTE the class="last" -->
                                               </ul>
                                               <h2>North Air</h2>
                                       </div>
                                       <div id="placeintro">
                                               <h3>Solltest du Fragen haben, oder ein Training anfragen wollen, kannst du jederzeit unser Ticketsystem benutzen! Dabei ist es egal, ob du Pilot bei uns bist oder nicht.</h3>
                                               <a href="http://www.ptp-forum.de/ticket/" class="butlink">Ticketsystem</a>
                                               <div class="clear"></div>
                                       </div>
                               </div>
                               <div id="content">
                                       <div id="maincontent">
                                               <h1><?php echo $page_title; ?></h1>
                       <br />
                                               <p><?php echo $page_content; ?></p>
                                       </div>
                                       <div id="nav">
                                               <div class="navtop">
                                               </div>
                                               <div class="navback">
                                                       <h3>Pilotenpanel</h3>
                                                       <?php
                           if(Auth::LoggedIn() == false)
                               {
                            ?>
                               <form name="loginform" action="<?php echo url('/login'); ?>" method="post">
                                   Melde dich mit deiner Piloten ID an, oder <a href="http://www.ptp-forum.de/index.php/registration">Registriere dich!</a><br />
                               <input type="text" name="email" value="" onClick="this.value=''" />
                               <input type="password" name="password" value="" />
                               <input type="hidden" name="remember" value="on" />
                               <input type="hidden" name="redir" value="index.php/profile" />
                               <input type="hidden" name="action" value="login" />
                               <input type="submit" name="submit" value="Einloggen" />
                               </form>
                           <?php
                               }
                               else
                               {
                                   $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
                           ?>
                               <img align="left" height="50px" width="50px" style="margin-right: 10px;"
                               src="<?php echo PilotData::getPilotAvatar($pilotid);?>" />

                               <strong>Piloten ID: </strong> <?php echo $pilotid ; ?>
                               <strong>Rang: </strong><?php echo Auth::$userinfo->rank;?><br />
                               <strong>Flüge: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Flugstunden: </strong><?php echo Auth::$userinfo->totalhours;?>
                               <br />
                               <a href="<?php echo url('/pireps/new');?>">Flug einreichen</a> |
                               <a href="<?php echo url('/schedules/bids');?>">Meine Flüge</a> |
                               <a href="<?php echo url('/profile/');?>">Zum Pilotenpanel</a>
                           <?php
                               }
                           ?><br />
                                                       <h3>Derzeit gebuchte Flüge</h3>
                                                       <br><?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?><br>
                                                       <h3>Letzter Flug</h3>
                                                       <br><?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?><br>
                                                       <h3>Neuster Pilot</h3>
                                                       <br><?php MainController::Run('Pilots', 'RecentFrontPage', 1); ?><br>
                                               </div>
                                               <div class="navbottom">
                                               </div> <br>
                                        <div id="nav">
                                               <div class="navtop">
                                               </div>
                                               <div class="navback">
                                                       <h3>Unser Rang bei VACentral.net</h3><br>
                                                                <font size="+9"><b><p align="center"><?php
                                                                                      $cws = new CodonWebService();
                                                                                                 $xml = $cws->get('http://www.vacentral.net/airline/nxa_northair/xml');
                                                                                                 $xml = simplexml_load_string($xml);

                                                                                                 echo "{$xml->rank}";
                                                                                                 ?></p></b></font>
                                               </div>
                                               <div class="navbottom">
                                               </div>
                                               </div>
                                       </div>
                                       <div class="clear"></div>
                               </div>
                       </div>
                       <div id="footer">
                               <h5>copyright © 2010 - <?php echo date('Y') ?> - North Air VA | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS/LA92</a> | Layout <a href="http://www.northair-va.tk" target="_blank">North Air VA</a> | <a href="http://www.ptp-forum.de/index.php/pages/impressum" target="_blank">Impressum</a></h5>
                       </div>
               </div> <!-- imgfooter -->
       </div> <!-- backfooter -->
</div>
</body>
</html>

link to the page: ptp-forum.de/demo/

When you need an login say it to me.

Because you cant register on the site. All links are to the old/regulary site, because i build only the layout and then i will upload it to the regulary site.

Posted

Well this is caused because the script is not positioned right phpVMS or are having conflict with another script.

This Skin is from Lorenzo, I saw in www.la92.com site is updated and the code has no errors. what you can do is replace the head by one below.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $page_title; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/style.css" />
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/ie7.css" /><![endif]-->
   <?php echo $page_htmlhead; ?>
<script src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery_cycle.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$('#s1').cycle({ 
		fx:    'fade', 
		delay: 2000,
		timeout: 4000
	});
});
</script>
</head>

I realize that in your code for more scripts, they may be causing the conflict. Try the code I posted, I hope it works out.

The code of your page should look like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $page_title; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/style.css" />
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/ie7.css" /><![endif]-->
   <?php echo $page_htmlhead; ?>
<script src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery_cycle.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$('#s1').cycle({ 
		fx:    'fade', 
		delay: 2000,
		timeout: 4000
	});
});
</script>
</head>
<body>
<?php echo $page_htmlreq; ?>
<p><a class="skiplink" href="#maincontent">Skip over navigation</a></p>
<div id="container">
       <div id="backfooter">
               <div id="imgfooter">
                       <div id="wrapper">
                               <div id="header">
                                       <a href="/" class="replace" id="logo"><span></span><?php echo $page_title; ?></a>
                               </div>
                               <div id="placeanim">
                                       <div id="s1">
                                               <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim1.jpg" alt="Animation 1" />
                                               <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim2.jpg" alt="Animation 2" />
                                               <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim3.jpg" alt="Animation 3" />
                                       </div>
                                       <div id="placemainmenu">
                                               <ul id="mainmenu">
                                                       <?php Template::Show('core_navigation.tpl'); ?>
                                                       <li class="last"><a href="http://www.ptp-forum.de/forum">Forum</a></li><!-- NOTE the class="last" -->
                                               </ul>
                                               <h2>North Air</h2>
                                       </div>
                                       <div id="placeintro">
                                               <h3>Solltest du Fragen haben, oder ein Training anfragen wollen, kannst du jederzeit unser Ticketsystem benutzen! Dabei ist es egal, ob du Pilot bei uns bist oder nicht.</h3>
                                               <a href="http://www.ptp-forum.de/ticket/" class="butlink">Ticketsystem</a>
                                               <div class="clear"></div>
                                       </div>
                               </div>
                               <div id="content">
                                       <div id="maincontent">
                                               <h1><?php echo $page_title; ?></h1>
                       <br />
                                               <p><?php echo $page_content; ?></p>
                                       </div>
                                       <div id="nav">
                                               <div class="navtop">
                                               </div>
                                               <div class="navback">
                                                       <h3>Pilotenpanel</h3>
                                                       <?php
                           if(Auth::LoggedIn() == false)
                               {
                            ?>
                               <form name="loginform" action="<?php echo url('/login'); ?>" method="post">
                                   Melde dich mit deiner Piloten ID an, oder <a href="http://www.ptp-forum.de/index.php/registration">Registriere dich!</a><br />
                               <input type="text" name="email" value="" onClick="this.value=''" />
                               <input type="password" name="password" value="" />
                               <input type="hidden" name="remember" value="on" />
                               <input type="hidden" name="redir" value="index.php/profile" />
                               <input type="hidden" name="action" value="login" />
                               <input type="submit" name="submit" value="Einloggen" />
                               </form>
                           <?php
                               }
                               else
                               {
                                   $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
                           ?>
                               <img align="left" height="50px" width="50px" style="margin-right: 10px;"
                               src="<?php echo PilotData::getPilotAvatar($pilotid);?>" />

                               <strong>Piloten ID: </strong> <?php echo $pilotid ; ?>
                               <strong>Rang: </strong><?php echo Auth::$userinfo->rank;?><br />
                               <strong>Flüge: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Flugstunden: </strong><?php echo Auth::$userinfo->totalhours;?>
                               <br />
                               <a href="<?php echo url('/pireps/new');?>">Flug einreichen</a> |
                               <a href="<?php echo url('/schedules/bids');?>">Meine Flüge</a> |
                               <a href="<?php echo url('/profile/');?>">Zum Pilotenpanel</a>
                           <?php
                               }
                           ?><br />
                                                       <h3>Derzeit gebuchte Flüge</h3>
                                                       <br><?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?><br>
                                                       <h3>Letzter Flug</h3>
                                                       <br><?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?><br>
                                                       <h3>Neuster Pilot</h3>
                                                       <br><?php MainController::Run('Pilots', 'RecentFrontPage', 1); ?><br>
                                               </div>
                                               <div class="navbottom">
                                               </div> <br>
                                        <div id="nav">
                                               <div class="navtop">
                                               </div>
                                               <div class="navback">
                                                       <h3>Unser Rang bei VACentral.net</h3><br>
                                                                <font size="+9"><b><p align="center"><?php
                                                                                      $cws = new CodonWebService();
                                                                                                 $xml = $cws->get('http://www.vacentral.net/airline/nxa_northair/xml');
                                                                                                 $xml = simplexml_load_string($xml);

                                                                                                 echo "{$xml->rank}";
                                                                                                 ?></p></b></font>
                                               </div>
                                               <div class="navbottom">
                                               </div>
                                               </div>
                                       </div>
                                       <div class="clear"></div>
                               </div>
                       </div>
                       <div id="footer">
                               <h5>copyright © 2010 - <?php echo date('Y') ?> - North Air VA | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS/LA92</a> | Layout <a href="http://www.northair-va.tk" target="_blank">North Air VA</a> | <a href="http://www.ptp-forum.de/index.php/pages/impressum" target="_blank">Impressum</a></h5>
                       </div>
               </div> <!-- imgfooter -->
       </div> <!-- backfooter -->
</div>
</body>
</html>

Link to the Website of Lorenzo Here :)

  • 2 months later...
Posted

Ok fellas. I have read every single post. Tried every single fix. I went into the skinning docs and followed to a T and still I get this problem of no routes passed. I know it is definitely a skin issue. If I add the

<?php
Template::Show('core_htmlhead.tpl');
?>

right before the

</head>

it works perfect but it gets rid of the java slider. And when I place it above the slider script in the head section, the bids fail, but the slider works. Kind of odd. I have checked the error console and came up with the same ajax error everyone else posted. I give up. And for the record, it is on the Brilliance V1 template. It is not a live site so is no biggie to me. Was just mainly trying to figure out how to problem solve this issue. It seems as though my problem solving skills suck with this one. :D

**EDIT**

So as it sits now, I am getting the error but it actually adds the bid.

Here is how I got it situated

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $page_title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/brilliancev1/css/style.css" type="text/css" media="screen" />
<?php echo $page_htmlhead; ?>
<!-- PNG FIX for IE6 -->
<!-- http://24ways.org/2007/supersleight-transparent-png-in-ie6 -->
<!--[if lte IE 6]>
<script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/brilliancev1/js/pngfix/supersleight-min.js"></script>
<![endif]-->
<!-- jQuery - the core -->
<script src="<?php echo SITE_URL?>/lib/skins/brilliancev1/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/brilliancev1/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<!-- Sliding effect -->
<script src="<?php echo SITE_URL?>/lib/skins/brilliancev1/js/slide.js" type="text/javascript"></script>
<!-- Header Images Sliding effect -->
<script src="<?php echo SITE_URL?>/lib/skins/brilliancev1/js/s3Slider.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
   $('#s3slider').s3Slider({
	  timeOut: 9000
   });
}); 
</script>
</head>
<body>
<?php $page_htmlreq; ?>

  • Like 1

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