-
Posts
8141 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
With 5.6 and up, I'd probably use https://github.com/nabeelio/phpvms_v2 It works on PHP 5.6+, and I'm backporting the recaptcha and google maps fixes into it
-
I'm using Leaflet with OpenStreetMaps in v7. The conversion should be straight-forward, the instructions might not be
-
The METAR data should be fixed in the latest dev version. It'll cache the METAR data but it will only try to retrieve it for about 2 seconds.
-
I'll fix that timeout issue and shorten it to about a second. It's trying to access METAR data for the airport you're at. Do you know what the ICAO is? Can your server reach out to other sites? The URL it's trying to get to is:
https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=ICAO
The nav button where - admin or frontend?
-
These instructions should work
https://gist.github.com/nabeelio/6380e05dbb8ce8c53765f0068f6515e3
Note: Make sure to make the changes in the skin you're currently using.
-
I'll take a stab at it over the next week or so.
-
There's a pinned topic
-
On 5/5/2018 at 11:35 AM, Adel said:
Warning: require(C:\xampp\htdocs\sdi\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\sdi\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\sdi\bootstrap/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\sdi\bootstrap\autoload.php on line 17What I'm doing wrong?
I'm not sure how composer handles Windows, esp with pathing, etc. It's not being designed to run on Windows hosts.
-
On 5/1/2018 at 4:13 PM, shakamonkey88 said:
No problem. We’re now using checkwx and their API. Will try out alternative PHP cache using apc_store and apc_fetch.
CheckWX is real easy to use. I took a super old PHP parser and updating it to run with the latest PHP:
https://github.com/nabeelio/phpvms/blob/master/app/Support/Metar.php
This is the original:
-
It should be relatively easy to convert it to using open street maps
-
IPB has a feature called "clubs" - basically subcommunities - https://invisioncommunity.com/news/product-updates/new-clubs-r1017/
Right now, I have this feature disabled, but would this be something VAs would be interested in - being able to create a club within the phpVMS forum to post updates/use as a forum, without having to create your own? Similar to what avsim does, but there's a lot more customization. And maybe only for established VAs, so it doesn't get completely cluttered with one hit wonders.
Thoughts?
-
20 hours ago, polirom said:
In the administrator panel I get this message.
New version 7.0.0-180423-29d206 is available!
Where can I download it? In the forum I can not find the link for this download.
In other versions of phpvms 7 there was an option to import routes in * .CSV format
Now that disappeared. How can I import routes?
Thank youThe new version thing is broken, atm. The dev version is here:
-
20 hours ago, web541 said:
phpVMS Version 2 (https://github.com/nabeelio/phpvms_v2) was the original phpVMS version and still works to some extent, but requires your PHP version to be <5.3 from memory.
phpVMS Version 5.5.x (https://github.com/DavidJClark/phpvms_5.5.x) is the current stable version of phpVMS and can be used on PHP systems (mainly on 5.5.12) of up to 5.6. Some people have made it work on PHP v7 with no errors, but it's different for everyone on their own hosting.
phpVMS Version 7 (https://github.com/nabeelio/phpvms) is currently in development and is a totally different version of the two listed above. This version will be the newest and most up-to-date version when released but is still somewhere between Alpha and Beta stages (you can test it though, but there will still be bugs and changes that will occur before the official release). This version is made for PHP Versions >7.1.
Just one note, the "Version 2" is defaulted to the php70 branch, which makes it compatible with php 5.6+
-
On 4/21/2018 at 9:23 PM, jnascar said:
Ohh, a duh moment. I get it now! So like Flight # 1001 Code - C for cargo and leg #1 or A, B,C, etc....? And as folows:
Where C = Cargo
Fl# Code Leg
1001 C 1 or A - KIAD - KRDU
1001 C 2 or B - KRDU - KHPN
1001 C 3 or C - KHPN - KIAD ( back to KIAD, or of course another airport? )
Like that?
Correct. It's usually from point A to point B and then point C. A lot of times, it's because the ultimate destination is C, but a stop at B is necessary for refueling, etc. There are some times where passengers who are at B don't need to even disembark the plane if they are going to C
-
PHP Version isn't the problem. You need to ask your host to increase the amount of memory allowed in the php.ini file
-
(Quick) fixes are here:
- 1
-
Some sites are not working because of doing on PHP 5.4+. There are some changes that need to be made, luckily pretty simple. If you haven't modified anything, look at: https://github.com/nabeelio/phpvms_v2. The php70 branch (default, download here: https://github.com/nabeelio/phpvms_v2/archive/php70.zip) is updated to support PHP 7+
If you're on the 5.x version, you should be fine.
action.php
Find ~Line 46:
error_reporting(E_ALL ^ E_NOTICE);
Change to:
error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT);
core/local.config.php
Find (~L139):
Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE);
Change to:
Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE ^ E_STRICT);
admin/action.php
Find:
error_reporting(E_ALL ^ E_NOTICE);
Change to:
error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT);
core/common/PilotData.class.php
Find (~line 436)
public static function saveAvatar($code, $pilotid, $_FILES)
Change to:
public static function saveAvatar($code, $pilotid, $files)
core/classes/CodonModule.class.php
Find:
public static $post; public static $get;
Change to:
public $post; public $get;
core/classes/Vars.class.php
Find:
self::$get = new stdClass();
Add under it:
self::$request = new stdClass();
-
If you are looking to be hire, or hire someone to do work for you, general rules that should be followed:
- Have a written contract - this is a good starting point. This is very important. You must specify the exact scope for the work, and the expectations. The contract can be signed digitally.
- Pay half up front, and make sure you're paid half up front.
-
Clarify what licenses are required and paid for
- If there are addons in use, has the author given permission? Have the licenses been paid?
- COPIES OF THE LICENSES ARE REQUIRED TO BE HANDED OFF
- The rest should be paid upon delivery
- Don't be a dick
- 4
-
The system itself doesn't really care (which is why it's called "fleet"). You can add a subfleet for helicopters and add them as such under that. You would include the proper ID codes for them. And in the schedule, just assign it, and put it in the notes for the schedule. Also mark the schedule properly as being a scheduled charter flight, etc.
-
Do you mean only the day 0 checkbox is showing as selected?
-
6 hours ago, 21Insight said:
Hello, thanks first for your hard work, and all who contribute to this project, in the event that buy the license, we change every 6 or 12 months the domain or location of the PhpVMS then continue to serve or I get to buy it.
It's for the VA
- 1
-
asandor is correct, that is the demo site. I try to update it when I remember. It's loaded with the test/sample data.
-
Thanks for this, I split it out of the other topic and pinned it.
-
Import CSV Templates
View File
Blank (header-only) CSV files to import:
- Aircraft
- Airports
- Expenses
- Fares
- Flights
- Subfleets
See the documentation here: http://docs.phpvms.net/operations/importing-from-csv
-
Submitter
-
Submitted03/22/18
-
Category
ERROR for site owner: Invalid domain for site key
in Support Forum
Posted
How do these instructions work out for you?
https://gist.github.com/nabeelio/6380e05dbb8ce8c53765f0068f6515e3