Jump to content

magicflyer

Members
  • Content Count

    381
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by magicflyer

  1. Sorry not maintained anymore. No plans to re-create or re-develop for phpvms at this time.
  2. Should be just this: git pull Run it while in the main phpvms directory where the .git file is. If you've made changes to the original version that won't work instead use this... git stash git pull --rebase git stash apply I like this: http://rogerdudler.github.io/git-guide/ Git will override any code on there. Be ready to handle merge conflicts - Those are always fun.
  3. Checklist: Check Credentials and Spelling (Do it again, even if you think you're right) Does the user 'xxxxxxx' have read/write access to the database? (I'm assuming you're hiding the actual username right?) Did you set a password? Sometimes LAMP environments default to empty or 'root' or 'password' If that doesn't work, please share what LAMP environment you're using on localhost and if you have access to the localhost phpmyadmin.
  4. Well, it's one way to spend those v$ lol. Congrats for the release @servetas
  5. Y'all do know this was posted a year ago lol? If you want web dev projects go to upwork.com
  6. I haven't ran a VA in a while - But consider this: Most Established VAs have their own forum and it would probably be technically difficult for them to transfer their posts or start over from scratch. Their pilots would probably get angry if they lose their post history. God knows why lol.
  7. That first image doesn't load...Could that be the problem? Try replacing it with a valid URL.
  8. On chrome, go to that pilot pending page Right click > Inspect > Console then copy/paste or screenshot all the error messages to here. Like this:
  9. I'm not going to code it...but if anyone were to implement this efficiently you would use a Graph Data Structure with Dijkstra's algorithm to find the shortest path between two destinations (This is probably the same algorithm that big airlines use for booking system). I guess an easy way to cheat around is just to code a multi-leg schedule system. So to answer your first question, yes it is possible. This would be a pretty good Software Engineering challenge for someone in the community.
  10. I'm trying to learn Laravel, but obviously the current Codon Framework on PHP7 version is more popular. So, most likely the latter but I'll give the former a shot later. Sounds Easy. What kind of data do you want to see?
  11. Hey guys, been a long time since I coded in PHP so I thought why not go back to where I started as a refresher. So, I'm looking to put together a phpVMS Module. Personally, I'm looking for something simple yet needed. But some other dev may be interested in picking up your idea. So, Post your module ideas for phpVMS. I'd love for this to be an open discussion by the community to see what they can improve about phpVMS as a whole.
  12. It's the v2.0 phpVMS with php 7 https://www.virustotal.com/#/file/df4d159938ddea35d42049ad50ac73131074162800c547580f85e3d1a62bb147/detection Webroot has it listed. The php5 is also listed with the same database- https://www.virustotal.com/#/file/7113062ae5d58c5519b1f1c1151a84ccf62c955a7a3a185334c6647b846c1e76/detection
  13. I ran a checksum on VirusTotal a couple weeks ago and the phpVMS .zip file is listed on one of the databases. Maybe add a .txt file, lol?
  14. A2Hosting is 7.1 defaults to 7.1 Bluehost is 7.0 InMotion is 7.1 defaults to 7.0 I thought I had a GoDaddy one, but that's managed WP(Which defaults to 7.0 and can't change)
  15. 7.2 hasn't caught on with the host I use(A2Hosting). I checked a couple client accounts and its not being used by InMotion nor Bluehost either. That should definitely be out of the question, for now.
  16. It shows that the Facebook Plugin & The map you have is loading really slow. See what happens if you comment that out. I guess this is just a matter of optimizing the code and minifying the CSS and JS. I'm a little curious as to how it works on certain directories and others not. Please let me know if you find an answer, I'd love to know it. Edit: I wonder, is there a difference in the .htaccess files?
  17. Ok. Now, that's a tough one. When you say it loads slow, what do you mean? Does the screen stay white for a long amount of time, or does the page load and just the progress circle keeps going? I did a test on pingdom, and I'm getting 5seconds which isn't too bad given all that's going on in the page.
  18. Hmm. Okay, well what I'm thinking is a lot of shared hosts have litespeed+Nginx installed or an equivalent software that speeds up mySQL(and a bunch of other stuff). This is usually not included with the VPS(Because of the way licensing works), so a lot of queries in a short amount of time would result in a drastic performance difference. That would explain why this skin performs better when its running on the other host. Could it just be that this skin is running more SQL queries on homepage load time? That would lead to a quick fire of SQL queries.
  19. I hate to point out the obvious, but could it just be the server itself? I'm thinking there might be a runaway process on the server that's just causing it to run very slow when running PHP queries. Some hosts have a "Select PHP Version" option, go ahead and find that on cPanel and switch to another PHP version and back. There's a mechanism in there that kills PHP processes. Kind of like that ol' "Turn it off and turn it back on" trick. How many installations of phpVMS/other CMS are you running on one shared server? I've had clients in the past thinking they could get away with running multiple softwares on one shared host(Spoiler Alert: Didn't work). Other than that, your page size is 3.6mb which isn't too bad. Maybe that live flights plugin keeps querying the entire airports table(maybe the schedules table as well) and just slows everything down. Try to comment out that code and see if there's any changes.
  20. I think this may be what he's looking for.
  21. Been a long time since I looked at FlightAware. Their new pricing structure looks a lot more reasonable than what they had last time. Have you considered doing a chron job to get the schedules for the most popular airlines?
  22. Works just fine. Make sure you have the PHP closing tags correctly....https://ideone.com/bQqklA And for your second question...you can use. Catch is I think this code will only work in PHP 7: echo $parkings[$info->destination[0]->icao_code] ?? "Some message that it does not exist";
  23. Still o(N) but cleaner to read. <?php $zurich = ['Terminal 1 Dock A', 'Terminal 2 Dock B', 'Terminal 3 Dock E']; $parkings = [ 'LSZH' => $zurich[array_rand($zurich)], 'BKPR' => 'Stands 201 - 203', 'GCFV' => 'Stands 18 - 22', 'GCLP' => 'Stands T02 - T07', 'GCRR' => 'Stands T01 - T07', 'GCTS' => 'Stands F02 - F08', 'HEGN' => 'Stands 69 - 74', 'HESH' => 'Stands 26 - 33', 'KTPA' => 'Stands 85 - 89', 'LBWN' => 'Stands 15 - 19', 'LCLK' => 'Stands 22 - 26', 'LICC' => 'Stands 327 - 331', 'LPMA' => 'Stands A5 - A10', 'MUHA' => 'Stands 10 - 11', 'LEPA' => 'Stands 40 - 63', 'LIEO' => 'Gates 01 - 05', 'LEIB' => 'Stands 27P - 31P' ]; echo $parkings[$info->destination[0]->icao_code];
  24. Everybody is going into the implementation, but let's start with this first: Should you launch a virtual airline? Many people drop hundreds of dollars on a VA over the course of a year only to find out they (1) Don't have the time to maintain a whole community (2) They're the only ones flying in it, in which case (3) They didn't need a virtual airline in the first place. Food for thought <3
×
×
  • Create New...