Jump to content

NWA1999

Members
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

NWA1999's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I thought I tried that before and it did the same thing but I have tried it again and I will report back Thanks Robbie
  2. Hello Sorry the version number in the admin panel is also wrong. We are running phpVMS v5, and to answer your question its MySQL v5.7.34 Thanks Robbie
  3. Hello About 2 years ago we upgraded to PHP 7 from PHP 3 (i know that I waited a long time to ask) .However we are still running phpVMS 2.1.936. Ever since upgrading we have been running into weird database issues. Basically if you try to delete a route a few (few because I don't know how many sometimes 2, 3,7) days later the routes will come back. Same thing when trying to edit routes. Edit the route say you want to make KLM 1234 go EHAM-EGLL instead of EHAM-LOWW. I edit it all is good, a few days later KLM 1234 is back to EHAM-LOWW. Just this past weekend i also noticed this same issue when trying to delete PIREPs I can't for the life of me figure out where I begin looking for the issue (not an expert coder however I do know a bit and learning) Any ideas as to where this issue might be or would this be more of a general SQL/PHP issue suited for stackoverflow? Thanks Robbie
  4. Hi, I'm trying to code functionality within the PIREPData class to divide the inputted passenger amount up into first class, business class, and economy class, all randomized but all passengers will make it. Here's what I've coded $ac = OperationsData::getAircraftByReg($pirepdata['aircraft']); $rem=$pirepdata['load']; if ($rem<=$ac->firstclass) { $first=rand(0,$rem); $rem-=$first; } else { $first=rand(0,$ac->firstclass); $rem-=$first; } if ($rem<=$ac->busclass) { $bus=rand(0,$rem); $rem-=$bus; } else { $bus=rand(0,$ac->busclass); $rem-=$bus; } $econ=$rem; $rem-=$econ; $pirepdata['fclasscount']=$first; $pirepdata['bclasscount']=$bus; $pirepdata['eclasscount']=$econ; However all passengers get put in economy. I know my issue is lines like $ac->firstclass, and $ac->busclass. What should these lines be? These values are in my SQL aircraft table as firstclass, and busclass columns of each row (aircraft) . Thanks Robbie
  5. Okay so it's not smartCARS. I think it has something to do with this not populating.(see zip) Capture.zip
  6. Thanks, I will try that. Unfortunately, manual pireps don't work either. Does it go to smartCARS even with a manual pirep?
  7. sorry I did not mention this I have- Invalid argument supplied for foreach() in /home/skyteam/public_html/lib/skins/nwa_1.0/statistics/statistics_index.tpl on line 226 I am not sure this is affecting it but line 226 reads foreach($routes as $route)
  8. There is no further error now- Thank You! However, when I bid the flight it transfers to smartCARS, and shows up on my site as a bid in the pilot centre. When I file the PIREP, I do not receive any errors and then nothing happens. It does not go to our pilot admin to approve our anywhere else. It's like it disappears after being filed. smartCARS does show all the history but it seems our site does not show the PIREP. Its like its only half connected to the SQL.
  9. Hello, this did not work. I upgraded phpVMS to 5.0. I did not touch simpilot
  10. Hi I'm unable to file PIREPs after a upgrade from phpVMSv2 to v5 ,auto or manual im getting this error in the error log PHP Warning: Creating default object from empty value in /home/****/public_html/core/common/PIREPData.class.php on line 337 Any Ideas? Robbie
  11. We had to upgrade from PHPv5.3 to 7.x. Using a custom kACARS. No errors in the error log Im not sure what you mean by check your permissions
  12. Hi We've setup a test site for our airline as we are making the move to a new provider. Our worldAcars doesnt work on the test site. Ive edited the URLs in settings to our new URL. I can login, get my flight bid, start my flight, end it, however i cant file my PIREP. I just get "Try Again" in red where it usually reads "PIREP Filed". I also don't show up on the map or flight board while im flying. We are using a customized version of ACARS (by FS-Products). IEverything was copied from the old cpanel to the new. Is this even supported anymore? Thanks, Robbie
×
×
  • Create New...