Jump to content

mark1million

Moderators
  • Posts

    2284
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. OK so here is the site to automate stuff if you dont have access to cron jobs. http://www.phpjobscheduler.co.uk/ You can setup your file system backup to your databases, its easy to setup and understand although i have not used it for over a year or so but it worked fine for me when i used it.
  2. Yes also i have the code for phpbb3.
  3. xampp will not normally have the capability to send you a mail, Look at fivedev for your hosting, highly recommended.
  4. Sorry i have not used that forum before but you could use pure sql to extract what you want. Im sure someone will have the code here somewhere for the latest posts, come to think of it i think Nabeel used to run that forum and they have quite a few working examples on the smf site.
  5. If you can not run a cronn job there is a site written in php that will let you schedule jobs like a cron when your page is hit, I will have a look to see if i can find it.
  6. Sorry just got in form work but hey im off for a week now ^like he said^
  7. Doesn't Nabeel include the jquery library at the start?
  8. Yes, What forum are you using?
  9. Hi , i know its a silly question but can your server send mails? Also check in the database that the correct email is in there.
  10. Dave your a top man. working like a charm FWX001 Have you set up the cron job?
  11. This was my bad boy at the time just came out, http://www.bbc.co.uk/news/technology-10951040 The BBC Computer, yeh right massive 32k of memory How times change.
  12. OK each to his own but have you looked at what he has already designed? Simpilot / Dave has done some cracking work here.
  13. Yes i agree, there are so many modifications that i have made in so many different ways that work that to standardize it I would be working trough all the tpl's for a month. I know as my knowledge grows with phpVMS so does the coding standards i implement, I have learnt so much since being involved with this community not only just with phpVMS but with php as well. Believe me i knew nothing! and still dont I went to school when computers just didnt exist, all we had was the BBC computer if i remember rightly, i still kick myself for not pushing myself to learn a code php, javascript. Google is now my best friend
  14. Hi Nabeel, no all remains the same im currently running two servers on the same ipaddress, fshost server and the new fsd server which supports fsinn, both are active and will remain so, just the FS Inn server is more up to date and faster with formation flying and with framerates.
  15. Hey Guys, I have been meaning to update this thread for a while now but never got round to it, I am led to believe that the FS Inn server software is far more superior than the FS Host server, so i have also installed an fsd host server like what is used on the Vatsim network. Its free to use as you wish for you and your VA, I know some of you are quite regular users of the existing one. The connection details are exactly the same as the previous server however because your now using FS Inn client to connect all you need to do is copy the settings below from the attached image which are, ID = phpvms Password = 222222 Server= fshost.vacentral.net (No more looking up the IP Address ) To summarise, Connection settings above and client software required is FS Inn Client and FSCopilot which are free from the link below, works with FS9 and FSX. http://flightsim.apollo3.com/files/fs-files.html Look for SetupFSInn13.exe and SetupFSCopilot17.exe Let me know how you guys get on, maybe i can hook it up to my ts server so you can have voice, something to think about.
  16. Ok guys ill give that a go, i must be a server setting somewhere because i just got another Linode and done a clean ubuntu 10.4LTS install with the base apache2 server and php5 with mysql nothing else on it and it does the same thing even with the stable download from phpVMS. For the life of me i just dont know what it is. Nabeel since i have this new box you can get access to that i will pm you the ip and login and have a play, bit if its not playing from clean installs then i dont know, maybe ill change the distro and see what happens, the really strange thing is though that it worked OK before. I have also noticed that when i go to accept all pireps in the admin section only one gets approved at a time, no other errors being reported, i have 256k set for script memory limit which is well above the recommended.
  17. Any body know what this means in the mysql log and does it matter? 110215 21:14:35 [Note] Plugin 'FEDERATED' is disabled. Dont worry
  18. I thought it may be a permissions thing so i have reset all the permissions on that install to a root user and finally i get some error messages about cache and failed to put, which is marvellous at least im getting messages now. I know how to fix that its a folder permissions thing on the core cache folder so i thought ok that fixed and now getting errors ill try again to register an account. Guess what, no happy ending here yet! still the same thing and no errors in the logs or on the page. I have had to close my VA registration page until this is sorted out as its just nor working and its doing my head in big time. I just dont know what else to try the damn thing should be working, why is it stalling halfway through putting data in to the database and not producing any error messages.
  19. This is getting strange now, error reporting is set to all jet it seems to stall after inserting data in to the pilots table and doesnt get as far as updating the group, no errors are produced in either the /var/logs/apache2/ or custom site logs, there is nothing in the mysql error log and no reporting what soever. I do have the suhosen patch for php installed would that male a difference?
  20. Debug mode on and still not reporting any errors, yes check scripts were the 1st thing i tried.
  21. OK so i have got a bit further with this now, the pilot data is going in to the database to a point. the field value pilot id is not getting added for some reason to the groupmembers table, again no errors are being displayed.
  22. Hi, i am having a problem after moving servers, when a user registeres after filling in the form he gets just a blank page, so i thought it was something to do with the additions i have done. I downloaded a fresh copy of vms to check and exactly the same thing happens there, also after the install the page does not fully load and the main admin account is not accessible, as this is happening on a new server i dont thing its vms but a setting or a lack of one that i have forgot to setup. No error messages are being sent to the page or to the logs. One thing that should be noted is that the registration completes ok ie data is put in to the database its just not returning a page. Any ideas would be appreciated as im starting to run out of ideas. Oh and by the way the check install and db runs fine, that was my first port of call. Exanple screen shot of when the installer completed,
  23. Well done love the map locations
  24. Ok find this, //current month stats echo '<h3 align="left">Current Month Stats</h3>'; echo '<table width="100%" border="0" cellspacing="0" cellpadding="1"><tr><td width="30%" valign="top">'; echo '<center>'; $topflights = TopPilotData::top_pilot_flights($today[mon], $today[year], 10); if(!$topflights) {$month = date( 'F', mktime(0, 0, 0, $today[mon])); echo 'No Pireps Filed For '.$month.' '.$today[year]; } else { $month_name = date( 'F', mktime(0, 0, 0, $topflights[0]->month) ); echo '<b>Top Pilot for '.$month_name.' '.$topflights[0]->year.' </b><br />Flights Flown'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<tr>'; echo '<th><div align="left">Pilot</div></th>'; echo '<th><div align="center">Flights</div></th>'; echo '</tr>'; foreach ($topflights as $top) { $pilot = PilotData::GetPilotData($top->pilot_id); echo '<tr>'; echo '<td><div align="left">'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</div></td>'; echo '<td><div align="center">'.$top->flights.'</div></td>'; echo '</tr>'; } echo '</table>'; echo '</center>'; echo '</td><td width="30%" valign="top">'; echo '<center>'; //top hours flown $tophours = TopPilotData::top_pilot_hours($today[mon], $today[year], 10); echo '<b>Top Pilot for '.$month_name.' '.$tophours[0]->year.' </b><br />Hours Flown'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<tr>'; echo '<th><div align="left">Pilot</div></th>'; echo '<th><div align="center">Hours</div></th>'; echo '</tr>'; foreach ($tophours as $top) { $pilot = PilotData::GetPilotData($top->pilot_id); echo '<tr>'; echo '<td><div align="left">'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</div></td>'; echo '<td><div align="center">'.$top->hours.'</div></td>'; echo '</tr>'; } echo '</table>'; echo '</center>'; echo '</td><td width="30%" valign="top">'; echo '<center>'; //top miles flown $topmiles = TopPilotData::top_pilot_miles($today[mon], $today[year], 10); echo '<b>Top Pilot for '.$month_name.' '.$tophours[0]->year.' </b><br />Miles Flown'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<tr>'; echo '<th><div align="left">Pilot</div></th>'; echo '<th><div align="center">Miles</div></th>'; echo '</tr>'; foreach ($topmiles as $top) { $pilot = PilotData::GetPilotData($top->pilot_id); echo '<tr>'; echo '<td><div align="left">'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</div></td>'; echo '<td><div align="center">'.$top->miles.'</div></td>'; echo '</tr>'; } echo '</table>'; echo '</td></tr>'; } echo '</center></table>'; ?> and comment out this section /* //top hours flown $tophours = TopPilotData::top_pilot_hours($today[mon], $today[year], 10); echo '<b>Top Pilot for '.$month_name.' '.$tophours[0]->year.' </b><br />Hours Flown'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<tr>'; echo '<th><div align="left">Pilot</div></th>'; echo '<th><div align="center">Hours</div></th>'; echo '</tr>'; foreach ($tophours as $top) { $pilot = PilotData::GetPilotData($top->pilot_id); echo '<tr>'; echo '<td><div align="left">'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</div></td>'; echo '<td><div align="center">'.$top->hours.'</div></td>'; echo '</tr>'; } echo '</table>'; echo '</center>'; echo '</td><td width="30%" valign="top">'; echo '<center>'; */ Just like that
  25. Crikey what are you storing, a server is meant to be slick and fast if you want file storage farm it out.
×
×
  • Create New...