Jump to content

Wildone

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by Wildone

  1. Is it possible to run multiple airlines within phpvms ie 4 airlines differant routes and aircraft and differant flight no for those airlines.
  2. TFDI database lost my airline and thru smartcars into maintanience mode. Just need help on how to properley input my smartcars script mine reside on my server in my httpdocs/core/smartCARS folder Any help plse
  3. phpVMS- master.zip from a site showen on this forum think it was the Build 938 (Version 2.1.938) last updated 2013
  4. I am trying to do a clean install on my current server in a sub-domain as per my support dept. I have followed the instructions on copy files and change permissions to 777 on my server. I then go to my browser url and try to install from the install/install.php I had a time zone error but that has been fixed . I then tried again and got the following error Warning: include(/var/www/vhosts/xxx-airways.com/site2/core/classes/ezdb/ezdb.class.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/xxx-airways.com/site2/install/includes/loader.inc.php on line 36 Warning: include() [function.include]: Failed opening '/var/www/vhosts/xxx-airways.com/site2/core/classes/ezdb/ezdb.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/xxx-airways.com/site2/install/includes/loader.inc.php on line 36 Warning: include(/var/www/vhosts/xxx-airways.com/site2/core/lib/mysqldiff/MySQLDiff.class.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/xxx-airways.com/site2/install/includes/loader.inc.php on line 49 Warning: include() [function.include]: Failed opening '/var/www/vhosts/xxx-airways.com/site2/core/lib/mysqldiff/MySQLDiff.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/xxx-airways.com/site2/install/includes/loader.inc.php on line 49 I fixed the first 2 by copy my current core/classes/ezdb/ezdb.class.php file from my current working site but know getting this errors Warning: include(/var/www/vhosts/xxx-airways.com/site2/core/lib/mysqldiff/MySQLDiff.class.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/xxx-airways.com/site2/install/includes/loader.inc.php on line 49 Warning: include() [function.include]: Failed opening '/var/www/vhosts/xxx-airways.com/site2/core/lib/mysqldiff/MySQLDiff.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/xxx-airways.com/site2/install/includes/loader.inc.php on line 49 Notice: The template file "/var/www/vhosts/xxx-airways.com/site2/install/templates/header.php" doesn't exist in /var/www/vhosts/xxx-airways.com/site2/core/classes/TemplateSet.class.php on line 231 Notice: The template file "/var/www/vhosts/xxx-airways.com/site2/install/templates/s0_config_check.php" doesn't exist in /var/www/vhosts/xxx-airways.com/site2/core/classes/TemplateSet.class.php on line 231 Notice: The template file "/var/www/vhosts/xxx-airways.com/site2/install/templates/footer.php" doesn't exist in /var/www/vhosts/xxx-airways.com/site2/core/classes/TemplateSet.class.php on line 231 I can't recall getting these problems with my last working install
  5. Going to redo our VA and not sure to use old version or new . Anyone have any plus or minus for each version
  6. does anyone know of any way too or is there any software that can be used on a VA to provide a free Live Chat with Video feature that our members can use on our site. Something like teamspeak private room but with a video conference soft of feel.
  7. Thanks for the reply simpilot but it is limited to the number of letters and no. . It always chops off the last 2 digits of my Flight schedule .Is there somewhere that can be edited to accept more digits as it is limited to just 5
  8. Can anyone tell me what should be entered in here when using or setting up a new event with this module. It is in the Create New Event menu Company Schedule: ? Anyone know what they mean here.
  9. One of our members is using FSacars to submit his Pirep but is get the following errors on screen when he does. 1/ He gets a box coming up with a yellow error symbol and the following text in the box An error has ocurred in the script of this page line 97 char 5 Unable to set property innerHTML of underfinded or null reference code 0 URL http://www.xxxxxxx.com/index.php/profile/view Do you want to continue running scripts on this page Yes or No ? 2/ He also get a box with a error in it saying error sending log database error 3/ An error has occurred in the script of this page line 1 char 1 error syntax error code 0 URL http://www.xxxxxxxxxx.com/index.php/profile/excanvas.js Do you want to continue running scripts Yes or No? Could this be a FSacars compatability problem with phpvms ,a javascript problem or members PC error
  10. We are using smartCars with phpvms but when the Pilot completes his flight and submits his Pirep to our VA the fuel burn figures are way out . I contacted the company that produces the software and they inform me that it uses lbs,feet,knots and the VA controls the rest of the figues. In the pilot log file they are showing aircraft weight in kg but everything else is showing in ibs,ft,kts ,and on completion of flight says I landed in xxxx ft with xxxxx kg in fuel. I ahve looked on other VA that use smartCars and there pireeps are showing no kg,etc at all in ther log files. This tends to make me think it is a setting in phpVMS . Hope someone can help me with this
  11. Are there anymore country;s and there flags available yet to add to the the ones that come with default phpvms. I have a couple of pilots from Serbia but that country not in list. There is a listing for the Former Yugoslavia but no flag.If no new ones how do I add a country and its flag image to phpvms.
  12. Hello guys, I have used the code from the previous page and implemented it in the pilot_public_profile.tpl so it displays the map of pilots flights. But I am struggling with a problem, namely when the pilot has not flown any flights just over the blank map image, the error message pop up: I have tried playing with a if function, but it doesnt work for me, or maybe I did it in wrong way. Can anyone help me to solve this problem? My code is: <table id="pilotmap" style="border-collapse:collapse; width:590px;"> <thead> <tr> <th style="width:100%">Last 10 flights</th> </tr> </thead> <tbody> <tr> <td> <?php $string = ""; foreach($pireps as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> <p align="center"><img src="http://www.gcmap.com/map?P=<?php echo $string ?>%0D%0A&PM=b%3Asquare3%3Ablack%2B%22%25N%2213r%3Ablack&MS=wls&DU=mi" id="thumb" style="width:590px; height:360px;"/> <br /> Maps generated by the <a href="http://www.gcmap.com/">Great Circle Mapper</a> - copyright © <a href="http://www.kls2.com/~karl/">Karl L. Swartz</a>.</p></td> </tr> </tbody> </table> P.S. And one more thing, how do I make it to get the values of last 10 flights? Because in the original code from the previous page, there was such a line of code $flights = PIREPData::getRecentReportsByCount(10); but I did delete it. Cheers!
  13. By the way. Is there any possibility to sort the schedule so it will display by ,lets say, flight number, or airline code. Because now its a big mess.
  14. The closing tag of table was missing. And talking about the php insinde a .htm file... You are right. I have created a module for this site to get it work. Thank you!
  15. Hello Guys, I have created a page .htm via "add page" function in Admin Center. Then I have downloaded the schedule.htm from the ftp server and edited it(content of the file below) and reupload it on the server. But then the problem has occurred. Namely the schedule does appear below the disclaimer which is located in the footer div which is located at the very bottom. When it should be above the disclaimer and over the whole footer div...I have been wondering should I do that in other way, creating a tpl file or something. So if can anyone have a look at the code below and maybe suggest something what I did wrong? Your help would be greatly appreciated schedule.htm <?php $scheds = SchedulesData::getSchedules(); ?> <table width ="100%"> <tr> <th align="center">Flight #</td> <th align="center">Departure</td> <th align="center">Arrival</td> <th align="center">Time Out</td> <th align="center">Time In</td> <th align="center">Monday</td> <th align="center">Tesday</td> <th align="center">Wednesday</td> <th align="center">Thursday</td> <th align="center">Friday</td> <th align="center">Saturday</td> <th align="center">Sunday</td> <th align="center">Fare Price</td> <th align="center">Aircraft</td> </tr> <?php foreach($scheds as $sched) { ?> <tr> <td align="center"><?php echo $sched->code.$sched->flightnum ;?></td> <td align="center"><?php echo $sched->depicao ;?></td> <td align="center"><?php echo $sched->arricao ;?></td> <td align="center"><?php echo $sched->deptime ;?></td> <td align="center"><?php echo $sched->arrtime ;?></td> <?php // We are gonna loop each day of the week for($dayofweek = 0; $dayofweek < 7; $dayofweek++) { // echo our column opening echo '<td>'; // Check if $i (the current day of week) exists if(substr_count($sched->daysofweek, $dayofweek) > 0) { // there is a flight for sunday , so echo that plane icon out echo '<img src="#" > '; } // Close that column echo '</td>'; } ?> <td align="center"><?php echo $sched->price ;?></td> <td align="center"><?php echo $sched->aircraft ;?></td> </tr> <?php } ?> layout.tpl <?php ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <meta http-equiv="X-UA-Compatible" content="IE=7"> <title><?php echo $page_title; ?></title> <link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/myskin/styles.css" /> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> </head> <body> <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> <div id="body"> <div id="innerwrapper"> <div id="topBanner"><?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<a target="_blank" id="administra" href="'.fileurl('/admin').'">Admin Center</a>'; } ?> <?php } ?> </div> <div id="topNav"> <ul class="nav"> <?php /* You can modify this template into a table or something, by default it's list elements inside of a UL. Here's a link with some info: http://articles.sitepoint.com/article/css-anthology-tips-tricks-4/2 */ Template::Show('core_navigation.tpl'); ?> </ul> </div> <div id="bodytext"> <?php /* This will insert all of the "meat" of the page in there - the template which is generated, depending on which page you're on. To change these templates, check out the docs on the site. They're under the /core/templates folder, and to change them, copy them into the folder of your skin (the folder this file is in right now. */ echo $page_content; ?> </div> </div> <div id="footer"> <h4 style="margin-bottom:0;">---------------------------------------------------------------------Disclaimer---------------------------------------------------------------------</h4> <p style="margin-top:0;">Disclaimer text<p> <p>copyright © 2007 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br /> <!-- Please retain this!! It's part of the phpVMS license. You must display a "powered by phpVMS" somewhere on your page. Thanks! --> <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a></p> </div> </div> </body> </html> style.css #footer { width: 970px; /*background: url(images/bottombg.jpg) repeat-x 0 0 #ffffff;*/ height: 115px; margin: 0 auto; padding: 100px 0 0 0; clear: both; text-align: center; border-left: none; border-right: none; } #footer p { padding: 0; font-size: 10px; }
  16. Hello Guys, I would like to ask you for help. After a few unsuccessful attempts, I gave up. Basically what I was trying to do is make a loop statement to get pilots current booked flights values of depicao and arricao, so they display next to each pilot name in the pilot roster. Can anybody help?
×
×
  • Create New...