Jump to content

jantorre

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by jantorre

  1. Im on the beta this topic is about, 812.
  2. NOT able to log in, it always relay "You have to be logged in to use this feature" when pushing "log in"
  3. I have not had this message in other betas except for the last time I tried, I will go back to the backup then:P I tried another link, and it still shows me as not logged in, same for other members. JT
  4. When I try to log in after update I get: You must be logged in to access this feature! Kinnda funny to get you have to be logged in, to log in. Got this the last time I tried updating aswell(was 806 or something)
  5. Now that looks very good! I will gladly help with testing aswell See ya
  6. That would be great, thank you
  7. "Custom stuff" I mean updating my templates with the new base codes. I just tried deleting logs/cookies , and have tried reinstalling but it didnt work now either. Maybe I should do a fresh install? If I backup the current database and the skin. and then install the last full 1.2.700, then update this one? This is a live site so I don't want to kill all our data We allready got 101 pilots and almost 600 hours in less than a month! ;D
  8. Im having trouble with this one, every time I try to log in I get: "You must be logged in to access this feature!" Have tried resetting password aswell, no go. Did the update as I allways do. Backup old files on server. Added my custom stuff to the new files and uploaded. Did the SITE/install/update.php , it quoted update finished the second I opened the page. Earlier updates has shown progress when updating, this didnt. When I tried to restore my backup, I could log in using my old password again, no problems(except for a few coorupted files). Any clues on this one? updated from beta 786. BTW thank you for the FSFK support, was looking forward to try it, guess Ill have to wait a few more days 8)
  9. Ok here is an example of my solution: <!-- Fuel --> <tr style="background-color: #333; color: #FFF;"> <td colspan="2">Fuel</td> </tr> <tr> <td colspan="2" style="padding: 6px;"> Estimated fuel for this flight including 1 hour of reserves: <B><?php { if($schedule->aircraft=='B737-X00') { $result = 5.8 * ($schedule->distance) + 2100; } elseif($schedule->aircraft=='B737-800') { $result = 4.0 * ($schedule->distance) + 2500; } elseif($schedule->aircraft=='MD80') { $result = 6.5 * ($schedule->distance) + 3000; } } echo round ($result,-2); echo ' kg'; ?> </B><BR> Remember this is only basic fuel estimate, for more precise fuelplanning use <a href="http://www.volny.cz/fs2002/B737FPL/B737FPL.htm" target="_frame">B737 fuelplanner</a> or Software like <a href="http://www.fsbuild.com" target="_frame">FSBUILD</a> </td> </tr> If you include a trigger on short/long flight distances you could get it even more precise, but have not tried it yet. These figures above are where pesimistic and you should have plenty of fuel. These figures are for KG * KM + "KG for 1HR" It was based on our statistics, but need more tuning.
  10. Registration works, but the custom field vatsim id is not included. Ill send it to our host
  11. "500" only happens when new user push "register!" The error from the log I could find: [sun Nov 01 05:01:59 2009] [error] [client 62.50.178.213] malformed header from script. Bad header=No recipient addresses found i: php-cgi, referer: http://virtualnorwegian.net/index.php/registration All info inserted into the forms. Its all standard from phpvms.beta, are on the latest beta .784, + on extra field for vatsim id. I got no clue what so ever
  12. I have not included flighttime in the schedule so I simply made it a value * distance + reserve = fuel . Remember that for short flights, fuel per mile will be higher than for long flights because of climb/cruise time, so you have to balance the number a bit.
  13. Another one for you: As we have so many possibilites for automated logging, we request our pilots to not use manual pirep unless it was a technical problem. I would like to set who are allowed to use manual pirep.
  14. I agree, they should file a pirep to remain active.
  15. Have been using it actively, its working great. I have one request: Since im responsible for giving some support, my inbox is big. Adding a archive or custom folders would be great for me.
  16. We use €/kg and the problem is that some reports will be €/lbs and some in €/kg. I though I had set up fsacars file to use kg, I guess it was lost in an upgrade I did. You can cross of the fuel issue with fsacars. XACARS only supports lbs nothing to do there, unless you add an variable to devide by 2.2 when vms is set to kg? We still have the server 500 error. we have phpMyAdmin, version 5.0.67, and im very sertain that I have run every install/update.php when installing new betas. Could there be an permision or something missing? Regards, JT
  17. Oh, i spotted the if for flighttime, then there is no more from me, let me know if it works 8)
  18. Feel free to share your approach, I'm shure there is easier ways to do this than I have.
  19. Thanks, and don't worry, I now it can be very hectic sometimes
  20. I know most of you would get this working yourself, but for you who dont here is a sample of the code I use to display custom chart snapshots and links in the pilot briefing page. Also included are the links we use for weather: First of all I gathered all the links for the airports we fly to, based the charts on the lokal vacc at vatsim because many AIP sites require you to log in: I placed snaphost of the ground layout with format ICAO.gif in folder named images/charts . Image size 387*594. It is a bit of work, but I think the result is good. Have only received possitve feedback so far ;D Links placed in the airporttable under 'chartlink' and added a row for link to local VACC aswell('vacc'): From schedule_briefing.tpl starting somewhere close to line 115(Procedures and Information): <h3>Procedures and Information</h3> <table width="98%" align="center"> <tr style="background-color: #333; color: #FFF;"> <td>Charts for <?php echo $schedule->depicao?></td> <td>Charts for <?php echo $schedule->arricao?></td> </tr> <tr align="center"> <td width="50%" valign="top"> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->depicao); echo $data->chartlink; ?>" target="_blank"> <img border="0" src="http://www.yoursite.com/images/charts/<?php echo $schedule->depicao?>.gif" width="387px" height="594px" alt="No chart available" /></a><br> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->depicao); echo $data->vacc; ?>" target="_blank">Local VACC</a> </td> <td width="50%" valign="top"> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->arricao); echo $data->chartlink; ?>" target="_blank"> <img border="0" src="http://www.yoursite.com/images/charts/<?php echo $schedule->arricao?>.gif" width="387px" height="594px" alt="No chart available" /></a><br> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->arricao); echo $data->vacc; ?>" target="_blank">Local VACC</a> </td> </tr> </table> and here our weather stuff: <h3>Weather</h3> <div align="center"> <B>Weather chart: 24hr Surface Prognosis</B> <p><img src="http://131.54.120.150/gifImages/21OWS_EUROPE_FITL_PROG-BRIEFING_24.gif" /></p> <B>Forecast significant WX for time 12Z:</B> <a href="http://www.flyingineurope.be/aviation_weather_maps.htm" target="_blank">For other times</a> <p><img src="https://www.aro.lfv.se/fpc/Tor/SWC_1200.gif" width="826px" height="583px" alt="No chart available" /></p> <B>Europe FL100 Wind, Temp and Icing Forecast</B> <a href="http://www.jetplan.com/jeppesen/weatherServlet?&action=show&graphicType=wxMapWT&img=euwt100m" target="_blank">For other times</a> <p><img src="http://www.jetplan.com/weather/data/maps/euwt10024.gif" /></p> <B>Winds @ FL340 12hrZ: </B> <p><img src="http://ows.public.sembach.af.mil/gifImages/21OWS_EUROPE_MODEL-DATA_UKMO-GLOBAL_WIND-TEMP_FL340_12_00Z.png" /></p> <B>Winds @ FL390 12hrZ: </B> <p><img src="http://ows.public.sembach.af.mil/gifImages/21OWS_EUROPE_MODEL-DATA_UKMO-GLOBAL_WIND-TEMP_FL390_12_00Z.png" /></p> <B>Precipitation predicts for today:(rain/snow etc)</B> <p><img src="http://www.usatoday.com/weather/TWC_Images/eur_precip_440_dmy_y.jpg" /></p> <B>12HR Icing:</B> <p><img src="http://131.54.120.150/gifImages/21OWS_EUROPE_FITL_ICING-STANDARD_12.gif" /></p> <a href="http://www.flyingineurope.be" target="_blank">View additional weather graphs</a> or use <a href="http://www.ippc.no" target="_blank">Avinor Internet Pilot Planning Center</a> </div> <div align="right" style="font-size: small;">Data Courtesy of <a href="http://www.flyingineurope.be" target="_new">flyingineurope</a></div> <br /> The weather links are for 12 zulu, but there is link to the other times aswell. Results: Regards, JT
  21. Nr2 I turned on the errorreports= SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT groupid FROM phpvms_groups WHERE name='1' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT groupid FROM phpvms_groups WHERE name='7' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT groupid FROM phpvms_groups WHERE name='6' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT groupid FROM phpvms_groups WHERE name='5' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT groupid FROM phpvms_groups WHERE name='3' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT groupid FROM phpvms_groups WHERE name='4' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid FROM phpvms_groupmembers g WHERE g.pilotid=49 AND g.groupid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT g.groupid, g.name FROM phpvms_groupmembers u,phpvms_groups g WHERE u.pilotid=49 AND g.groupid=u.groupid You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT * FROM phpvms_airlines ORDER BY `code` ASC You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT * FROM phpvms_airports WHERE `hub`=1 ORDER BY `icao` ASC You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT * FROM phpvms_awards You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 INSERT INTO phpvms_fieldvalues (fieldid, pilotid, value) VALUES (1, , '123456') You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '123456')' at line 2 SELECT r.*, (SELECT COUNT(*) FROM phpvms_pilots WHERE rank=r.rank) as totalpilots FROM phpvms_ranks r ORDER BY r.minhours ASC You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '123456')' at line 2 SELECT p.*, r.`rankimage`, r.`payrate` FROM phpvms_pilots p LEFT JOIN phpvms_ranks r ON r.`rank`=p.`rank` WHERE p.`pilotid`='0' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '123456')' at line 2 UPDATE phpvms_pilots SET rank="Training First Officer" WHERE pilotid= You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT p.*, r.`rankimage`, r.`payrate` FROM phpvms_pilots p LEFT JOIN phpvms_ranks r ON r.`rank`=p.`rank` WHERE p.`pilotid`='' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SELECT * FROM phpvms_pilots ORDER BY `pilotid` DESC LIMIT 10 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 NR3, I launched it with brta 778, will try to update it tonight to the latest. Now both admins have had problems, but one got it work, was a "remeber me issue there"
  22. Ok them im clueless (exporting them do not harm)
  23. I know most of you would get this working yourself, but for you who dont here is a sample of the code I use to display custom chart snapshots and links in the pilot briefing page. Also included are the links we use for weather: First of all I gathered all the links for the airports we fly to, based the charts on the lokal vacc at vatsim because many AIP sites require you to log in: I placed snaphost of the ground layout with format ICAO.gif in folder named images/charts . It is a bit of work, but I think the result is good. HAve only received possitve feedback so far ;D Links placed in the airporttable under 'chartlink' and added a row for link to local VACC aswell('vacc'): From schedule_briefing.tpl starting at line 108(Procedures and Information): <h3>Procedures and Information</h3> <table width="98%" align="center"> <tr style="background-color: #333; color: #FFF;"> <td>Charts for <?php echo $schedule->depicao?></td> <td>Charts for <?php echo $schedule->arricao?></td> </tr> <tr align="center"> <td width="50%" valign="top"> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->depicao); echo $data->chartlink; ?>" target="_blank"> <img border="0" src="http://www.yoursite.com/images/charts/<?php echo $schedule->depicao?>.gif" width="387px" height="594px" alt="No chart available" /></a><br> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->depicao); echo $data->vacc; ?>" target="_blank">Local VACC</a> </td> <td width="50%" valign="top"> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->arricao); echo $data->chartlink; ?>" target="_blank"> <img border="0" src="http://www.yoursite.com/images/charts/<?php echo $schedule->arricao?>.gif" width="387px" height="594px" alt="No chart available" /></a><br> <a href="<?php $data = OperationsData::GetAirportInfo($schedule->arricao); echo $data->vacc; ?>" target="_blank">Local VACC</a> </td> </tr> </table> and here our weather stuff: <h3>Weather</h3> <div align="center"> <B>Weather chart: 24hr Surface Prognosis</B> <p><img src="http://131.54.120.150/gifImages/21OWS_EUROPE_FITL_PROG-BRIEFING_24.gif" /></p> <B>Forecast significant WX for time 12Z:</B> <a href="http://www.flyingineurope.be/aviation_weather_maps.htm" target="_blank">For other times</a> <p><img src="https://www.aro.lfv.se/fpc/Tor/SWC_1200.gif" width="826px" height="583px" alt="No chart available" /></p> <B>Europe FL100 Wind, Temp and Icing Forecast</B> <a href="http://www.jetplan.com/jeppesen/weatherServlet?&action=show&graphicType=wxMapWT&img=euwt100m" target="_blank">For other times</a> <p><img src="http://www.jetplan.com/weather/data/maps/euwt10024.gif" /></p> <B>Winds @ FL340 12hrZ: </B> <p><img src="http://ows.public.sembach.af.mil/gifImages/21OWS_EUROPE_MODEL-DATA_UKMO-GLOBAL_WIND-TEMP_FL340_12_00Z.png" /></p> <B>Winds @ FL390 12hrZ: </B> <p><img src="http://ows.public.sembach.af.mil/gifImages/21OWS_EUROPE_MODEL-DATA_UKMO-GLOBAL_WIND-TEMP_FL390_12_00Z.png" /></p> <B>Precipitation predicts for today:(rain/snow etc)</B> <p><img src="http://www.usatoday.com/weather/TWC_Images/eur_precip_440_dmy_y.jpg" /></p> <B>12HR Icing:</B> <p><img src="http://131.54.120.150/gifImages/21OWS_EUROPE_FITL_ICING-STANDARD_12.gif" /></p> <a href="http://www.flyingineurope.be" target="_blank">View additional weather graphs</a> or use <a href="http://www.ippc.no" target="_blank">Avinor Internet Pilot Planning Center</a> </div> <div align="right" style="font-size: small;">Data Courtesy of <a href="http://www.flyingineurope.be" target="_new">flyingineurope</a></div> <br /> The weather links are for 12 zulu, but there is link to the other times aswell.
  24. Looking good, will add this aswell if you get it working Some of our pilots still use 100% fuel, even for short flights so we have some work to do there The code looks good, but my php is not up there yet, for me to judge it:P Only my Q is why you use fuelHR / flightHR , should this be multiply insted? And how to make the math know that flight hours are H:MM insted of 1.5 hr= 1hr 30mins... But Im cheering for you
×
×
  • Create New...