# FlightBookingSystem

**URL:** <https://forum.phpvms.net/t/flightbookingsystem/4091>\
**Category:** Development Help\
**Created:** [February 15, 2011, 5:15pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091 "2011-02-15T17:15:20Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Peter.ms](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@Peter.ms](https://forum.phpvms.net/u/Peter.ms)\
**Post date:** [April 28, 2011, 5:34am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/21 "2011-04-28T05:34:02Z")

</div>

Hello Parkho,

I trying to implement your addon but I facing to following issue:

In the pilot center I click on view flight schedules / Back to flight booking and I get the error message

" Notice: The template file “/vpa//core/templates/airport\_search.tpl” doesn’t exist in /vpa/core/classes/TemplateSet.class.php on line 248 "

I can see the cause: "/ **vpa//core** / but I am not sure where to fix it. I searched the sources for this but I did not find the place in the code where to modify it.

There is also no such file “airport\_search.tpl” in templates directory and it is not included in the zip package as well.

Could you advice me please?

Best wishes

Peter

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [April 28, 2011, 6:01am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/22 "2011-04-28T06:01:36Z")

</div>

> Hello Parkho,
> 
> I trying to implement your addon but I facing to following issue:
> 
> In the pilot center I click on view flight schedules / Back to flight booking and I get the error message
> 
> " Notice: The template file “/vpa//core/templates/airport\_search.tpl” doesn’t exist in /vpa/core/classes/TemplateSet.class.php on line 248 "
> 
> I can see the cause: "/ **vpa//core** / but I am not sure where to fix it. I searched the sources for this but I did not find the place in the code where to modify it.
> 
> There is also no such file “airport\_search.tpl” in templates directory and it is not included in the zip package as well.
> 
> Could you advice me please?
> 
> Best wishes
> 
> Peter

Hello Peter

I believe the file airport\_search.tpl is located in core/template in ZIP folder. Also, please make sure you followed the steps correctly as it’s working just fine right now.

Thanks

Parkho

Thankis

---

<div class="post-metadata">

**Author:** ![Peter.ms](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/p/ac8455/32.png) [@Peter.ms](https://forum.phpvms.net/u/Peter.ms)\
**Post date:** [April 28, 2011, 6:13am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/23 "2011-04-28T06:13:01Z")

</div>

Parkho,

Thanks, putting a shame to myself. Yes you are right, the file is there and all works fine now.

Sorry for my mistake.

Peter

> Hello Peter
> 
> I believe the file airport\_search.tpl is located in core/template in ZIP folder. Also, please make sure you followed the steps correctly as it’s working just fine right now.
> 
> Thanks
> 
> Parkho
> 
> Thankis

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [April 28, 2011, 6:20am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/24 "2011-04-28T06:20:27Z")

</div>

> Parkho,
> 
> Thanks, putting a shame to myself. Yes you are right, the file is there and all works fine now.
> 
> Sorry for my mistake.
> 
> Peter

No problem Sir

Glad it works fine for you. You can always contact me via MSN. Just search for [pkhorraminejad@gmail.com](mailto:pkhorraminejad@gmail.com).

Thanks

Parkho

---

<div class="post-metadata">

**Author:** ![Steve\_Martell](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@Steve\_Martell](https://forum.phpvms.net/u/Steve_Martell)\
**Post date:** [April 29, 2011, 4:03pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/25 "2011-04-29T16:03:58Z")

</div>

Hi there -

I was wondering if you can install this over RealScheduleLite without any issues? My VA is using RSL and I would like some of the increased functionality that your addon provides, but without having to go back and rip out the RSL files.

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [April 29, 2011, 4:35pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/26 "2011-04-29T16:35:33Z")

</div>

> Hi there -
> 
> I was wondering if you can install this over RealScheduleLite without any issues? My VA is using RSL and I would like some of the increased functionality that your addon provides, but without having to go back and rip out the RSL files.

Hi Steve

What exactly you want RSL to do for you? Because RSL is doing pretty much what flightbookingsystem does except for the A/C tarnsfer and ticket purchasing for the pilots. Also, in flight booking system you can assign unlimited routes to a single aircraft registration and still be able to see all of them at once while RSL only shows One route per Arcraft.

Thanks

---

<div class="post-metadata">

**Author:** ![Steve\_Martell](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@Steve\_Martell](https://forum.phpvms.net/u/Steve_Martell)\
**Post date:** [April 30, 2011, 1:18am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/27 "2011-04-30T01:18:41Z")

</div>

> Hi Steve
> 
> What exactly you want RSL to do for you? Because RSL is doing pretty much what flightbookingsystem does except for the A/C tarnsfer and ticket purchasing for the pilots. Also, in flight booking system you can assign unlimited routes to a single aircraft registration and still be able to see all of them at once while RSL only shows One route per Arcraft.
> 
> Thanks

Those are the things that I want - the unlimited routes (loops) to aircraft, which I’m assuming would allow a KLOU-KLEX-KCVG-KLOU-KPAH-KLOU daily loop, which I can’t do with RSL. And being able to transfer the AC is nice as well.

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [April 30, 2011, 4:27am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/28 "2011-04-30T04:27:18Z")

</div>

> Those are the things that I want - the unlimited routes (loops) to aircraft, which I’m assuming would allow a KLOU-KLEX-KCVG-KLOU-KPAH-KLOU daily loop, which I can’t do with RSL. And being able to transfer the AC is nice as well.

Hi Steve

If you want to transfer the A/C and be able to multiple routes per A/C registration, then I would have to say that’s a whole new set of coding which you need to ask a professional to do it for you since I’m only good at mixing things up and creating something new. As far as I know flight booking system can not be mixed with RSL since the coding of RSL is pretty complicated for an amateur.

Thanks

---

<div class="post-metadata">

**Author:** ![Ariel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/ariel/32/25_2.png) [@Ariel](https://forum.phpvms.net/u/Ariel)\
**Post date:** [May 12, 2011, 10:10am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/29 "2011-05-12T10:10:30Z")

</div>

okay im having somewat same problem as SINOCO…and i think i know why this is happening…atleast with me…i had RealSchedulesLite but upon wanting to switch to FlightBookingSystem i deleted the table i had from realschedules and tried to run the SQL file given with FlightBooking in which it gave me an error…i added the table manually and it finally works but as my CURRENT LOCATION it says () is there a way i can fix this?

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [May 12, 2011, 2:05pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/30 "2011-05-12T14:05:19Z")

</div>

> okay im having somewat same problem as SINOCO…and i think i know why this is happening…atleast with me…i had RealSchedulesLite but upon wanting to switch to FlightBookingSystem i deleted the table i had from realschedules and tried to run the SQL file given with FlightBooking in which it gave me an error…i added the table manually and it finally works but as my CURRENT LOCATION it says () is there a way i can fix this?

Hi Avolar VA

Have you tried to transfer yourself to somewhere else? Because I guess the table in your DB has not been created properly and that’s most common reason to that.

Thanks

Parkho

---

<div class="post-metadata">

**Author:** ![Ariel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/ariel/32/25_2.png) [@Ariel](https://forum.phpvms.net/u/Ariel)\
**Post date:** [May 12, 2011, 8:18pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/31 "2011-05-12T20:18:57Z")

</div>

> Hi Avolar VA
> 
> Have you tried to transfer yourself to somewhere else? Because I guess the table in your DB has not been created properly and that’s most common reason to that.
> 
> Thanks
> 
> Parkho

Hi Parkho,

Okay yes i guess i did needed to transfer to somewhere so the system can detect my current location…it fixd it..thank you!

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [May 12, 2011, 8:29pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/32 "2011-05-12T20:29:42Z")

</div>

> Hi Parkho,
> 
> Okay yes i guess i did needed to transfer to somewhere so the system can detect my current location…it fixd it..thank you!

You’re welcome

---

<div class="post-metadata">

**Author:** ![Ariel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/ariel/32/25_2.png) [@Ariel](https://forum.phpvms.net/u/Ariel)\
**Post date:** [May 12, 2011, 8:40pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/33 "2011-05-12T20:40:20Z")

</div>

Also im not sure if this has been brought up but wen i click on remove booking it directs me to [http://www.alvandair.com/index.php/schedules/bids](http://www.alvandair.com/index.php/schedules/bids)

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

SOLVED

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

I fixed it! but i think you should change it in the install files its in the “airport\_search.tpl” and it does direct you to [alvandair.com](http://alvandair.com) when you click on REMOVE BOOKING!

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [May 13, 2011, 3:28am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/34 "2011-05-13T03:28:33Z")

</div>

> Also im not sure if this has been brought up but wen i click on remove booking it directs me to [http://www.alvandair.com/index.php/schedules/bids](http://www.alvandair.com/index.php/schedules/bids)
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
> 
> SOLVED
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
> 
> I fixed it! but i think you should change it in the install files its in the “airport\_search.tpl” and it does direct you to [alvandair.com](http://alvandair.com) when you click on REMOVE BOOKING!

Oh! thanks for letting me know. I’ll change that.

---

<div class="post-metadata">

**Author:** ![Ariel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/ariel/32/25_2.png) [@Ariel](https://forum.phpvms.net/u/Ariel)\
**Post date:** [May 13, 2011, 4:59am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/35 "2011-05-13T04:59:51Z")

</div>

> Oh! thanks for letting me know. I’ll change that.

You’re Welcome!

---

<div class="post-metadata">

**Author:** ![Jamal\_Nadeem](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jamal_nadeem/32/134_2.png) [@Jamal\_Nadeem](https://forum.phpvms.net/u/Jamal_Nadeem)\
**Post date:** [June 8, 2011, 10:03pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/36 "2011-06-08T22:03:43Z")

</div>

Hello Parkho

1st of all I’d like to thank you for the good job overall.

My question is: What should i do to let my pilots pay for the transfer?

I don’t want it for free

Your kind response is much appreciated

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [June 9, 2011, 5:20am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/37 "2011-06-09T05:20:10Z")

</div>

> Hello Parkho
> 
> 1st of all I’d like to thank you for the good job overall.
> 
> My question is: What should i do to let my pilots pay for the transfer?
> 
> I don’t want it for free
> 
> Your kind response is much appreciated

Mr. Nadeem

Thank you for your query. To be honest I haven’t figured out that part yet but I’ll see what I can do to make it work. Meanwhile, please stay in contact with me and I’ll let you know of the results.

Parkho

---

<div class="post-metadata">

**Author:** ![Jamal\_Nadeem](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jamal_nadeem/32/134_2.png) [@Jamal\_Nadeem](https://forum.phpvms.net/u/Jamal_Nadeem)\
**Post date:** [June 9, 2011, 7:55am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/38 "2011-06-09T07:55:45Z")

</div>

> Mr. Nadeem
> 
> Thank you for your query. To be honest I haven’t figured out that part yet but I’ll see what I can do to make it work. Meanwhile, please stay in contact with me and I’ll let you know of the results.
> 
> Parkho

No doubt my friend

Thank you

---

<div class="post-metadata">

**Author:** ![Ephendi](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/e/a6a055/32.png) [@Ephendi](https://forum.phpvms.net/u/Ephendi)\
**Post date:** [June 24, 2011, 12:39am UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/39 "2011-06-24T00:39:38Z")

</div>

Thanksk for perfect addon.

My question is.

System remember pilot’s position, that’s o.k. If it is based on realschedulelite, may remember last airplane postion?

When i search for flight, i see in available flights list from departure’s airport airplanes (asigned to schedule from dep airport), who are on other airport after last flight pattern.

can i see only airplanes who are (based on last pirep) on this airport and i will see only schedules with this airplanes?

Sorry for my english

P.

---

<div class="post-metadata">

**Author:** ![Parkho](https://forum.phpvms.net/user_avatar/forum.phpvms.net/parkho/32/3273_2.png) [@Parkho](https://forum.phpvms.net/u/Parkho)\
**Post date:** [June 24, 2011, 6:08pm UTC](https://forum.phpvms.net/t/flightbookingsystem/4091/40 "2011-06-24T18:08:10Z")

</div>

> Thanksk for perfect addon.
> 
> My question is.
> 
> System remember pilot’s position, that’s o.k. If it is based on realschedulelite, may remember last airplane postion?
> 
> When i search for flight, i see in available flights list from departure’s airport airplanes (asigned to schedule from dep airport), who are on other airport after last flight pattern.
> 
> can i see only airplanes who are (based on last pirep) on this airport and i will see only schedules with this airplanes?
> 
> Sorry for my english
> 
> P.

Hi Ephendi

If I’m following you, you need the aircraft to be transferred as well? or just the aircraft and no pilots! Cause RSL is based on pilot location since it only has one DB to store pilot location and basically has no mean to store Aircraft location in DB.

If that’s the case I would say the Flight Booking System can not locate aircraft location if you want that, why not using the RSL itself as it’s pretty much complete and fulfill all your needs.

Thanks

[Previous page](https://forum.phpvms.net/t/flightbookingsystem/4091.md?page=1)

[Next page](https://forum.phpvms.net/t/flightbookingsystem/4091.md?page=3)
