# FlightBookingSystem V1.1

**URL:** <https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618>\
**Category:** Releases\
**Created:** [November 1, 2015, 4:26pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618 "2015-11-01T16:26:49Z")\
**Posts on this page:** 17\
**Page:** 1

<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:** [November 1, 2015, 4:26pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/1 "2015-11-01T16:26:49Z")

</div>

This is a new release compatible with phpVMS 5.5x by Simpilot.

Install:

1.Create SQL table using the one provided in the folder(flightbookingsystem.sql)

2.Upload the files in the order into the PHPvms software.

3.Copy the following to core/local.config.php :

```
Config::Set('JUMPSEAT_COST', '.25'); //0.25 is the cost.

```

4.Access it by:

```
<?php echo url('/FBSV11") ;?>

```

5.Enjoy

Download:

[FlightBookingSystem V1.1](http://github.com/parkho/FlightBookingSystem.V1.1)

---

<div class="post-metadata">

**Author:** ![Kishshey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kishshey](https://forum.phpvms.net/u/Kishshey)\
**Post date:** [November 1, 2015, 5:20pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/2 "2015-11-01T17:20:44Z")

</div>

Thank you very much. Perfect timing though. I was scratching my head trying to get your v1 to work. =D

---

<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:** [November 1, 2015, 5:22pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/3 "2015-11-01T17:22:20Z")

</div>

> Thank you very much. Perfect timing though. I was scratching my head trying to get your v1 to work. =D

I saw you scratching your head, so I changed it before you finish !!!

---

<div class="post-metadata">

**Author:** ![Kishshey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kishshey](https://forum.phpvms.net/u/Kishshey)\
**Post date:** [November 1, 2015, 5:50pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/4 "2015-11-01T17:50:19Z")

</div>

I would never have finished it =D

Btw I got this

**Fatal error** : Class ‘FBSV2Data’ not found on several files(Module file, airport\_search.php)

I tried changing the class to FBSVData, currently testing.

\*\*EDIT

Better yet, I renamed the class **FBSVData.class.php** to **FBSV** \*\* 2 \*\ ***Data.class.php**

and did the same to the line 2 of that file.

It’s working(sort of) now, however my template is missing. I think I’m doing something wrong.

This is all I see

---

<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:** [November 1, 2015, 5:53pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/5 "2015-11-01T17:53:17Z")

</div>

Change to “FBSV”

---

<div class="post-metadata">

**Author:** ![Kishshey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kishshey](https://forum.phpvms.net/u/Kishshey)\
**Post date:** [November 1, 2015, 6:01pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/6 "2015-11-01T18:01:48Z")

</div>

On the source code of the page rendered I found

Fatal error: Class ‘RealScheduleLiteData’ not found in /core/templates/fbsv/airport\_search.php on line 49

I deleted the files from your previous release, I will try re uploading the RealScheduleLite file from your V1

---

<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:** [November 1, 2015, 6:03pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/7 "2015-11-01T18:03:33Z")

</div>

Yeah I know I was fixing that

---

<div class="post-metadata">

**Author:** ![Kishshey](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@Kishshey](https://forum.phpvms.net/u/Kishshey)\
**Post date:** [November 1, 2015, 6:05pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/8 "2015-11-01T18:05:28Z")

</div>

> Yeah I know I was fixing that

Sounds great. Also fix the line 29 on airport search. For action URL was incorrect. I will keep you posted if I come across anything

Thanks for your good work

---

<div class="post-metadata">

**Author:** ![Melli](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Melli](https://forum.phpvms.net/u/Melli)\
**Post date:** [December 17, 2016, 7:47pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/9 "2016-12-17T19:47:55Z")

</div>

found a bug. if a aircraft is&nbsp; disabled, you can also book a flight ☹

---

<div class="post-metadata">

**Author:** ![Melli](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Melli](https://forum.phpvms.net/u/Melli)\
**Post date:** [December 26, 2016, 10:16am UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/10 "2016-12-26T10:16:25Z")

</div>

is it possible to correct it?

---

<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:** [December 26, 2016, 10:27am UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/11 "2016-12-26T10:27:47Z")

</div>

Yes. It’s possible.

---

<div class="post-metadata">

**Author:** ![Rene](https://forum.phpvms.net/user_avatar/forum.phpvms.net/rene/32/1046_2.png) [@Rene](https://forum.phpvms.net/u/Rene)\
**Post date:** [January 19, 2017, 8:39am UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/12 "2017-01-19T08:39:54Z")

</div>

and how Parkho?

Please help us out…

---

<div class="post-metadata">

**Author:** ![ncd200](https://forum.phpvms.net/user_avatar/forum.phpvms.net/ncd200/32/3024_2.png) [@ncd200](https://forum.phpvms.net/u/ncd200)\
**Post date:** [April 21, 2017, 10:37am UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/13 "2017-04-21T10:37:18Z")

</div>

when trying to search a flight I recieve the following error.

How do I solve this?

> Quote
> 
> **Parse error** : syntax error, unexpected ‘$route’ (T\_VARIABLE) in **/home/silverwingsva/crew.silverwingsva.eu/core/templates/fbsv/schedule\_results.php** on line **118**

&nbsp;

---

<div class="post-metadata">

**Author:** ![web541](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/w/59ef9b/32.png) [@web541](https://forum.phpvms.net/u/web541)\
**Post date:** [April 21, 2017, 12:06pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/14 "2017-04-21T12:06:11Z")

</div>

Change that line to this

```
\<td colspan="0" align="left" \>\<b\>\<?php echo $route-\>distance . Config::Get('UNITS') ;?\>\</b\>\</td\>

```

and see if that works

---

<div class="post-metadata">

**Author:** ![ncd200](https://forum.phpvms.net/user_avatar/forum.phpvms.net/ncd200/32/3024_2.png) [@ncd200](https://forum.phpvms.net/u/ncd200)\
**Post date:** [April 21, 2017, 3:41pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/15 "2017-04-21T15:41:25Z")

</div>

> 3 hours ago, web541 said:
> 
> Change that line to this
> 
> \<td colspan=“0” align=“left” \>\<b\>\<?php echo $route-\>distance . Config::Get(‘UNITS’) ;?\>\</b\>\</td\>
> 
> and see if that works

yep,that did the trick. thank you very much

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Michael2015](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/41988e/32.png) [@Michael2015](https://forum.phpvms.net/u/Michael2015)\
**Post date:** [October 20, 2017, 4:16pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/16 "2017-10-20T16:16:37Z")

</div>

Sorted&nbsp;

---

<div class="post-metadata">

**Author:** ![Michael2015](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/41988e/32.png) [@Michael2015](https://forum.phpvms.net/u/Michael2015)\
**Post date:** [November 8, 2017, 2:37pm UTC](https://forum.phpvms.net/t/flightbookingsystem-v1-1/10618/17 "2017-11-08T14:37:27Z")

</div>

i have got this issue on my VA

&nbsp;

| &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;All&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Virtual Air Leasing&nbsp;vEtihad Airways&nbsp;vJet2vUnited Airlines&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; |  
| Select An Aircraft Type: | &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;All&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;

| ( ! )&nbsp;Deprecated: Non-static method FBSVData::routeaircraft() should not be called statically in /home/vairleas/pilotlounge.vairleasing.net/core/templates/fbsv/airport\_search.php on line&nbsp;_49_ |
| --- |
| Call Stack |
| — |
| # |
| — |
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
| 8 |

|  
| Select Arrival Airfield: | &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;All&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;

| ( ! )&nbsp;Deprecated: Non-static method FBSVData::arrivalairport() should not be called statically in /home/vairleas/pilotlounge.vairleasing.net/core/templates/fbsv/airport\_search.php on line&nbsp;_75_ |
| --- |
| Call Stack |
| — |
| # |
| — |
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |

|
