Jump to content

web541

Members
  • Posts

    700
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by web541

  1. Which link? Do you mean the link to file the pirep? www.yourva.com/index.php/pireps/filepirep
  2. Which section do you mean? If it's the user section, make sure that your pilots have a hub assigned to them and make sure that your schedules have been put in correctly. Also, make sure that your schedules have the correct day of the week, if it is Monday, then you will l only see schedules for Monday, etc. If it's the admin section, Go to your FTP and go into the admin/action.php Find this line error_reporting(E_ALL ^ E_NOTICE); And replace it with this line ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
  3. As stated above, are they enabled? And are the aircraft registrations assigned to your schedules restricted by ranks? If they are and you have not reached the rank to fly that aircraft, then you won't see it I believe. Check that in your local.config.php that this # Pilot pilots to only fly aircraft they're ranked to Config::Set('RESTRICT_AIRCRAFT_RANKS', false); Is set to 'false' then see if you can see these schedules. And while you are in there, check to see what these values are in case someone has bidded on these flights, but considering you are importing them and may have a lot, this may not make a difference. # If someone places a bid, whether to disable that or not Config::Set('DISABLE_SCHED_ON_BID', false); Config::Set('DISABLE_BIDS_ON_BID', false);
  4. take out these lines <script src="<?php echo SITE_URL?>/lib/skins/WEF3.0/js/jquery.js" type="text/javascript"></script> <script src="<?php echo SITE_URL?>/lib/skins/WEF3.0/js/cloudslider.jquery.min.js" type="text/javascript"></script> and go into the cc_vaskin_02 skin and remove this line off your code <script src="<?php echo SITE_URL?>/lib/skins/cc_vaskin_02/js/timePictureChange.js" type="text/javascript"></script> then before your </head> tag place this <script> jQuery.noConflict(); </script>
  5. By the looks of things, there is a few problems with your animsition.js file. Try removing it from the skin and see if there are any more errors.
  6. For a temporary solution, you are really not supposed to do this because it will cause issues in the future, Before your javascript in your head of layout.tpl put this <?php echo $page_htmlhead; ?> And just before your </head> tag, place it again and hopefully someone else can come up with a more permanent solution - if you go to the errors tab in firebug, what errors do you get? Have you checked on the forums, there seems to be a lot of posts about this?
  7. Has the skin got the <?php echo $page_htmlhead; ?> In the head of layout.tpl? Is there any javascript or jquery libraries referenced at the top of any of the skin templates (not layout.tpl)?
  8. What do you mean by this? Where is the error showing?
  9. Can you make sure that in your local.config.php you have got the vacentral api server to the following Config::Set('VACENTRAL_API_SERVER', 'http://api.vacentral.net');
  10. I'm sure there's a better way to do this, but here's a quick solution <?php # This will only show this message if it's not a popup window # Ends on line 13-15 if(!isset($_GET['newwindow'])) { ?> <h3>Requirements for Online Checkin</h3> <p>To proceed through Security Checkpoint, you will need a government-issued photo ID and either a Boarding Pass or Security document. <br /> Customers under 18 years of age are not required to show government-issued photo ID.</p> <p><a href="#" onclick="window.open('<?php echo actionurl('/schedules/boardingpass/'.$schedule->id.'?newwindow');?>'); return false;">Open in new window for printing</a></p> <?php } ?> <style> /* Some integrated styles here, for the popup */ #pass1 { background-image: url(http://va-airlaguna.do.am/12.png); background-repeat: no-repeat; padding-bottom:300px; } </style> <div id="pass1"> <p style="position:absolute;margin-left:173px; padding-top:100px;"> <strong><?php echo chr(rand(65, 90)); echo rand(1, 30); ?></strong></p><br /> <p style="position:absolute;margin-left:284px; padding-top:80px;"> <strong><?php echo chr(rand(65, 90)); ?></strong> <br /></p> <p style="position:absolute;margin-left:440px; padding-top:80px;"> <strong> <?php echo $schedule->flightlevel; ?> </strong> <br /></p> <p style="position:absolute;margin-left:230px; padding-top:129px;"> <strong> Внутренний </strong> <br /></p> <p style="position:absolute;margin-left:170px; padding-top:190px;"> <strong> <?php echo "$schedule->depicao";?> </strong> <br /></p> <p style="position:absolute;margin-left:376px; padding-top:190px;"> <strong> <?php echo "$schedule->arricao";?> </strong> <br /></p> <p style="position:absolute;margin-left:170px; padding-top:225px;"> <strong> <?php echo $schedule->code.$schedule->flightnum?> </strong> <br /></p> <p style="position:absolute;margin-left:588px; padding-top:75px;"> <strong> <?php echo $schedule->deptime; ?> </strong> <br /></p> <p style="position:absolute;margin-left:588px; padding-top:130px;"> <strong> <?php echo $schedule->arrtime; ?> </strong> <br /></p> <p style="position:absolute;margin-left:590px; padding-top:170px;"> <strong> <?php echo $schedule->aircraft?> </strong> <br /></p> <p style="position:absolute;margin-left:660px; padding-top:60px;"> <img src="http://va-airlaguna.do.am/3xqzq-Earth_Rotation_Animation.gif" style="height:40%;width:40%;" alt="Rotating Globe" /> <br /></p> </div>
  11. Or if you were referring to your post in the "file_exists()" error, then have a look at this http://forum.phpvms.net/topic/22972-warning-file-exists-error/page__st__20#entry121598
  12. http://forum.phpvms....ng/#entry120884 - Should be similar to what you are trying to do
  13. Is there anything that is the same on both pages that could be outputting that error?
  14. Have there been any flights in the database -> your skin might be looking for the past 5 flights. Have you tried it with Crystal?
  15. Hmmm, can you see if this works http://forum.phpvms.net/topic/22164-phpvms-55/#entry119612
  16. This seemed to fix a lot of my problems http://forum.phpvms.net/topic/20629-most-common-fixes-phpvms-installation/ But yes, remember to use simpilot's version - https://github.com/DavidJClark/phpvms_5.5.x
  17. Can you please check that the function calculatePIREPPayment Is in your PIREPData.class.php and if so, can you please post your code for that function
  18. As per this post: http://forum.phpvms.net/topic/22757-vacentral-status-and-updates/#entry120870 The phpVMS API server is now redundant, so change your code to look like this: Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms'); Config::Set('PHPVMS_API_SERVER', 'http://api.vacentral.net'); Config::Set('PHPVMS_NEWS_FEED', 'http://feeds.feedburner.com/phpvms'); Config::Set('VACENTRAL_NEWS_FEED', 'http://feeds.feedburner.com/vacentral'); Config::Set('GEONAME_API_SERVER', 'http://ws.geonames.org'); In your local.config.php file
×
×
  • Create New...