-
Posts
8141 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
What version?
-
If vendor/autoload.php is missing, it means composer install hasn't been run
-
On 7/17/2019 at 12:21 PM, Michael2015 said:
Well if you are able to assist on the installation procedure i will happily try to design a full virtual airline based on this phpvms version. also there isn't any modules out for phpvms 7 right ?
No modules yet. Instructions are on http://docs.phpvms.net
On 7/17/2019 at 2:08 PM, OmerAslan said:Hi my friend,
i don't know how to install dev version. But if you release new beta with installer then i will be glad to test it.
There's a zip file
-
There should be an error log somewhere, that would be really helpful
-
In v7, there is a read-only mode which is active after it's been accepted/rejected or cancelled. It can still be edited beforehand, in case there's some additions that need to be added - mainly custom fields or pax/cargo counts which may not get filled in through ACARS
-
Working on it, I'm just trying to close out some of the final tasks I had left. I also need people to help test out the latest dev versions.
-
How big is the database? It could be that MySQL itself isn't properly tuned for the amount of data that you have. The default MySQL settings are ok for general workloads.
- 1
-
Ah, yeah, that's the old server. It's down for now.
-
It's BSD 3-clause, so as long as you comply with that, you're fine.
-
Hi Scott, what do you mean by it's stopped working? 56k airports is way too many... I'd suggest adding only the ones you have routes to. That table is used heavily, so having to filter through and query through that many airports is going to bring any site to its knees very quickly.
-
Can you post this to github as an issue so I don't forget...
re hotfix - double it. The data model just wouldn't support it.
-
16 hours ago, yourairways said:
Hi, could you please advise where to get/access the SQL error log? Did not find anything related from cPanel. There was nothing specific on error_log created by phpVMS itself.
Unfortunately, you'll have to edit the code where I pointed out so that you can output the exact message there. Unfortunately, it could just be that the code is just too "old" to support maria properly. As @ProAvia pointed out, though they're supposed to be compatible, there could still be issues in compat
-
16 hours ago, yourairways said:
Dear all
It looks like this has hit our airline now. It all started after pilots were not able to file PIREPs with error "There was an error adding your PIREP : Schedule does not exist. Please update this manually.". As the error made no sence, I googeled for hrs., tried different steps, but nothing has worked so far. I have been contact with our hosting company and they sayd that they performed an update from MariaDB 10.1.38 to 10.3.14. rollback not possible. So it looks like it might be related. I am running phpvms 5.5.x @ http://efb.flying.ee/ with highly customized systems, not really ready to move to phpvms 7 yet. Rest of the site works perfectly, sending PIREPs is impossible.
Is there anyone who can advise what to do further besides rollback or get another hosting company? There has to be a solution from our side as I can imagine that this problem will spread as MariaDB 10.3 is out since 2017?
Waiting for a soonest reply.Is there an error log or possible to get the error from SQL? I was gonna ask what the sql error, etc, might be above this line:
https://github.com/nabeelio/phpvms_v2/blob/88656de961463b46ce742c77455c67c5c06fdfac/core/modules/PIREPS/PIREPS.php#L127
-
Yes, it runs both 5.6.x and 7.2. You can switch it in your control panel
-
Installed the new plugin... hopefully it will be better now
-
Are any API calls working?
-
On 1/31/2019 at 10:12 AM, Vangelis said:
I have some free time to moderate if you want
Huh that's weird, I thought you were already.
-
On 1/27/2019 at 6:54 PM, vbegin72 said:
Are they registering or using oath of google, or facebook, or something
Nope, just straight email registrations. I'm going to try to install that plugin you sent me tonight
-
On 1/28/2019 at 4:44 AM, shakamonkey88 said:
It's almost a full time job for me recently. The reason they haven't been dealt with as swiftly lately is due to a job change in my life. I pretty much live at Heathrow airport working for British Airways these days.
Sorry for the build up on spam.
No worries, man. @vbegin72 sent me a plugin that should hopefully help.
-
Did you set the base URL correctly in the config?
-
It's an interesting idea but would take a lot of rework. Let me think about it... if you created multiple airlines but were able to use the same callsign, would that be good enough?
- 1
-
Can you make other API calls?
-
Yeah it's insane trying to keep up. There's 3 different spam settings and they're still getting through... it must be some actual farm with people registering. They do get banned via IP but it's different everytime. You should see how many get blocked, though
-
Are there error logs anywhere on your webhost? Hard to tell without any logs.
Get X-API-KEY with API or something?
in General Discussions
Posted
The user needs to get the API key from their profile, and then enter it into your app. Then the app should use that key to access the API. Your app shouldn't be trying to do any logging in or parsing for the API key... that's the point of having it, so you don't need to do that.