FlightBookingSystem V1.1

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

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

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 !!!

1 Like

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

Change to “FBSV”

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

Yeah I know I was fixing that

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

found a bug. if a aircraft is  disabled, you can also book a flight :frowning:

is it possible to correct it?

Yes. It’s possible.

and how Parkho?

Please help us out…

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

 

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

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

 

 

Sorted 

i have got this issue on my VA

 

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

( ! ) 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 49
Call Stack
#
1
2
3
4
5
6
7
8

|
| Select Arrival Airfield: |                      All                      

( ! ) 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 75
Call Stack
#
1
2
3
4
5
6
7

|