# Can't add more than 30 pilots

**URL:** <https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [March 15, 2010, 6:00pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223 "2010-03-15T18:00:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 15, 2010, 6:00pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/1 "2010-03-15T18:00:35Z")

</div>

I’m a idiot and posted in the wrong forum. But here is my problem: I’m the OPS manager at Southern Air Transport Virtaul. And this morning when I went to accept new pilots, the system generated the new pilot number, but it wont create the new pilot number in the scheduling system so new pilot can file a priep. In our Pilot database the pilots go from SJM9501-SJM9531, but it the schedule it only goes to SJM9529. So our two new pilots are unable to file PIREP’s in our system using thier pilot numbers SJM9530,and SJM9531. Any Idea’s?

We are using admin versin 2.0.846. Any help would be greatly appreciated.

Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 15, 2010, 6:31pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/2 "2010-03-15T18:31:45Z")

</div>

Are they able to log in? What’s their actual ID?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 15, 2010, 6:46pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/3 "2010-03-15T18:46:46Z")

</div>

Nabeel

Yes, they can log in, they are active on the system, they are on the Pilot Roster, as SJM9530, and SJM9531. I can approve PIREPS if they use another number SJM number that is below thirty, I used mine as a example SJM9506, and the PIREP system works great. They show up on the roster as SJM9530, and SJM9531 which is correct, but in our route system, where it creates a route with the new member number, the Route system stops at SJM9529, and if I try to add SJM9530, or SJM9531 to our route system it, says the route exist’s already. But If I look thorugh our routes, or even search for them, I cannot find route SJM9530,SJM9531. And since the route system dosent show their numbers, they cant fill out a PIREP form using there SJM number if it above 30.

Roster SJM9501-SJM9531

route Database SJM9501-SJM9529, but it says 9530,9531 extists, but you can’t see on the system, or search for it.

Everytime we accept a pilot, it created the same pilot number in our route database example me SJM9506 Jon Bailey, and in our route database there is a route SJM9506 as well, and it worked great untill we hit SJM9530, its there in the roster, but nothing in the database.

Hope this helps

Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 15, 2010, 7:16pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/4 "2010-03-15T19:16:21Z")

</div>

Is the actual ID 9530? I don’t think it would be hitting the upper limit of the INT field… the max is 2147483647. Are you using the PILOTID\_OFFSET variable, did you set something to that?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 15, 2010, 7:21pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/5 "2010-03-15T19:21:53Z")

</div>

Nabeel

yes actual numbers we stated having problems with is 9530 and 9531,and we stopped accepting after 9531 unitll we get it worked out. I’ll check the PILOTID\_OFFSET , and report back.

Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 15, 2010, 7:42pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/6 "2010-03-15T19:42:46Z")

</div>

What’s your site? Did you change their pilot ID manually to that?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 15, 2010, 8:53pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/7 "2010-03-15T20:53:27Z")

</div>

Our site is [Southern Air](http://http//www.southernairvirtual.com/) , and the 9530 is system generated automatically. The site admin gets home about 9:00pm edt. And I will direct him to this thread.

Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 15, 2010, 10:55pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/8 "2010-03-15T22:55:14Z")

</div>

The ID wouldn’t get that high on its own with 30 pilots. Someone’s pilot ID might have manually been changed - and in that case, data gets lost and screwed up.

---

<div class="post-metadata">

**Author:** ![infidel](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/i/839c29/32.png) [@infidel](https://forum.phpvms.net/u/infidel)\
**Post date:** [March 16, 2010, 10:47am UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/9 "2010-03-16T10:47:37Z")

</div>

I am the site admin for SouthernAirVirtual and we started out pilot numbers at 9501 so that’s how they got up there.

I have not manually modified anyone’s pilot ID number and am unable to find the PILOTID\_OFFSET to look further. Where can I find this?

Chris Pollard

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [March 16, 2010, 11:10am UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/10 "2010-03-16T11:10:39Z")

</div>

It should be in your local.config file in /core.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 16, 2010, 3:35pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/11 "2010-03-16T15:35:05Z")

</div>

> I am the site admin for SouthernAirVirtual and we started out pilot numbers at 9501 so that’s how they got up there.
> 
> I have not manually modified anyone’s pilot ID number and am unable to find the PILOTID\_OFFSET to look further. Where can I find this?
> 
> Chris Pollard

I don’t get what you mean by ‘started out’. What did you change?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 16, 2010, 6:28pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/12 "2010-03-16T18:28:02Z")

</div>

Nabeel

