Jump to content

ProAvia

Administrators
  • Posts

    1748
  • Joined

  • Last visited

  • Days Won

    78

Everything posted by ProAvia

  1. Here is the present error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. I was incorrect in having you disable those entries. The 403 entries I referenced above should stay active in the phpvms v7 folders .htaccess file. Here are those contents for reference: # Disable index view Options -Indexes RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] # Deny all these files/folders RedirectMatch 403 ^/.git/.*?$ RedirectMatch 403 ^/.travis/.*?$ RedirectMatch 403 ^/app/.*?$ RedirectMatch 403 ^/bootstrap/.*?$ RedirectMatch 403 ^/config/.*?$ RedirectMatch 403 ^/modules/.*?$ RedirectMatch 403 ^/node_modules/.*?$ RedirectMatch 403 ^/resources/.*?$ RedirectMatch 403 ^/storage/.*?$ RedirectMatch 403 ^/tests/.*?$ RedirectMatch 403 ^/vendor/.*?$ RedirectMatch 403 ^/.bowerrc$ RedirectMatch 403 ^/artisan$ RedirectMatch 403 ^/composer.json RedirectMatch 403 ^/composer.lock RedirectMatch 403 ^/composer.phar RedirectMatch 403 ^/env.php.*?$ RedirectMatch 403 ^/env.php RedirectMatch 403 ^/env.php$ RedirectMatch 403 ^/Makefile RedirectMatch 403 ^/package.json RedirectMatch 403 ^/package-lock.json RedirectMatch 403 ^/phpunit.xml RedirectMatch 403 ^/webpack.mix.js # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] Possibly check your server error log for further clues. I'm guessing something may be configured incorrectly on your server. Hopefully someone with more experience than me will be along to help you out.
  2. So, you upload all the files and can access the initial install page using your browser? And you have removed all 403 entries in all .htaccess files in the path from the root to the directory containing the phpVMS v7 files/folders?
  3. All those 403 entries may be your problem. Back up both references to the .htaccess files, open the original and delete or comment out all the 403 entries, saved the edited .htacess files. Try the install again. I'm assuming you realize that phpVMS v7 is still in beta and should not be used for a production/live siite.
  4. Nabeel has kindly removed the requirement for GMP. Thanks
  5. In both default schedule search and in one I linked above, all airports show whether there is a schedule or not. But if airport without schedule is chosen, result is "No routes have been found!"
  6. I use this one - edited for versoin 5.5.2 https://github.com/DavidJClark/phpVMS-ScheduleSearch OK - in airports table but NO schedule are showing also with default schedule search - let me check mine
  7. Pilot flies from EDDF-EDDM - Pilot is now in EDDM - when searching for a place to fly next, pilot will show current airport (last arrival airport) of EDDM in schedule search. Pilot still has choice to search from any departure airport, but the displayed default is their last arrival airport.
  8. If an airport has an arrival, it should also have a departure - to allow pilots to fly from one airport to another and be able to depart from the last arrival point. Are you saying that airports without a schedule are listed also in your departure airport list? Or are you wanting to have the last arrival point show as their next departure point?
  9. In the last line, what is in your code "near ')' at line 2SUCCESS"? From the error message, something in your MySQL syntax is causing the error. Is the PIREP actually being save on your site?
  10. Hmm - when I type KLAX fast, it goes to KLAX. Do you want a box to input the ICAO in addition to the drop down box? I'd bet someone has done what you want. Hopefully they will see this post
  11. You could write some code to do that I suppose. Additionally, if you click on the drop down menu, you can type in the code you want - within a few seconds - and the airport ICAO will show in the drop down window.
  12. 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.
  13. What ACARS program?
  14. 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.
  15. 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!
  16. 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.
  17. 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.
  18. 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.
  19. 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?
  20. 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?
  21. 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>
  22. 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.
  23. What version of phpVMS? What version of PHP? Are you installing locally or what host are you using?
  24. 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'.......
  25. 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
×
×
  • Create New...