Jump to content

skyguyt

Members
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by skyguyt

  1. 2 minutes ago, ProAvia said:

    Best of luck with your project.

    Keep us all updated on your progress.

     

    As I'm sure you are aware - use caution in selecting a developer.

    There have been reports of "developers" using others work without permission. Whether payware or freeware - all original license terms and attribution requirements must be adhered to. Not following licensing requirements is copyright infringement and theft. Some will steal others payware or freeware work and pawn it off as their own.

     

     

     

     

    Thank you! I'm loving everything phpVMS v7 related but it just does not have the complete functionality that we need to continue to run the VA. 

     

    Most definitely and anyone selected will be vetted thoroughly before being selected. Thankfully I've been around long enough to know a few of the things to look out for with some of the shady operations around!

     

    Is there a public/private list of those who have already been found to be stealing work? I hoped that by not providing my direct email that we would potentially weed out any of the aforementioned shady operators and keep it to any genuine users on the forums.

     

    Thank you!

  2. Hello,

     

    I am in search of a developer for our new website that will be moving from phpVMS v5 to phpVMS v7. We have a lot of modules working with phpVMS that we would need to have developed from scratch for phpVMS v7 before we could make the change to avoid losing features for our pilots as we are a very established VA already. 

     

    Of course this would be a paid project.

     

    Please PM me for details and to find out more about what we need done so we can figure out a good price for your services. 

     

    Thank you very much!

  3. On 8/13/2022 at 6:04 PM, Strider said:

    Airac 2208

     

    Data only just import into the navdata table, if it fails, back up the table, then empty it then upload new data in the zip and you should be good to go.

    Hey Strider! I'm getting a 500 error from your link. 

  4. 15 hours ago, Curshad said:

    Nothing looks wrong from what i can see. Try a hard refresh Ctrl+f5 if nothing still shows up you need to go to the acars map template file and make sure your url links in those files are reflecting your new url maybe it's still using the old url link.

     

    Thanks for pointing out actually looking at the acars map file instead of just the acars.js file. I fixed it by removing the url portion of the script;

     

    iconUrl: url + "/lib/images/inair/" + heading + ".png",

    to 

    iconUrl: "/lib/images/inair/" + heading + ".png",

     

    And it works great!

    • Like 1
    • Thanks 1
  5. Completed the .htaccess/url rewrite actions tonight on my website but am running into an issue with making the icons re-appear on various pages. I did figure out the view pirep page fix by changing

     

    var url = window.location.href.split("index.php")[0];

    to 

    var url = window.location.href.split("pireps")[0];

    inside of the phpvms.js file but can not quite figure out how to fix the live map in air icons with the following code written in the acarsmap.js 

        const getHeadingIcon = (heading) => {
            if (!(heading in headingIcons)) {
                headingIcons[heading] = L.icon({
                    iconUrl: url + "/lib/images/inair/" + heading + ".png",
                    iconSize: [35, 35]
                });
            }
    
            return headingIcons[heading];
        };

     

    Any help would be much appreciated! 

     

    Version: 5.5.2 (Simpilot's)

    php Version: 5.4

    MySQL

     

    Thank you!

     

  6. 18 minutes ago, skyguyt said:

    Well, fixed all errors. I had been using the old EventsData class file, uploaded the new one, changed all of the "public function" to "public static function" values, and it all shows correctly! Now the only thing left is figuring out why it somehow is not connected to the database anymore. Admin module won't push anything to the database after this change and even though there is something in the database from before I fixed the first reported error, it does not show on the website. 

     

    The search continues lol. 

    FIXED!

     

    The EventsData.class.php needed the added 

    ".TABLE_PREFIX."

    added before each of the db calls. Utilize all other fixes in this thread and then also add the change and you should be golden. 

     

    Too much coding, not enough coffee. Hopefully this helps others!

  7. 16 minutes ago, skyguyt said:

    Sorry to revive an old thread but I am experiencing the same issues as above and was wondering if there was any fix? I change the "public function" to public static function after getting;

     

    
    Strict Standards: Non-static method EventsData::get_upcoming_events_dates() should not be called statically in

     

    But then get the following error:

     

    
    Fatal error: Using $this when not in object context in

    Using SimPilot's 5.5.2, php version 5.4.

    Well, fixed all errors. I had been using the old EventsData class file, uploaded the new one, changed all of the "public function" to "public static function" values, and it all shows correctly! Now the only thing left is figuring out why it somehow is not connected to the database anymore. Admin module won't push anything to the database after this change and even though there is something in the database from before I fixed the first reported error, it does not show on the website. 

     

    The search continues lol. 

  8. Sorry to revive an old thread but I am experiencing the same issues as above and was wondering if there was any fix? I change the "public function" to public static function after getting;

     

    Strict Standards: Non-static method EventsData::get_upcoming_events_dates() should not be called statically in

     

    But then get the following error:

     

    Fatal error: Using $this when not in object context in

    Using SimPilot's 5.5.2, php version 5.4.

  9. 1 hour ago, dale152 said:

    To find out phpVMS and CCFTracker doesn't work on the hosting service I am using. And yes, I am serious about starting a VA, but it's only in the infant stages at the moment - hence not purchasing a domain yet.

     

    I think you're avoiding the point of the CCFTracker. You've managed to provide support for other users on this topic, but it seems because I don't have paid hosting yet, I'm irrelevant.

    Hey Dale,

     

    ProAvia is one of the most helpful individuals on this forum and definitely goes way above and beyond to help whenever he can. He is not saying that you are irrelevant and avoiding any assistance to you, he is simply stating that without a paid domain and solid paid host, options are very limited on what you are able to do. Free hosts do not give you nearly half of what is required to successfully run phpVMS and without your own domain name, like ProAvia stated, you are limited to using a local option or trying to force things to "play nicely" with a free domain. 

     

    I would be willing to bet that once you get the paid hosting and secure your domain name that you would have this working 100% or at least have a better idea of where to start troubleshooting. 

     

     

    • Like 1
  10. On 3/17/2020 at 6:13 AM, VectoringDesigns said:

    There is going to be a slight delay on release due to Health issues. However we expect to be back within 7 days. 
    Sorry for the hassle

     

    Stay safe and hope you get feeling better very soon!

  11. 4 hours ago, VectoringDesigns said:

    Yes due for release this coming Friday ... Demo will be live Monday. Just been going through a change of hosts.

     

     

    Very nice! Looking forward to it.

  12. On 2/25/2020 at 1:47 AM, VectoringDesigns said:

    Looking to release both versions to the public in the first two weeks of march 

    Any update? This is looking amazing!

  13. On 11/16/2019 at 7:27 PM, ProSkyDesign said:

    you're welcome

    as ProAvia said, you will loose that feature, the best thing you can do is import de DB directly from phpmyadmin (or other mysql gestor) instead of use import function in admin panel, this will ignore that rule (because the duplicate check is created with a php if rule so in data table this rule doesn't exist).

    Other thing you can do is add to your csv a column (last column) called id and put the id of the schedule here with the format of autoincrement (starting by 1 and so...)

    in line 359 of admin/module/Import/Import.php you should add $id variable

    
    // list fields:
                $code = $fields[0];
                $flightnum = $fields[1];
                $depicao = $fields[2];
                $arricao = $fields[3];
                $route = $fields[4];
                $aircraft = $fields[5];
                $flightlevel = $fields[6];
                $distance = $fields[7];
                $deptime = $fields[8];
                $arrtime = $fields[9];
                $flighttime = $fields[10];
                $notes = $fields[11];
                $price = $fields[12];
                $flighttype = $fields[13];
                $daysofweek = $fields[14];
                $enabled = $fields[15];
                $week1 = $fields[16];
                $week2 = $fields[17];
                $week3 = $fields[18];
                $week4 = $fields[19];
                $id = $fields[20];

    in line 437 of admin/module/Import/Import.php in $data array replace the following (adding 'id' value to the data):

    
    $data = array(
                    'code' => $code, 'flightnum' => $flightnum, 'depicao' => $depicao,
                    'arricao' => $arricao, 'route' => $route, 'aircraft' => $ac, 'flightlevel' => $flightlevel,
                    'distance' => $distance, 'deptime' => $deptime, 'arrtime' => $arrtime,
                    'flighttime' => $flighttime, 'daysofweek' => $daysofweek, 'notes' => $notes,
                    'enabled' => $enabled, 'price' => $price, 'flighttype' => $flighttype,
                    'week1' => $week1, 'week2' => $week2, 'week3' => $week3, 'week4' => $week4,
    				'id' => $id
                );

     

    Awesome, I like the idea. So leave the previous changes as well or revert to original files and then implement this new idea?

     

    Thanks!

  14. 53 minutes ago, ProAvia said:

    But you will loose the ability to update the schedules. And if you just delete the schedules to upload a full set again, if the DB is set to auto-increment the record number (which is the usual default), all your old data will be screwed up. For example - you upload 100 routes to a blank schedules table, so record number 1-100. Now, since you can't update any longer, you delete the old schedules and add the new/updated ones back. The record number will start with 101 - so any data stored in other tables referencing the record numbers of the previous schedules won't be able to locate that data cause you deleted it.

    Seems way more trouble than it's worth - unless you want to manually edit the DB directly.

    Ahh, very true and good point. So for an example, yesterday I flew twice with the old schedules and uploaded those flights via SmartCARS to the website. Got them accepted, and they were all fine and dandy. Today I deleted all old schedules when I did the new import and just checked the PIREPs from the old schedules are still locked in to my account and the airline stats even though if you went to search those id's they'd technically be gone and no longer matched in the database as you pointed out. Is there something larger that could potentially go wrong that you are foreseeing that I am missing? It appeared as if the data held enough to keep the profiles and stats populated correctly.

     

    Thank you both for all of your help. I appreciate the time given!

  15. 3 hours ago, ProSkyDesign said:

    Open admin/modules/Import/Import.php and go to line 446

    Replace this:

    
    # Check if the schedule exists:
                if (($schedinfo = SchedulesData::getScheduleByFlight($code, $flightnum))) {
                    # Update the schedule instead
                    $val = SchedulesData::updateScheduleFields($schedinfo->id, $data);
                    $updated++;
                } else {
                    # Add it
                    $val = SchedulesData::addSchedule($data);
                    $added++;
                }

    with this:

    
    # Ignore duplicate schedules:          
    $val = SchedulesData::addSchedule($data);
    $added++;
             

    this will allow you import schedules with duplicate flight code but I guess you should delete first all your schedules and then import news because this won't update the duplicate flights this will append data.

    Worked great, thank you!

  16. On 11/4/2019 at 11:20 PM, ProSkyDesign said:

    You're welcome :)

    Well, that worked perfectly for adding routes in the admin center. Now I am running into the issue with importing through .csv. Any ideas on that? It goes through and adds everything which should be a little over 6,000 total flights, I go back to the main screen and it only shows a little over 3,000 and none of the duplicate numbers are added. 🤨 Any ideas?

  17. On 10/31/2019 at 1:30 PM, ProSkyDesign said:

    Hi, please find the following code in the line 937 of file /admin/module/Operations/Operations.php

    and comment lines bellow, this will allow you to add schedules with same flight num.

    
    $sched = SchedulesData::getScheduleByFlight($this->post->code, $this->post->flightnum);
            if (is_object($sched)) {
                $this->set('message', 'This schedule already exists!');
                $this->render('core_error.php');
    
                return;
            }

    Perfect, thank you very much!

    On 10/31/2019 at 4:26 PM, ProAvia said:

    Or you can add a letter after the flight number.... 45A, 45B, 45C, etc.

    ^ Thanks! I'd done this in the past which definitely works, too. I'm working on a project that is based off of a real world US based airline and feel as though the A, B,C, etc takes away from some of the realism!

  18. Hello,

    I know I have found it in here before but I've spent about an hour searching various things to see if I could find the thread again with no luck. How do I set my settings to accept multiple flights with the same number? Basically when I upload the .csv for schedules and have 2-4 flights with the same number, how do I ensure they all get added instead of the second one overwriting the first and leaving only one in the system.

    For example:

    Flight #45 flies BOS-JFK and then returns JFK-BOS as #45 as well. After uploading the .csv file and by searching #45, I can only get JFK-BOS as that has updated over the BOS-JFK route.

    Thank you!

  19. Good Evening, 

    I recently followed the ReCaptcha v2 Upgrade and am running into an issue where the registration form page just refreshes (with fields still populated after the refresh) and will not submit. No errors, nothing weird... I saw that someone else was having the same problem in the thread and another user was able to solve the issue, but no solution was posted. Does anybody have any experience with this or an idea of what to try?

    Thank you!

×
×
  • Create New...