Jump to content

spkier

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by spkier

  1. 2 minutes ago, EdgarsZabroda said:

    Hi everyone!

    I'm having problems logging into my PHPVMS through kACARS, it just simply won't login.

    Here's what I tried:

    1. Replacing modules. Some came up with compatibility issue.

    2. Setting the permissions of the PHPVMS site.

    3. Tried various existing pilot IDs: instead of TST0002 wrote 2 and then 0002 and none worked.

    4. Tried editing the schedule's flight number.

    I've been searching for 2 days and none helped :(

    The website is http://178.137.246.251/

    I will provide the login details through PM.

    BTW I'm using PHPVMS v2 since it works best.

    in Kacars you ahve to go to VA details put in the link to you're home site just the ip address nothing else not a single WWW/https

    and then the username and password below but please bear in mind that it can be cap sensetive i'm not sure i use smartcars2 but kacars and CCFtracker before that!

    and that ip address looks like a vps to me can you confirm what platform you are running it on? just in case it's a vps

    go to you're folder where phpvms is installed and in console type chmod -R 777 (folder name of phpvms) that will make all directories read and write + execute

  2. okay so i got 25k airports imported and i tried to import schedules from flightware but i don't know where i can get my userid and my api key even tought i signedup for 500 free queries

    if is there any other way to get schedules maybe anyone has a schedules file for sharing? :)

    and if anyone knows a site that sells schedules for phpvms 5.5.x for less than 5 dollars? spended enough money on smart cars and all that crap allredy but i forgot the most important the routes...

     

    i'm creating a british Airways and Widerøe Flight company on my website any routes from there witch you can offer as payware or freeware would be really greatfaul

  3. 39 minutes ago, mischka said:

    35 thousand airports? I didn't know there are that many. 

    its a pity you didn't use web541's suggestion of the virtualairlines.eu api, would have saved you a lot of work..

    i did use the api but it dint work however it was actully alot easier to just import them via mysql from p3d v4 instead of pulling the airports from real life...

    btw i need a few schedules do you mind giving me maybe a few? and by few i mean below 1000 routes just for testing pursposes 

    or if you know a way to get a real schedules without having to pay it would be really greatful!

    • Confused 1
  4. 17 minutes ago, spkier said:

    i'm sorry that i have multiple threads open however i tought it was a good idea to not mix them up as i have multiple problems

    btw anyone who has a schedule file a little kickstart so it's a bit easier to add routes?

    i attached the file i'm trying to upload to Mysql

    i'm trying to import a few hundred thousend airports

    this is the error i get 

    Feil

    SQL-spørring:

    -- -- Dataark for tabell `phpvms_airports` -- INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES (678, '0II2', 'Creighton Airport', 'US', 41.4573, -86.1244, 0, 0, ''), (679, '0II3', 'Miller Strip', 'US', 40.6278, -86.0378, 0, 0, ''), (680, '0II5', 'Marshall Field', 'US', 40.6595, -86.8572, 0, 0, ''), (681, '0II6', 'Kropf Airport', 'US', 41.6431, -85.8297, 0, 0, ''), (682, '0II7', 'Frost Field', 'US', 39.7956, -85.7861, 0, 0, ''), (683, '0II9', 'Winters Airport', 'US', 39.5342, -86.5772, 0, 0, ''), (684, '0IL0', 'Hamilton Memorial Hospital Heliport', 'US', 38.0867, -88.5389, 0, 0, ''), (685, '0IL1', 'Loyola University Medical Center Heliport', 'US', 41.8609, -87.8364, 0, 0, ''), (686, '0IL3', 'Flying B Ranch Airport', 'US', 40.157, -87.6745, 0, 0, ''), (687, '0IL4', 'Good Samaritan Hospital Heliport', 'US', 41.8189, -88.0078, 0, 0, ''), (688, '0IL6', 'Kishwaukee Comm Health Heliport', 'US', 41.9631, -[...]

    MySQL sa: Dokumentasjon

    #1062 - Duplicate entry '678' for key 'PRIMARY' 

    phpvms_airports.sql.zip

    Solved i had to delete the old table first

  5. i'm sorry that i have multiple threads open however i tought it was a good idea to not mix them up as i have multiple problems

    btw anyone who has a schedule file a little kickstart so it's a bit easier to add routes?

    i attached the file i'm trying to upload to Mysql

    i'm trying to import a few hundred thousend airports

    this is the error i get 

    Feil

    SQL-spørring:

    -- -- Dataark for tabell `phpvms_airports` -- INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES (678, '0II2', 'Creighton Airport', 'US', 41.4573, -86.1244, 0, 0, ''), (679, '0II3', 'Miller Strip', 'US', 40.6278, -86.0378, 0, 0, ''), (680, '0II5', 'Marshall Field', 'US', 40.6595, -86.8572, 0, 0, ''), (681, '0II6', 'Kropf Airport', 'US', 41.6431, -85.8297, 0, 0, ''), (682, '0II7', 'Frost Field', 'US', 39.7956, -85.7861, 0, 0, ''), (683, '0II9', 'Winters Airport', 'US', 39.5342, -86.5772, 0, 0, ''), (684, '0IL0', 'Hamilton Memorial Hospital Heliport', 'US', 38.0867, -88.5389, 0, 0, ''), (685, '0IL1', 'Loyola University Medical Center Heliport', 'US', 41.8609, -87.8364, 0, 0, ''), (686, '0IL3', 'Flying B Ranch Airport', 'US', 40.157, -87.6745, 0, 0, ''), (687, '0IL4', 'Good Samaritan Hospital Heliport', 'US', 41.8189, -88.0078, 0, 0, ''), (688, '0IL6', 'Kishwaukee Comm Health Heliport', 'US', 41.9631, -[...]

    MySQL sa: Dokumentasjon

    #1062 - Duplicate entry '678' for key 'PRIMARY' 

    phpvms_airports.sql.zip

  6. 9 hours ago, flyalaska said:

    Here is what I have in mine.

    
    define('GEONAME_URL', 'http://ws.geonames.org');

     

    Dosn't work :/

    maybe i should abandone phpvms as there is more errors than users

     

    error: Failed to load resource: the server responded with a status of 404 (Not Found)
    egll&callback=jsonp1519802515108 Failed to load resource: the server responded with a status of 404 (Not Found)

     

    edit: now i get jquery.min.js:127 GET http://ws.geonames.org/airport/get/ENGM&callback=jsonp1519802943206 net::ERR_ABORTED

    this is from google chrome 

  7. 20 minutes ago, web541 said:

    The 'phpvms' API server is currently down (or at least responds differently to phpvms < 7.0), you can either use this

    or just wait until phpVMS v7.0 is released (I believe you can fiddle with it in alpha at the moment)

    Another option is to manually add each airport from an online source and it should work as normal if you don't have too many to add.

    Thanks but trying to loook up the airports now just gives me a 404 error not found so that site is also down... and i need to add 37k routes and many thousend airports...

  8. 1 minute ago, web541 said:

    Are you sure that .BoundsBounds and .Bounds are functions in the js Google Maps API? They might be but last time I checked they weren't. And also, there is no need to use an iframe in this circumstance due to the nature of how phpVMS works.

     

    Are you running PHP 7.0 at the moment?

    You're right boundsbounds is not a function my bad my skills at java isn't the best but tought i could give it a shot but it's complicated enought for me hope you figuere it out

  9. https://pastebin.com/MYF5RHS2

    i found the errors go to pastebin and see the code i repaired it should fix it but please make a backup

    i have not tested it!

    just replace it with acarsmap.js

  10. 3 minutes ago, flyalaska said:

    http://www.flyaka.com/index.php/acars

    I reverted back to php5.6 at the moment. Inair images show for about 5 seconds than disappears.

    this is the errors i came up with when debugging you're site

    i will take  a closer look and see what needs to be changed and i suggest you remove the flight map and readd it as a iframe dunno if that's gonna fix it but if you have more than 2 live maps maybe an iframe of the first one wont hurt?

     

     

    Uncaught TypeError: Cannot read property 'querySelector' of null
        at initializeClock (count.js:18)
        at count.js:41
    external.js:269 No widgets found.
    2js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
    _.Kb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38
    acarsmap.js:199 Uncaught TypeError: map.fitBounds is not a function
        at populateMap (acarsmap.js:199)
        at Object.success (acarsmap.js:60)
        at j (jquery.min.js:2)
        at Object.fireWith [as resolveWith] (jquery.min.js:2)
        at x (jquery.min.js:4)
        at XMLHttpRequest.<anonymous> (jquery.min.js:4)
    util.js:237 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
    fC.j @ util.js:237
    2js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
    _.Kb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38
    acarsmap.js:199 Uncaught TypeError: map.fitBounds is not a function
        at populateMap (acarsmap.js:199)
        at Object.success (acarsmap.js:60)
        at j (jquery.min.js:2)
        at Object.fireWith [as resolveWith] (jquery.min.js:2)
        at x (jquery.min.js:4)
        at XMLHttpRequest.<anonymous> (jquery.min.js:4)
    2js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
    _.Kb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38
    _.Nb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:39
    (anonymous) @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:53
    _.m.setValues @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:122
    He @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:69
    _.Ie @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:70
    populateMap @ acarsmap.js:100
    success @ acarsmap.js:60
    j @ jquery.min.js:2
    fireWith @ jquery.min.js:2
    x @ jquery.min.js:4
    (anonymous) @ jquery.min.js:4
    XMLHttpRequest.send (async)
    send @ jquery.min.js:4
    ajax @ jquery.min.js:4
    liveRefresh @ acarsmap.js:53
    (anonymous) @ acarsmap.js:48
    acarsmap.js:199 Uncaught TypeError: map.fitBounds is not a function
        at populateMap (acarsmap.js:199)
        at Object.success (acarsmap.js:60)
        at j (jquery.min.js:2)
        at Object.fireWith [as resolveWith] (jquery.min.js:2)
        at x (jquery.min.js:4)
        at XMLHttpRequest.<anonymous> (jquery.min.js:4)

  11. 2 hours ago, flyalaska said:

    I was on php5.6 prior. When I went to php7, I had no modules errors. Just the map not showing, and errors when someone registers, uses the contact form, and when I approve a PIREP. 

    map not showing like it's white?

    if so all you gotta change the API keys

    of google maps of are you saying that the map shows but not the route?

    my bad if misunderstood

  12. Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms');

    Tried the above code into app.config and local.config files in core folder but with no luck 

    when i hit Look up airport

    i'm stuck at getting "Fetching airport info"

    and nothing happens below is a image of what i tried:

    https://imgur.com/a/TLAIq

     

    Website: http://192.3.141.136/dashboard

    running: ubuntu 14.04 php 5.2.0 mysql 5.5 apache2

     

  13. 9 hours ago, flyalaska said:

    I am using phpVMS 5.5.2 on php7. Upgraded  my php to 7 last night. Everything works fine except I get no inair images when there flights being flown. Any ideas?

     

     

    because 5.5.x is not supporting  php7

    only 5.0.0 classic witch is here on download supports php7

    and if you do run php7 you will get errors beacuse the coding is shit to be honest i ahd so many errors with php7 and phpvms 5.0.0 and 5.5.5 

    better just downgrade to php 5.2 that solved the flights for me and many other errors

  14. 40 minutes ago, Vangelis said:

    Yes it does work with the latest version of phpvms7. Opensource was the previous version this version is not .

    Good to hear.

    btw do you offer payments to be able to script my own features? or if you add a live chat you can use my dedicated server as chat server

    how does that sound for you?

    i currently have no plans to pay anything right now but if the option is avaible ro you then i know who to go to once payment becomes avaible

  15.  

    for ubuntu 14.04 and above:

    apt-get update && apt-get distupgrade && Sudo apt-get install php7.1 && apt-get install mysql7.0

     

    for Cpanel users

    open a ticket and ask carefully

    if they support it or plan except if rhey allredy has a php switcher in cpanel

    shared host is shir to be honest better get a cheap vps they cost most likly the same and ypu get full root so yoy have control of everything!

  16. 14 hours ago, Nabeel said:

    If you're on PHP 7.0 it will mostly work, but you might run into some issues.

    I heard Phpvms 7 got an Open source acar working and i testes it it sems to work so im going to reinstall my vps Anyone who wants help on how to install on a vps let me know ill be using a ubuntu 16.04

  17. 3 hours ago, LHVirtual said:

    Hello developers, 

    first of all thank you for your hard work and releasing the phpVMS 7.

     

    Unfortunately, after a successful install the page show like this to me. What did I do wrong?

    52803d-1519562224.png

    works fine here on my vps unfortunly i went back to phpvms 5.5.x due to no acar  so i cannot prove anything however i did see that if you don't ahve php7.1 witch is rugered by phpvms 7.2 it won't load properly but should work

  18. http://192.3.141.136/dashboard/index.php/registration

    register and bid a flight once you ahve bidded and you go to my bids

    there is no bids smartcars wont find the bid either

    EIDT: it happens with default skin on every version that exist exepct on phpvms 7.0but that dosnt  have an acar

    registration is automatic until site is fixed

    here is my schedules_bids.php

     

    SOLVED: adding a euquipment in flight is a good idea

     

    <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
    <section class="content-header">
        <h1>My Bids</h1>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-md-10 col-md-offset-1">
                <div class="box box-primary">
                    <div class="box-body table-responsive">
                        <?php
                            if(!$bids)
                            {
                                echo '<div class="callout callout-info">
                                <h4>No Bids Found</h4>
                                You have not booked any flights.
                                </div>';
                            } else {
                        ?>
                        <table class="table table-hover">
                            <thead>
                                <tr>
                                    <th>Flight Number</th>
                                    <th>Route</th>
                                    <th>Aircraft</th>
                                    <th>Departure Time</th>
                                    <th>Arrival Time</th>
                                    <th>Distance</th>
                                    <th>Options</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php
                                    foreach($bids as $bid)
                                    {
                                ?>
                                <tr id="bid<?php echo $bid->bidid ?>">
                                    <td><?php echo $bid->code . $bid->flightnum; ?></td>
                                    <td align="center"><?php echo $bid->depicao; ?> to <?php echo $bid->arricao; ?></td>
                                    <td align="center"><?php echo $bid->aircraft; ?> (<?php echo $bid->registration?>)</td>
                                    <td><?php echo $bid->deptime;?></td>
                                    <td><?php echo $bid->arrtime;?></td>
                                    <td><?php echo $bid->distance;?>nm</td>
                                    <td><a href="<?php echo url('/pireps/filepirep/'.$bid->bidid);?>">File Report</a><br />
                                        <a id="<?php echo $bid->bidid; ?>" class="deleteitem" href="<?php echo url('/schedules/removebid');?>">Remove Bid (Double click)</a><br />
                                        <a href="<?php echo url('/schedules/brief/'.$bid->id);?>">Pilot Brief</a><br />
                                        <a href="<?php echo url('/schedules/boardingpass/'.$bid->id);?>" />Boarding Pass</a>
    
                                    </td>
                                </tr>
                                <?php
                                    }
                                ?>
                            </tbody>
                        </table>
                        <?php
                            }
                        ?>
                    </div>
                </div>
            </div>
        </div>
    </section>

     

×
×
  • Create New...