Jump to content

ShredMountains

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by ShredMountains

  1. Hey thanks, been working on some others as well.
  2. Number one question for sure, how can I upgrade everything I have now to to the new version? Since I already have a install is there a post somewhere on this? Also also here are the results from the suggestions above. Does not look like it has anything to do with the hub info though? ===== Time: 07.29.16 10:53:40 ===== Time: 07.29.16 10:53:40 Backtrace: DB::write_debug > DB::query > PilotData::updateProfile > Auth::ProcessLogin > Login->ProcessLogin > Login->login > Login->index > call_user_func_array > MainController::RunAllActions Query: UPDATE phpvms_pilots SET `lastlogin`=NOW(), `lastip`='ipaddresshere' WHERE `pilotid`= Error: (1064) - 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 1 ===== ===== This was all I got though..
  3. I'm using like 2.1.936 is there a newer version of phpvms that I'm missing?
  4. Ah, I'm super new to php and stuff, so for this I would assume I would need to call the function with like a else statement before all this code above? Also yes I'm working on the acarsmap.tpl file. How would you or anyone recommend coming up with this code to pull the data to be presented into this area?
  5. Hello!! So im working on trying to spruce up the information for my acars map, this is the code im trying to get to work its just showing nothing, so its outputting blank info. Any idea on why it would return nothing, maybe I'm not calling the right info from the acars? Or something like that? <td><!--<div id="something"><span class="badge badge-theme"><%=flight.phasedetail%></span></div>--> <?php if($flight->phasedetail=="Boarding") { echo '<div id="boarding"><span class="badge badge-theme">Boarding</span></div>'; } elseif($flight->phasedetail == "Taxiing to Runway") { echo '<div id="taxiingtorunway"><span class="badge badge-theme">Taxiing to Runway</span></div>'; } elseif($flight->phasedetail == "Taking Off") { echo '<div id="takingoff"><span class="badge badge-theme">Taking Off</span></div>'; } elseif($flight->phasedetail == "Climbing") { echo '<div id="climbing"><span class="badge badge-theme">Climbing</span></div>'; } elseif($flight->phasedetail == "Cruise") { echo '<div id="cruise"><span class="badge badge-theme">Cruise</span></div>'; } elseif($flight->phasedetail == "Arrived") { echo '<div id="arrived"><span class="badge badge-theme">Arrived</span></div>'; } elseif($flight->phasedetail == "Descending") { echo '<div id="descending"><span class="badge badge-theme">Descending</span></div>'; } elseif($flight->phasedetail == "Level Flight") { echo '<div id="levelflight"><span class="badge badge-theme">Level Flight</span></div>'; } elseif($flight->phasedetail == "On Approach") { echo '<div id="onapproach"><span class="badge badge-theme">On Approach</span></div>'; } elseif($flight->phasedetail == "Taxiing to Gate") { echo '<div id="taxiingtogate"><span class="badge badge-theme">Taxiing to Gate</span></div>'; } elseif($flight->phasedetail == "Arrived") { echo '<div id="arrived"><span class="badge badge-theme">Arrived</span></div>'; }?> </td>
  6. Yes, im sure im running whatever old version in on the main phpvms github, but yes its the .tpl files. Did the above and still run into the same thing... But upon doing this and then going to see if it put anything into the database it looks as though its not even putting what I enter from the admin panel into the database?
  7. Do you know if its the most recent version of font-awesome? I would try and call the cdn for font-awesome. Also post the entire front page code you are working with maybe some else is causing it. You can either go here and download the new version or submit your email and they will give you a link for the cdn for font-awesome. http://fontawesome.io/get-started/
  8. Is there a new version of PHPVMS that I am missing? I got it from the github from like 2014 it looks like? From the phpvms github that is?
  9. Are you sure you have font-awesome included in the header? Almost looks like the style-sheet for those are now include maybe or its a outdated version? <i class="fa fa-facebook-square" aria-hidden="true"></i> <i class="fa fa-twitter fa-lg"></i> <i class="fa fa-youtube fa-lg"></i> For example, those social media icons are missing too. And that verbiage is from font-awesome.
  10. I used both on the backend of phpvms and in the database is set to 1 and the int value set to 1 for the hub manager, but it does not show anything, also I tried to change the type from int to text and changed the text to KVT0001 and then edited it in phpvms but still shows a blank? Could it have something to do with the phpversion??
  11. See if you can post the code for that area? Maybe I can help and take a look at it.
  12. Hmm, just went to your github link download and over wrote everything. Im copying the lat and long from inside phpvms that it gives me for KDEN. The Pilot ID i put as 1 for me, and the name I just put my full name? Maybe that is where I went wrong? Looking in the database this is what I see in the attached mysql database.
  13. Yea, I'm having the same issues as well.
  14. Sorry to bring this back from the dead but I would love to use this and no matter how I add this info to the database it almost seems like nothing at all will show up? Any help on this would be great!
  15. Looks like it was my CloudFlare that I had setup not even realizing that it was doing this. So we are good now just had to turn it off. Thanks!
  16. I seem to be having some issues when trying to click to remove a bid from my schedule_bids.tpl file? Would anyone be able to help me figure this out? This is what I have in the schedule module public function removebid() { if(!Auth::LoggedIn()) return; SchedulesData::RemoveBid($this->post->id); } When I go to click remove it just takes me to a white page, no error or anything? Any ides?
  17. Thanks for this, may have to give this one a try with all the issues im having.
  18. We have a new airline getting started up trying to learn the phpvms system and get it going with out airline. Hope to possibly get some help with a few things but that's for another topic and another day! Thanks for looking! This is our A319 livery with our dark grey/blue, lime green, light blue and white. We have other color schemes for our other Airbus family aircraft and small craft as well. Hope to post more soon!
  19. Hello, I'm sure this is a newbish question but I'm trying to edit phpvms, between the stylesheet and code, and I'm having issues when trying to load up new images on the site it seems to be caching them for a long time. I will clear the cache on the site and in my browser or even view in other browsers such as firefox and it seems they are still the same? Is there a option somewhere that is keeping these for a certain period of time?
×
×
  • Create New...