Jump to content

ProAvia

Administrators
  • Posts

    1754
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by ProAvia

  1. ProAvia

    Bluemax

    Is there a file in /core/comon named ACARSData.class.php ? What are the contents of line 32 in /core/modules/ACARS/ACARS.php ? What phpVMS version are you using? What PHP version are you using?
  2. That's good to know - thanks! Some FSX/P3D aircraft lights are also called by non-standard events also. The only actual ones documented in FSUIPC are the PMDG aircraft - but not sure it's worth the time to program an ACARS to align with them.
  3. I guess you would have to try the JARDesign A330 again. Are you saying when you turn the beacon on in the Zibo B728 the ACARS reports it is off? Or when you turn it on, it reports on then off right away?
  4. I just happened to leave mine setting - so sometime between 30 minutes and 2 hours, something must have updated and then at 2 hours I clicked and it submitted. That may be - I was using the default B737-800 that I imported from FSX. And just a short flight from KIAH to KDAL.
  5. Since you are running phpVMS and VAFS, you can't access both from http://www.panamericava.com or http://www.panamericava.com/index.html - that's where the conflict occurred initially when you tried installing phpVMS in the public_html directory. While you certainly can run phpVMS and VAFS concurrently, I don't believe they will share data - as each uses a different database and database structure. I am not familiar with VAFS. As I said earlier - to keep order, each program should be in their own directory in public_html. If you were only running one or the other, there is a way to have the program in its own directory and have an index file in public_html to initially load it from there. But with running the two programs, I don't think that's possible..... hence the need to have the sub directory name as part of the URL to reach phpVMS.
  6. You need to go to http://www.panamericanva.com/phpvms/install/install.php Your phpvms site will be at http://www.panamericanva.com/phpvms
  7. Good luck! Let us know how it works out.
  8. Create a folder inside public_html called phpvms and install it there - public_html\phpvms You can install phpVMS 5.0 (classic - called v2 also) - https://github.com/nabeelio/phpvms_v2 or phpVMS 5.5.2 (Simpilot version) - https://github.com/DavidJClark/phpvms_5.5.x . There are some differences between the two. Personally, for a totally new install, I would go with the 5.5.2 version. Long term, you should consider having your VAFS in it's own folder too - public_html\vafs. Don't create any folders inside of the \home directory - all folders get created in public_html. All that should be in the \home directory is what your host put there.
  9. If you leave the ACARS program open for a while (possibly a few hours worked for me), can you then file the PIREP? Are you using the latest phpVMS build? Latest ACARS build? I had a similar issue with an older build and was able to file after waiting 2+ hours. I don't remember if any pages were blank after arrival though - just not able to file the PIREP right after flight completion.
  10. phpVMS should be installed into its own sub directory.... public_html\phpvms - as an example. Your VAFS should probably be installed into its own sub directory also... public_html\vafs - as an example. Having each program in its own sub directory (folder) will help keep the conflicts to a minimum and helps keep everything better organized. You can also install forum software in its own sub directory. What version of phpVMS are you wanting to install? What PHP version are you using?
  11. That's where I was back in March - now I know just enough to be dangerous. LOL I found if I did a copy/paste of the base error, Google usually found something that worked... so, in the error Warning: count(): Parameter must be an array or an object that implements Countable in /home2/ravnalas/public_html/Crew/lib/skins/ocean_blue/frontpage_main.php on line 112 I searched for Warning: count(): Parameter must be an array or an object that implements Countable Good luck in your searching.... you will learn a lot
  12. Not sure if this will work... <td><font color="053077"> <?php if(is_array(ACARSData::GetACARSData()) || ACARSData::GetACARSData() instanceof Countable) { echo count(ACARSData::GetACARSData() } ?> </font></td> Revert what I initially posted..... yours started on line 194 I think
  13. You shouldn't hold your breath waiting for someone else to update your skin and your modules to work with PHP 7.3. You might see a Simpilot derived version of phpVMS 5.5.2 that will work in PHP 7.3 - but the skin and modules probably not. It took me many hours to get the Simpilot version working with PHP 7.2 - and lots of searching on Google and a boat load of reading to find things to try to resolve the issues I was seeing. After I had the base program working, it took a lot more hours to adapt my skin and get all my modules working with it. There was a bunch of stumbling along the way too. As for your admin issue - honestly, what worked was a WAG on my part. It made sense to me, but I really had NO idea if it would be successful. Glad it helped!
  14. Hmm - maybe your frontpage_main has been modified. What I posted is from the original file. What is line 112 in /home2/ravnalas/public_html/Crew/lib/skins/ocean_blue/frontpage_main.php
  15. Now that you changed to something lower than PHP 7.3..... The "Pilots in flight" Warning you see on the front page of the admin site can be fixed by changing... starting on line 111 of .... /home2/ravnalas/public_html/Crew/lib/skins/ocean_blue/frontpage_main.php from <?php if(count($shown) < 1){ echo 'There are no pilots online!'; } ?> to...... <?php if(is_array ($shown) || $shown instance of Countable) { if(count($shown) < 1){ echo 'There are no pilots online!'; } } ?> That's one of the error I saw more often than others
  16. Yes - drop the admin site down to 7.2 and those Deprecated will go away. While what you have now is not perfect, at least it's functional. Hopefully your host will allow 7.2 for some time. Once you have nothing better to do (HA) - consider updating all your modules to work with the 5.5.2.72 version. Many of the errors you will see will be repeated in the modules, so it' pretty easy to convert them over. As a Suggestion, if you go this route, make a test site on your host to work thru any issues - and set that test site to PHP 7.2. Once it's all working to your satisfaction, you can move it over to the live site (after backing everything up of course). I haven't looked at using PHP 7.3 for the 5.5.2 (Simpilot) branch yet - beyond knowing it will throw errors. It may be possible to use my 5.5.2.72 version and update it for PHP 7.3, but I won't have time to look into it for a while.
  17. I don't think those Deprecated will affect the functioning of the site for right now. They are related to PHP 7.3 and are only showing on the admin panel site. I found some info, but need to research it a bit more before I comment further.
  18. Great that you can at least get into the admin - using a second install. Very weird issue..... Having the inherited PHP version as 7.3 shouldn't affect any domains set for another PHP version - at least it didn't on mine (had 7.2 as inherited, 5.6, 7.0 and 7.1 also available) I will look into the deprecated you posted and let you know..... What PHP version is the main site running? What PHP version is the site with admin access running?
  19. phpVMS v7 isn't ready for a live environment. And there are no skins or modules yet either. Leave the live site on PHP 5.6 if you can. Well... let's try to get you operational at least.... Make a copy of your DB in phpMyAdmin Make a backup of the live DB also - just to be extra safe (you will now have the live DB, a copy and the separate backup.... 3 in total) Download this version of phpVMS - it will install under PHP 7.2 (won't work in 7.3 though) https://forum.phpvms.net/topic/26545-phpvms-55272-phpvms-552-updated-for-php-72/ Install the above linked version in a separate directory After install, go to /core/local.config.php and change the DB access to the COPY of the DB you made - also change the site URL there See if you can access the admin panel. If all that worked - change this new install (5.5.2.72) to access the live DB and approve all the PIREPS from there. Also do any other admin functions you need to do. Again, if it all worked, the pilots access the present live site. Admin access is through the 5.5.2.72 site. Hopefully that will allow you to get functional again. Don't bother installing any skins or modules to the 5.5.2.72 site - you are just using it for admin functions. Let my know if this crazy idea works for you. EDIT - as an aside - I have 5.5.2.72 running on my site since end of March when my host forced us to PHP 7.2. It took a lot of work to change 5.5.2 to 5.5.2.72 - and also skin and module changes.
  20. The permission number is correct for Admin on phpVMS 5.5.2 I'm not sure the other 2 are causing any issues - just thought it might be good to try downgrading their PHP version. I'm at a loss.
  21. Edit your post above and delete the zip file as it contains a password. As a test, change all 3 for PHP 5.6 . The error level set is okay. From a couple posts up...... Also - in the DB groups table - what is the permissions number shown for Admins?
  22. Also - in the DB groups table - what is the permissions number shown for Admins?
  23. I don't see any errors showing when loading the site and looking around as a guest...... In /core/local.config.php - around line 25 - what is the ERROR_LEVEL set to? Are you using cPanel when accessing your host? Do you have an option for "MultiPHP Manager" - and can you set your VA domain to anything but 7.3 there?
  24. If you are running PHP 7.3 - that may well be your issue. Can you downgrade the PHP version to 5.6 (or as low as 5.3)? If you can't go back to php 5.x, what PHP versions are available to you? What is your site URL?
  25. Did you try to log in again? What happens when you do that? What version of PHP are you running?
×
×
  • Create New...