Jump to content

ProAvia

Administrators
  • Posts

    1761
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by ProAvia

  1. 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.
  2. 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!
  3. ProAvia

    Privacy

    Try this <?php echo $pilot->firstname .' '. substr ($pilot->lastname, 0, 1)?> https://www.w3schools.com/php7/func_string_substr.asp I've done the same everywhere on the user/public side of my site. On the admin side, I still show complete last name.
  4. Yep, broken link. And copying the link text takes one to the log in screen. Nowhere to see what you have to offer prospective pilots.
  5. Try starting with a new database. The database you were trying to use already has the tables written to it and has the initial data populated also.
  6. 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?
  7. 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?
  8. 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>
  9. 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.
  10. What version of phpVMS? What version of PHP? Are you installing locally or what host are you using?
  11. What version of phpVMS? Are you using the default index.php file that came with your version of phpVMS? What happens when you use the default skin? I guess I'm not understanding 'authenticated' vs 'un-authenticated'.......
  12. This is the phpVMS 7 forum. Looks like you are using one of the classic versions - 2.x, 5 or 5.5.2 - which one? EDIT - thanks to the mods for moving it to correct forum
  13. 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.
  14. 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.
  15. No, manual PIREPS don’t have anything to do with the smartCARS files on site or the smartCARS client.
  16. 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.
  17. What are the contents of the original line 337 in PIREPData.class.php? After entering what I suggested, did it still give the same error? If you got an error, was it the exact same or different?
  18. If line 337 is $row->rawdata = unserialize($row->rawdata); Change to if($row != NULL) { $row->rawdata = unserialize($row->rawdata); } Let us know if that worked.
  19. 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 -
  20. 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.......
  21. Are you using a custom kACARS or kACARSII? Check folder and file permissions on your site. What version of PHP is the test site using? Any errors in the site error log?
  22. Resolved by using same version of kACARS_Free client as listed in core/modules/kACARS_Free/kACARS_Free.php and recreating VA profile in the client.
  23. I'm using kACARSII - but I still have the kACARS_Free module installed. kACARS_Free directory permissions - 755 kACARS_Free.php file permissions - 644 I compared my module to the one at FS-Products and their content is exactly the same. Are you using 1.0.1.1 client on your FSX machine?
  24. The latest version of the client is 1.0.1.5 Do you have .NET 4.0 installed on your computer? Version 1.0.1.5 says it's for Prepar3D v4, requires FSUIPC v5 and will connect to https using TLS 1.2. Try uninstalling and deleting all files in the install directory. Then install version 1.0.1.1 and see if that works. If so, uninstall 1.0.1.1, delete all files in the install directory. Then install 1.0.1.4 and test it. For the module on your site - did you use the one included with phpVMS or did you install 1.0.1.1 from the fs-products site? Also, check directory permissons on your site.
  25. What is the site URL where phpVMS is installed? Is the module (kACARS_Free.php) in "core/modules/kACARS_Free"? Is you site using http or https? kACARS_Free client versions 1.0.1.5, 1.0.1.4 and 1.0.1.1 all use kACARS_Free module version 1.0.1.1 http://www.fs-products.net/index.php/kacars-free/downloads-2
×
×
  • Create New...