Jump to content

Kyle

Moderators
  • Posts

    2282
  • Joined

  • Last visited

Everything posted by Kyle

  1. Joshua, Upload your install folder back to your VMS and Run the checkinstall.php. Then let us know what the errors are. I think there might be something messed up with your install.
  2. Kyle

    Fuel Error.

    Yeah I'm thinking of that too. Maybe a world fuel market went up crazy i guess.
  3. Hey Mark, No it's on my own server. It's not hosted. The server is hosted by me. But I got it all firgured out. It's back to normal. It was my friend was creating another Admin User for a database and it cause the Root User to lose everything to access, so I got it all sorted out. Just got to love Windows Server. I was freaking out how will i get thoses DB's back. :lol
  4. OK, Free hosting can limit limit you, so that's the problem, Free Hostings are not good. Paid ones, you won't have that kind of problems.
  5. Ok, This morning, I logged into my VA and I got the error when I go into my VMS Access denied for user 'root'@'localhost' to database 'njva' And then, WTF! I log into my phpMyAdmin and I don't have any access to my njva databases or others. I had like 12 databases but now I don't have any access databases. Now I went into the privileges tab, and then I got the error No Privileges Now seriously, I can't lose those databases. Can anyone help me please. Thanks.
  6. Jeff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Welcome back!!!
  7. Hey, Ok. With the flight listing, at the last page, there was supposed be more flights. I have 262 flights but the flight listing in the Admin is showing only 255 flights. not the rest. But in the secludes, they are showing all of it.
  8. nope didn't work, still not showing my new flights.
  9. Hey mark, It does show my first 25 flights at page one, and on to two, and on to three. But at the last page, It's not showing the rest of my new 767's flights. It's only showing my Boeing 737's and Airbus 319's and Airbus 321's. But not the 767's.
  10. Hey guys, I'm having problems, and when I added ten more flights to my schedules and then I noticed in the admin, they are not showing the rest. Here's of a screen shot of it. But it does show all of the flights in the flight schedule page. Does anyone know what the heck is going on? Any help would be great!
  11. Kyle

    Fuel Error.

    Well, many cases for that is that... Pilots might used too much/made a mistake with the fuel captictiy.
  12. IT looks like Nabeel's config needs to enable one of allow url fopen.
  13. Kyle

    VAForum 2

    Now you noticed it too. I noticed it long time ago, lol.
  14. That's weird to me. To what I think is that your files could been corrupted. So what I would do is just reupload the files and try again.
  15. Kyle

    LBS to KG Change

    Look for this line in your local config in the core folder of your VMS. mine's different, alot of lines. Look for that line..... Config::Set('LiquidUnit', '3'); # 0=liter 1=gal 2=kg 3=lbs And Change the Value to whatever units you want and kACARS will automatically convert to your Setting's Units.
  16. Kyle

    LBS to KG Change

    Hey, You know when your pilot submites the PIREP, the kACARS will read your fuel unit in your config file and it will convert the LBS to KG numbers.
  17. Hey Guys, I'm trying to firgure out what's wrong. So I don't want any pilots to access the retired pilots public profiles and here's my code from profile.php. if(!pilot::retired()) { $this->set('message', 'Sorry! This Profile Is Not Available! '); $this->render('core_error.tpl'); return; } Can anyone help me to guide in the right direction and I'll be happy to give you 1+ rep if you helped me. Thanks!
  18. Hey Cor, if you want my stock sechdules tpl file with the pager, let me know and I'll attach to it here.
  19. Kyle

    HubStats Class

    No Problem Guys! Glad you like it.
  20. Kyle

    Kesuk

    What about simpilot Roger? You seen his work.....
  21. Kyle

    HubStats Class

    Your Welcome!!!
  22. Kyle

    HubStats Class

    Hey, here's the code that I ripped off from my Hub Module for the Pilots Per Hub. <?php $pilots = PilotData::getAllPilotsByHub('CYYC'); ?> <?php if(!$pilots) { echo 'There are no pilots in that hub, so there must be at least one pilot so the hub can run.'; return; } ?> <table width="800" border="0"> <tr> <td width="350"><table width="669" border="0"> <tr> <th width="212"><div align="center"><u>Pilot ID</u></div></th> <th width="185"><u>Pilot Name</u></th> <th width="210"><u>Rank</u></th> <th width="210"><u>Total Hours</u></th> <th width="210"><u>Total Flights</u></th> </tr> <?php foreach ($pilots as $pilot) { ?> <tr> <td align="left"><div align="center"><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a></div></td> <td><div align="center"><?php echo $pilot->firstname.' '.$pilot->lastname?></div></td> <td><div align="center"><?php echo $pilot->rank;?></div></td> <td><div align="center"><?php echo $pilot->totalhours; ?></div></td> <td><div align="center"><?php echo $pilot->totalflights; ?></div></td> </tr> <?php } ?> </table> </td> </tr> </table> It's a starch code from my Hub Module.... Change the Hub ICAO from the Line... <?php $pilots = PilotData::getAllPilotsByHub('CYYC'); ?> To your current Hub ICAO.
  23. Hey James, Right there!!! But I'm not sure how you have done it though, <select class="pagesize"> <option value="5">5 per page</option> <option value="10">10 per page</option> <option value="20">20 per page</option> </select> Just add an line below all of the option values, <option value="20">20 per page</option> And edit the Value to how much you want it to show.
  24. This topic is sloved, I helped him tonight. He had missing JS links in the layout.
  25. Ok, Found a new bug, When a user signs up, they get the error after submitting their application, but the user is really in the dastabase.
×
×
  • Create New...