Jump to content

web541

Members
  • Posts

    700
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by web541

  1. 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);
    

  2. 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);
    

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

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

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

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

    • Like 1
×
×
  • Create New...