Our pilots start at 9501, our very first pilot is number 9501- Chris Pollard, and then goes on from there untill SJM9531, and we did’t run into trouble until we hit pilot number 9530.

Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 16, 2010, 6:42pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/13 "2010-03-16T18:42:24Z")

</div>

> Nabeel
> 
> Our pilots start at 9501, our very first pilot is number 9501- Chris Pollard, and then goes on from there untill SJM9531, and we did’t run into trouble until we hit pilot number 9530.
> 
> Jon Bailey

Yes, but I mean, did you/are you manually changing IDs?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 16, 2010, 6:46pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/14 "2010-03-16T18:46:48Z")

</div>

Nabeel

Here is the exact error messgae our pilots with a 9530 or higher pilot number get when they fill out the PIREP form “The flight code and number you entered is not a valid route!” aftr 9529 the system quit generating a route that corrisponded with a new hire. We would approve some one for example 9531 Pilot name, at the same time there would be a 9531 route number in the schedule created as well.Now it creates a new number on the roster, but no route number in the schedule system. And it quit doing this after pilot number 9529.

Does this help?

Jon Bailey

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 16, 2010, 6:48pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/15 "2010-03-16T18:48:35Z")

</div>

> Nabeel
> 
> Here is the exact error messgae our pilots with a 9530 or higher pilot number get when they fill out the PIREP form “The flight code and number you entered is not a valid route!” aftr 9529 the system quit generating a route that corrisponded with a new hire. We would approve some one for example 9531 Pilot name, at the same time there would be a 9531 route number in the schedule created as well.Now it creates a new number on the roster, but no route number in the schedule system. And it quit doing this after pilot number 9529. No no one has changed anything manually, or changed any code.
> 
> Does this help?
> 
> Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 16, 2010, 7:41pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/16 "2010-03-16T19:41:11Z")

</div>

Yes, but my question is did you go into phpMyAdmin and change pilot IDs?

Can you manually add a schedule with that flight number?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 16, 2010, 11:43pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/17 "2010-03-16T23:43:10Z")

</div>

Nabeel

No it wont let you add that number to the schedule, becuase it says it already exist’s, even thoughs its not listed on the route page, anywhere. What should we change the pilots number too? Even if we change them, it wont add the numbers to schedule, so the pilots can fill out the PIREPS form. I’ll have to get with Chris and figure out a another solution.

Jon Bailey

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 17, 2010, 1:53pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/18 "2010-03-17T13:53:22Z")

</div>

> Nabeel
> 
> No it wont let you add that number to the schedule, becuase it says it already exist’s, even thoughs its not listed on the route page, anywhere. What should we change the pilots number too? Even if we change them, it wont add the numbers to schedule, so the pilots can fill out the PIREPS form. I’ll have to get with Chris and figure out a another solution.
> 
> Jon Bailey

Is it in the database table, and active? Did you look under the inactive list?

---

<div class="post-metadata">

**Author:** ![Jon\_Bailey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/bcef8e/32.png) [@Jon\_Bailey](https://forum.phpvms.net/u/Jon_Bailey)\
**Post date:** [March 18, 2010, 4:11pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/19 "2010-03-18T16:11:01Z")

</div>

There is nothing in the inactive list, you cant physically see the 9530 or above numbers in the route database, and if you try to add them, it says that the route already exist’s. I deleated 3 of our inactive pilots, and it brought the total number of pilots down to under thirty, 27 to be exact. And after doing that I was able to load 9530 and above into the route database, so they could post their PIREPS using their pilot numbers. So now we are back to square one. Is there a limit to the number of pilots? Is there some PHP code we are missing somewhere to enable more pilots?

Jon Bailey

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [March 18, 2010, 10:57pm UTC](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223/20 "2010-03-18T22:57:48Z")

</div>

> There is nothing in the inactive list, you cant physically see the 9530 or above numbers in the route database, and if you try to add them, it says that the route already exist’s. I deleated 3 of our inactive pilots, and it brought the total number of pilots down to under thirty, 27 to be exact. And after doing that I was able to load 9530 and above into the route database, so they could post their PIREPS using their pilot numbers. So now we are back to square one. Is there a limit to the number of pilots? Is there some PHP code we are missing somewhere to enable more pilots?
> 
> Jon Bailey

maby i am not getting the whole picture but at our va wa are on the beta iff a pilot registers there is no route added they just enter a number from our schedulleand you arez reffering to the schedulles so maby there is an error and not in you pilos list.

[Next page](https://forum.phpvms.net/t/cant-add-more-than-30-pilots/2223.md?page=2)
