Jump to content

ProAvia

Administrators
  • Posts

    1634
  • Joined

  • Last visited

  • Days Won

    70

Posts posted by ProAvia

  1. I would recommend contacting them an asking if that can easily be changed. I believe most all data from a flight is dependant on the ACARS program in use. I know that in kACARSII, I can select the data transmission interval thru an admin panel option setting available via the site side kACARSII files. 

    • Thanks 1
  2. I see GMP - GNU Multiple Precision - is required. And the install will not continue until this requirement is met. 

    My shared hosting does not offer this php extension on their shared hosting plans. In doing some research, it seems many (most??) shared hosting plans do not offer GMP as an option. Of course, we could move to a scalable cloud VPS platform - for almost 10 times the monthly cost. Yeah, not gonna happen.

    Is there another option to use instead of GMP? Possibly bcmath?

    Any options for afforable hosting that includes the GMP requirement? Presently paying about $5/month with yearly prepay.

  3. On 3/12/2019 at 7:28 AM, thunder175 said:

    I assume you are using the default installation of 5.5.2 with no mods correct? If successful, maybe we can fork simpilots's GitHub and make this a separate version, say 5.5.3 or 5.6 to annotate that this is a PHP 7.x compliant version. I know in the grand scheme of things we are trying to deprecate the 2.x/5.x baselines and eventually move to v7, but I for one probably won't be upgrading to PHPVMS v7 for the foreseeable future. I'm sure this will be of great value to a number of folks! Please let me know if there is anything I can do to support.

     

    Just a quick update... I have a default installation of 5.5.2 edited to work with PHP 7.2. Still in the process of editing the install program to work correctly with PHP 7.2 - but once installed, phpVMS works fine in 7.2. There is limited ongoing testing taking place by a few community members. Once a few minor install issues are sorted we will make this available to the community.

    Thunder175 - Any help you would be willing to provide would be most welcome!

  4. Try this... in your last code above, copy the contents and do the following

    Change all occurrances of $reports to $pirep_list and all occurrances of $report to $pirep

    My phpVMS 5.5.2 has those changes and works fine. Or as flyalaska said, the original code you posted works on his site. Maybe it's an issue with your skin.

    Is this the pireps_viewall.php file? Is it in your CrewCenter skin folder or in core/templates?

  5. I think "$report" and "$reports" are referencing the PIREP table in the database. And the PIREP table only shows the aircraft ID number. You need to find a way to reference that aircraft ID number and then call the aircraft table into the mix. Then the aircraft ID can reference the aircraft type, registration or whatever else the aircraft table provides for that specific aircraft ID.

    What skin are you using? What is the name of the file for the code you posted?

  6. I'm guessing you are using phpVMS 2.1.x or 5.0 and not 5.5.2

    Try this - change

    <td><?php echo $report->aircraft;?></td>

    to show aircraft registration

    <td><?php echo $report->aircraft . "(report->registration)";?></td>

    or to show aircraft ICAO

    <td><?php echo $report->aircraft . "(report->icao)";?></td>

  7. Do you mean phpVMS 5.5.2?

    Look in control panel to see what version of PHP you are using with GoDaddy. Some phpVMS versions will not work with certain versions of PHP.

    Download a new copy of phpVMS and upload to your site. Start with a new database and set permissions to allow all options for the designated DB user - folders to 755, files to 644.

    It looks like the installer is unable to write to the local.config.php file. That file is created on installation and holds all the DB access and phpVMS config info.

  8. What version of phpVMS? What version of PHP?

    What are the contents of TemplateSet.class.php on line 230?

    Do you have the simBrief module correctly installed? Seems the system can't find the template file listed.

  9. Does that pilot already have hours and flights logged in the database?

    Speaking of database, check the pireps table to see if any of the pireps submitted via smartCARS or manually are there.

    Also, submit a new pilot application and see if that gets sent to the site correctly.

  10. You may want to get ahold of the smartCARS developers and see if you need to change/replace any smartCARS site files to make it work correctly in PHP 7. 

    It sounds like the site is able to send data to smartCARS but not receive data from smartCARS.

    As for the other error, I don’t know cause I don’t use that skin - and my skin doesn’t have a statistics folder. 

  11. PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3 ??

    What are the contents of line 337 in PIREPData.class.php?

    When you upgraded from phpVMS 2.x, did you upgrade to 5.0 or Simpilot 5.5.2?

    Is the site throwing any other errors?

    This is related to your kACARS issues also - 

     

  12. What version of phpVMS are you using? 

    What is the full version of PHP? 7.x could be 7.0, 7.1, 7.2, 7.3, etc.

    Does the error log show any errors since moving to the new host or using php 7.whatever? When my host forced us to PHP 7+, we had to turn on error logging using the php,ini file or the user.ini file - so something with error logging changed when they upgraded from php 5.6 to php 7+ -- at least with our host.

    Check file and folder permissions - use Filezilla or the like to sign into your site via FTP and look at the file and folder permissions for the kACARS folder and kACARS files.

    Another option would be to install kACARS_Free on the site and your computer and see if you can file a PIREP using kACARS_Free. Then you can possibly determine what you may need to change in your present kACARS files to make it work with you new host. But first, we need to know what PHP version you are using.......

×
×
  • Create New...