Jump to content

ProAvia

Administrators
  • Posts

    1695
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by ProAvia

  1. I believe all free versions of kACARS_Free will work with phpVMS 5.5.2.72. But you need a version that will work with all sims you support and that will work with http or https/ssl. kACARS_Free 1.0.1.5 will work with FSX, FSX:SE, P3D, XP10, XP11 and possibly FS9. It will also work with http and https/ssl. In any case, once you find a version that works for your VA, you will need to edit the kCARS_Free module to reflect the version of the client you are using. Default module setting is for client version 1.0.1.1 .
  2. Others have reported issues with MariaDB 10.2 or higher. Any chance to revert to MariaDB 10.1? As an interim fix, look into disabling strict mode. While it might automatically reset itself if there is a minor update, at least you will know if diabling strict mode will allow full function.
  3. phpVMS - 5.5.2 PHP - 5.6 MySQL - version??? What version of MySQL?? Ok, so line 101 is $this->dbh = new mysqli($dbhost, $dbuser, $dbpassword); correct??? My guess is that there is a problem connecting to MySQL. Are the errors you posted the only errors in the error_log file or in the console? Make sure that local.config.php has the correct entries for: define('DBASE_USER', 'xxxxxx'); define('DBASE_PASS', 'yyyyyyyy'); define('DBASE_NAME', 'zzzzzz'); define('DBASE_SERVER', 'localhost'); define('DBASE_TYPE', 'mysqli'); replace xxxxx, yyyyyyyy, zzzzzz with the correct entries for you install
  4. phpVMS version? PHP version? MySQL or MariaDB version? Paste the contents of line 101 in /home/voloteav/public_html/crew/core/classes/ezdb/ezdb_mysqli.class.php I think it is not able to connect to MySQL/MariaDB - but post up the contents of line 101
  5. Try this - do a complete new install of phpVMS and use that install as a development site. So you will keep your present site and add a new site in a sub-domain. Then use the dev site to work out any kinks. I still think you will have issues at some point with MariaDB 10.3 while using phpVMS 5.5.2 The "Invalid argument...." error is pointing to something in line 78 that will not allow the processing to continue. It has something to do with viewing a PIREP comment (possibly an existing comment). I don't have that line in my pirep_viewreport.php file - so I believe it is specific to the iCrewLITE skin. If you are getting a bunch of errors, first - revert to the default skin (and default admin skin if you changed that). Then work through all the errors with the default skin. Finally, work on the errors with your chosen skin. But don't rush passed reverting to completely default and fixed EVERY error there first.
  6. That would be because this thread and the links posted are over 10 years old. There was an issue with the forum DB some years back and some things got corrupted. Best not to necropost anyway. If you are having the same issue as in an old, dead post - start a new topic. Besides, much has changed in 10+ years - and what applied then may not work in today's environment.
  7. It sounds like your host either upgraded your server or changed you to another server. Sometimes those types of things don't get smoothly - but can be fixed. MariaDB 10.3 will cause issues. Just because you didn't see any before doesn't mean they weren't there. Any chance you can use MariaDB 10.1 or MySQL 5.6? If not, your host may need to change you to a server that supports it or you may noeed to find another host who does. It doesn't really matter what PHP version your host has running on the server. What matters is that the phpVMS 5.5.2 install is running on PHP 5.6 . As long as the directory or sub-domain where phpVMS is installed is on PHP 5.6 you are good. You mention that you do have error logs - Those error logs are what points you to a location for something that is incorrect and needs fixing. An error in file xyz.php on line 120 is EXACTLY the starting point to fix the error. Give us an exact example of an error that references a default phpVMS file and we can see if we can point you in a specific direction to fix it. As for the failed import of aircraft. The CSV structure needs to match the table structure - no extra fields that are not in the table. What program and version number are you using to do the CSV files?
  8. phpVMS 5.5.2 or 5.5.2.72 ?? PHP 7.3 may be an issue. phpVMS 5.5.2.72 will install in PHP 7.0-7.2 . It shows errors with PHP 7.3 and above. I am not even sure that phpVMS 5.5.2 will easily install in PHP 7.0 and above. MariaDB 10.3 and above also cause issues with phpVMS 5.5.2 and 5.5.2.72 Is this a new install or an existing install? If existing, what was the old PHP version?
  9. phpVMS version? PHP version? MySQL or MariaDB version?
  10. What you are proposing is going to take a total re-write of the module. As it stands right now, the module allows a pilot to chose a number of random flights. It allows the pilot to bid those all at one time - or the pilot can write down those flight numbers and bid the flights individually. So even if you were able to assign a price for a group of random flights, the pilot could bid each flight individually and bypass the price involved for bidding a series of random flights all at once. But it is possible to re-write the module to do as you suggest. Please keep us informed of your progress.
  11. I found this.... https://stackoverflow.com/questions/9628443/why-would-i-use-dirname-file-in-an-include-or-include-once-statement Yeah, maybe asking Nabeel will shed some light on it.
  12. This module is no longer being actively developed. It would be up to you to adapt it for your specific use.
  13. Is line 47 in ACARS.php... include_once dirname(__FILE__).DS.$name.'.php'; If so, I think it can't find auth.php file in the /ACARS directory - as it's not there in any installs I have running. No idea what the auth.php file is or does. Here is the entire function for that section.... /** * We didn't list a function for each ACARS client, * so call this, which will include the acars peice in */ public function __call($name, $args) { $acars_action = $args[0]; // clean the name... $name = preg_replace("/[^a-z0-9-]/", "", strtolower($name)); if(dirname(__FILE__).DS.$name.'.php') { include_once dirname(__FILE__).DS.$name.'.php'; return; } } And no idea what that section does either.....
  14. If you change to the default crystal skin, do all the pilots show on tne acarsmap? If the acarsdata table is completely empty, you can reset the record number to 1 and start auto-increment again. Or is the acars id linked to the pirep id?
  15. Weird Are you on PHP 5.6 or 7.x now? The acars ids are probably do to auto increment being set for the table. Are the number sequential? Why they jumped that high is anyones guess.
  16. What ACARS program? Are all pilots using the same one? Any errors in error_log? On the map page, any errors in the console?
  17. I would guess that databases from a different server could cause issues. The database version number could be different or one could have been MySQL and the other MariaDB. Maybe many other variables as well. Check the actual DB table to see if the Airline and Airport Hub are listed correctly. The other option may be to use the new database and transfer only the data over from the old database.
  18. Does Hostinger have cPanel? If so, on the upper right hand side. under General Information you should see the words: Server Information. Click there and see if it lists the MySQL version. Additionally, it may show in phpMyAdmin on the right hand side under Database server. I can take a look if you'd like - set up a demo account and send me a PM with username and password and I will attempt to connect with kCARS_Free version 1.0.1.5
  19. Your issue has nothing to due with the specific version (5.5.2.72) of phpVMS you are using. If it did, everyone else using that version would have the exact same issue. You also have an error in your CC Flight Position Tracker that you will need to fix - after getting phpVMS working correctly. I would suggest removing the CC Flight Position Tracker until after you have solved this underlying issue. I see you have another post about this issue elsewhere on the forum - I suggest you use that one for debugging your issue as the issue is not phpVMS 5.5.2.72 specific.
  20. Which version of MySQL? Have you edited any of the phpVMS files? Adding anything to the default will not fix phpVMS basic functionality. Are you sure your PHP is configured correctly? Maybe run a php info file to see if all required items are active.
  21. You already indicated you are using phpVMS 5.5.2.72 It looks like you are using the default skin. Is that correct? What PHP version? What MySQL or MariaDB version? What modules do you have installed? Have you edited any files?
  22. Search for Morris Charts - in results, indicate you want the phrase Morris Charts.
  23. That's probably because it's using Flash to attempt to load that data. Several here have had luck using Google Charts and also Morris Charts. Perhaps a forum search will provide you with a few options.
  24. Posting any code of a payware module in this forum could be construed as copyright infringement. And if enough code were posted over time, someone could put together the complete module. Therefore, take it to DM. This thread is now closed.
  25. Verify which version of MariaDB you have. In one reply you said 10.0.38 and your last reply referenced changing from MariaDB 10.1 . Is it MariaDB 10.0.38 or MariaDB 10.1 ??
×
×
  • Create New...