Jump to content

KAC155

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by KAC155

  1. Hi. The filename shown in the error: \core\cache/phpvms_months_since_2013-01-04 08:58:00.cache As Nabeel mentioned, Windows invalid filenames (containing colons " : "). Anyone else faces this when entering the finanace pages? Any fix? Thanks.
  2. Hi, I got from github and the filename is nshahzad-phpVMS-v2.1.935-7-g89e65bb.zip so I assume it is version 2.1.935 ? Is there a newer version with the security patch? Can you please provide a direct link to where to download the latest patched version? Thanks.
  3. We are using Custom kAcars, but I have a general situation about charters. I haven't had much luck with replies on the general support forum. The problem we are having is that all charter flights have zero gross/revenue! I checked the pireps table in the database and it shows the flighttype as 'P' which means passenger flights, not charter ('H'?) My question, are charter flights supposed to have flight type 'H' in database or is 'P' normal? 1) Can someone please check their VA pirep table and see if the charter flights are having their flighttype set to "H" and not "P"? 2) and In general, does PHPVMS handle charter flights "out of the box" in terms of calculating the gross/revenue for a flight? Or is there some additional code / schedule task (cron) that needs to be run? Thanks.
  4. Just to clarify my issue: Currently, charter pireps submitted via (custom) KAcars's Charter option are shown with zero gross/revenue. Is this a default behavior in PHPVMS and needs some cron job to run to fix? Or is there some code modification to address this issue? Thanks.
  5. Hi, can you elaborate a bit on your answer? Are you saying that PHPVMS does not handle charters well (keeps them as zero revenue?) What about this "separate sql" you mentioned, is this some SQL code you had to write yourself? Or is it someone in PHPVMS itself and I just have to run it periodically? Thanks.
  6. Hi. We are using Custom kAcars. Originally, it was without charter option. Then we requested charter option added (checkbox that enabled drop down box that has all the fleet to choose from). The problem we are having is that all charter flights have zero gross/revenue! I checked the pireps table in the database and it shows the flighttype as 'P' which means passenger flights, not charter ('H'?) the kAcars developers says the kAcars has nothing to do with setting P or H. So, it must be phpvms issue. My question, are charter flights supposed to have flight type 'H' in database or is 'P' normal? I'm reviewing the code to see what happens. Currently looking at PIREPData.class.php functions. Any pointers would be appreciated, like how are charter flights supposed to be recognized/handled by the code? (e.g. no matching schedule? what other conditions?) Thanks, Nasser.
  7. Hi. We are using a custom KAcars for PIREPS We noticed that all charter flights (non-scheduled) report zero revenue. I browsed through the PHPVMS code (in PIREPDATA.class.php) and as far as I can tell it is because the PIREP flight type column contains "P" for passenger flight instead of "H" for charter flights. I think will cause a ticket price of 0 (zero) to be used and thus zero gross / revenue. Until we get things cleared with the KAcars developer, if we manually change the P to H is there a way to recalculate the revenue for these charter flights? I noticed some code (function) that was commented out (runs from maintenance menu) Any feedback appreciated. Thanks.
  8. Hi. The IPS documentation mentions that in the pilot's table, the VIDs field should contain a serialized array with network ID and VID of the pilot. I'm testing this and entering this information manually, but IPS is not picking up flight plans yet. Can someone share a working sample of what the VIDs field in the Pilots table should look like. I have tried some of the following formats: {"IVAO",229120} IVAO,227111 {IVAO,418353} "IVAO",418353 Is it any of the above (which one) or something else? Thanks.
  9. Hi. If I understand the issue correctly, you are unable to create the account after approval because you will not have access to the user password to use it to create the account? If so, I see two solutions: 1- Create the account with random password and either email it to the user or the user can use reset password feature 1st time. Or, 2- You could store the password with your own encryption in a special table. When approval is done, then your code decrypts the password and uses it to create the account, then delete the entry from the special table to cleanup? Are these two feasible options?
×
×
  • Create New...