Jump to content

Recommended Posts

Posted

OK, so I just got my site opened, but pilots are saying that there is a lot wrong with the schedules. First of all, I'm getting the No Route Passed error that I can't find the answer to on here. Secondly, when I click View Details on the schedule, the white background doesn't seem to cover the whole page. I tried using clear:both but couldn't remember where to put it. That's all I can remember at the moment.

Posted

Found bit of JavaScript in the footer, related to Clicky. I ran the error console and got this:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.host]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://google-toolbar-lib/content/toolbar.js :: anonymous :: line 1231"  data: no]

Also got:

Error: google is not defined
Source File: http://www.freshjetvirtual.com/index.php/schedules/details/2
Line: 115

Which leads to this:

<script type="text/javascript">
var options = {
mapTypeId: google.maps.MapTypeId.ROADMAP

The one above is for the Map in the schedules details.

  • Moderators
Posted

Do you use that new admin editor? I would go back to the standard editor as there are a few js files in there and i couldn't verify them so im not uploading to my site.

Also that map error i found when browsing your site, that should be as easy fix just go through the myroutesmap and routemap tpl's and check with the standard templates.

Posted

Now I've noticed none of my maps appear on the details, PIREPs, or Live ACARS. Also, I changed replaced the schedule_details.tpl but the same occurs. Help!!!!

I'm on MSN btw Mark...

  • Moderators
Posted

Check the link in your header for the javascript that the maps use,

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

Posted

OK, it now shows up on the ACARS page. But the schedule briefing is messed up. It says JS must be enabled to view the map, whereas it is, and the background is messed up. And what about the No Route Passed?

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