Jump to content

ShredMountains

Members
  • Posts

    23
  • Joined

  • Last visited

ShredMountains's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In Rare

Recent Badges

2

Reputation

  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.
×
×
  • Create New...