Jump to content

ProAvia

Administrators
  • Posts

    1647
  • Joined

  • Last visited

  • Days Won

    71

Posts posted by ProAvia

  1. As @Parkho suggests, back up your database first. Then, if it doesn't do what you think, you can always restore.

     

    I always thought it recalculated the PIREP count - but I've never had a reason to use it on my live site. But I have been wrong before (just ask my wife 🤣).

    • Like 1
  2. 9 hours ago, LesJar said:

    Now that PHP 7.0,1,2 is depreciated, going forward many hosts are providing PHP from 7.3 upwards only.  My question is what about an update to PHPVMS that works on 7.3 7.4 PHP as many things that were in the upgrade from PHP 5 to PHP 7 will have been fixed so it is quite possible that only a few items may need to be corrected or re-coded for the current version of PHP.  Actually I tried it on PHP 7.4 and there was a small error on EZDB CLASS  on installation but it completed , however there are a few errors that come up on the main screen.  What we can do is open up a topic and then post the errors as we go along and what the fixes are and then at the end we will have a PHP 7.3,4 version.  This would ensure that many virtual airlines can continue to use PHPVMS rather than transfer to VA BASE that is not free but works on PHP 7.4

     

     

     

    Your best option is to upgrade to phpVMS 7. It will work in PHP 7.3, 7.4 and 8.0

    If you choose to upgrade, use the current phpVMS 7 dev build. Do NOT use beta 4.

    You will NOT be able to use your phpVMS 2.x or 5.5.2 database.

  3. All phpVMS 7 posts go in the phpVMS 7 forum section, not in the v2, v5 section. I will move this post.

     

    phpVMS v7 beta 4 is quite old and out of date. Join the phpVMS Discord (see link in menu at top of page) and look in the releases channel for the latest dev build. You aren't going to get much support for beta 4 at this point.

     

    There may be a way to block IP addresses or ranges of addresses in your hosting panel (cPanel) or you may be able to find a way to use '.htaccess' or 'php.ini' files. Suggest you check with your host to see which is the preferred method.

  4. This issue will crop up with MySQL versions above 5.7.4 and possibly some versions of MariaDB (maybe10.2 and higher).

    There is no fix at this time to allow adding the aircraft thru the phpVMS admin panel.

    A work-around is to add the aircraft manually to the database aircraft table.... BUT - BACK UP THE DATABASE FIRST.

     

    You will probably experience the same issues with adding airports, schedules, etc.

  5. While one can not discuss payware code in a public forum, one could use the PM system of the forum to discuss the issues with other users who have legally purchased the same module.

     

    Possible post the error you are receiving - without posting any payware code - and mention the module you are using. Then ask users who use the same module to contact you via PM. Use caution to check that other users actually have the same module though. Sadly, there have been reports of users attempting to get payware code from other users while not actually owning the original payware module.

     

    Example:

    "I am receiving the following error while using payware module (name of module and developer here).

    Warning: count(): Parameter must be an array or an object that implements Countable in (don't put any more than this).

    Since this is a payware module, please contact me via PM if you have purchased this module and can help. Thanks!"

  6. The developers didn't state it would work in 5.5.2.72 - as a matter of fact, these modules were developed before PHP 7 and higher were even available. It is unreasonable to expect a developer to update a module a module to be compatible to work with every PHP version. Most everymodule that you actually boight for your VA can be tweaked to work with newer PHP versions. And the original developer probably isn't going to mind. Now you can not distribute those tweaks for other users/owners of the same software without express written permission from the original developer, unless otherwise stated in the licensing and use documents. If you were unable to edit the code for your own use, you wouldn't even be able to change any of the template files to fit with your chosen skin. How many developers have actually cited end users for altering code to make it work with different skins.

     

    For payware, lack of support for software that is still being offered for a price is a totally separate discussion. Before one buys any software, it is up to the buyer to be sure that support is available and active. Contact the seller/developer prior to purchase to see if they respond. Check their forums for current activity. It comes down to buyer beware.

  7. There is zero guarantee that ANY modules - payware or freeware - will work without a bit of tweaking in phpVMS 5.5.2.72.

     

    phpVMS 5.5.2.72 is a subset of phpVMS 5.5.2 that allows phpVMS 5.5.2 work with PHP 7.0-7.2 . As such, most modules will need to be tweaked to work with PHP 7.0-7.2 . 

     

    As for which PHP versions certain modules will work with, the answer is easy. Look at the requirements for phpVMS 5.5.2 . Modules advertised to work with phpVMS 5.5.2 will work with PHP versions that phpVMS 5.5.2 work with. No where does it say they will work with phpVMS 5.5.2.72 .

     

    Module developers are not required to bring their modules into compliance with PHP 7.2 . Many phpVMS 5.5.2.72 users/admins have been able to use older modules just by changing a few lines of code in the modules. Modules developed for phpVMS 2.x and phpVMS 5.5.2 do work correctly in phpVMS 5.5.2.72 with a bit of deductive reasoning and determination.

  8. 9 hours ago, gio1961 said:

    If you are using phpvms version 5.5 you can download this module and do what you ask.  https://github.com/KJRDev/phpVMS_vAwards  Sure you will have to make some changes in the various files, from "tpl" to "php". Here the discussion https://forum.phpvms.net/topic/7351-vawards/

     

    I believe the OP is using phpVMS v7. At some future point, someone may write a similar type module for v7.

    • Like 1
  9. Your biggest issue is MariaDB 10.3 - phpVMS v2.x and 5.5.2 doesn't work well with MariaDB above 10.1

     

    Is this a new install or an existing long term install? The github you linked to was archived by the owner several years ago. 

     

    On the phpVMS admin dashboard, what is the version number in the lower right corner?

    What versions of PHP does your host offer?
     

    As I stated, Maria DB over 10.1 will cause issues with older versions of phpVMS. If you are starting a new VA, I strongly suggest you use phpVMS v7. 

     

     

×
×
  • Create New...