Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. What does having one for vacentral accomplish? I tried searching, couldn't find too many details. I guess my point is, why should we run one? Would it be its own type of "vatsim", or does it connect to vatsim, but it's just another communication server?
  2. Make sure you're using absolute URLs with the http:// in front.
  3. Yes you have to make sure hostnames are working properly, and that mysql is setup to listen on those hostnames
  4. Unless they use ACARS, then they can still file that way, and then be marked unretired automatically
  5. Do a search, this has come up at least a dozen times before
  6. Hey, FSPax is a little tricky - under Documentation above, goto ACARS guides and then FSPax, there's a video tutorial for that. See if that helps you out first
  7. You didn't follow what I said. Did you check the user that you've created for that database? What databases does that user show? If you do "use phpvms" (if that's the databse name), does it change to the database? If you're using phpMyAdmin, goto Privileges on the front page page, create a new user called phpvms, and have it create a database and grant all privledges for that user. Then try that. phpMyAdmin accesses it as root if that's how you're logging in, and it sees all databases
  8. The link to the notam might have changed, I would check that
  9. There's a video tutorial here, courtesy of Keith: http://forum.phpvms.net/page/index.html?record=22
  10. Check it on his though, it's not always the same. You shouldn't be accessing as root from your scripts. There should be another user setup. When you do SHOW DATABASES; (on his server), does that database you setup show? And then log out and log back in as that user, and do SHOW DATABASES again, and make sure that's showing up. Its a DB issue somewhere
  11. schedule_results.tpl inside that foreach loop, you'll see there are other checks there for the schedules
  12. Then the database is not setup properly. Login to mysql as root mysql -uroot -p Then type SHOW DATABASES; And see if the db shows up under there. If it does, then your user above probably doesn't have privledges to that db`
  13. Yes what simpilot said. Also try connecting in the command line: mysql -uUSER -p DATABASE_NAME If you can't connect that way, then there's an issue with your database install
  14. It checks last login time and the last pirep. if its 30 days from the last pirep, it till check the pirep. if there's no pirep, it will check the login date. IIRC, that's how it goes
  15. I would goto your ISP and find out the database address
  16. Yeah, it's just a string unique to the aircraft. http://en.wikipedia.org/wiki/Aircraft_registration
  17. That's strange... yeah, it's something client side... Are they running the latest version of FSACARS? There's an additional supplement on the FSACARS site to also download. With the Sitelog - can you enable DEBUG_LOG, and do a flight, and then send the core/logs/fsacars.txt file? I wonder how it reports that.
  18. Poke around in the SiteCMS.class.php in core/common. you can modify those to include a category id, or an airline id. you can add in a drop-down with the airlines list, so that would simply that. so you'd just have to pass the $this->post->airlineid variable through to the query
  19. Simplify this up there for ya: $bids = SchedulesData::getAllBids(); if(isset($bids)) { foreach($bids as $bid) { $bid_time = strtotime($bid->dateadded); $diff = abs(time() - $bid_time); if ($diff > 60*60*24*2) /* two days, in seconds */ { SchedulesData::removeBid($bid->bidid); } } }
  20. I'm going to rearrange this post and place it into the Code Snippets forum. Also, this line still said $route, so I changed it: if(Config::Get('DISABLE_SCHED_ON_BID') == true && $schedule->bidid != 0)
  21. Do a search on the TOTAL_HOURS bug, you have to add an entry into the settings table. It's missing for some odd reason
  22. Instead of $route->id, use $schedule->id
×
×
  • Create New...