Jump to content
Parkho

FlightBookingSystem V1.1

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

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 FBSV2Data.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

29Gj68A.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

 

 

Share this post


Link to post
Share on other sites

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
# Time Memory Function Location
1 0.0007 378488 {main}( ) .../index.php:0
2 0.0263 1963768 MainController::RunAllActions( ) .../index.php:70
3 0.0263 1963768 FBSV11->index( ) .../MainController.class.php:218
4 0.0285 2081920 FBSV11->show( ) .../FBSV11.php:26
5 0.0285 2081920 Template::show( ) .../CodonModule.class.php:88
6 0.0285 2081920 TemplateSet->showTemplate( ) .../Template.class.php:82
7 0.0285 2081920 TemplateSet->getTemplate( ) .../TemplateSet.class.php:181
8 0.0287 2120232 include( '/home/vairleas/pilotlounge.vairleasing.net/core/templates/fbsv/airport_search.php' ) .../TemplateSet.class.php:238
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
# Time Memory Function Location
1 0.0007 378488 {main}( ) .../index.php:0
2 0.0263 1963768 MainController::RunAllActions( ) .../index.php:70
3 0.0263 1963768 FBSV11->index( ) .../MainController.class.php:218
4 0.0285 2081920 FBSV11->show( ) .../FBSV11.php:26
5 0.0285 2081920 Template::show( ) .../CodonModule.class.php:88
6 0.0285 2081920 TemplateSet->showTemplate( ) .../Template.class.php:82
7 0.0285 2081920 TemplateSet->getTemplate( ) .../TemplateSet.class.php:181

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...