Jump to content

Steve Bartlett

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by Steve Bartlett

  1. They are all there, I re uploaded them and still getting that DB error
  2. Okay, now I have this error: Fatal error: Class 'DB' not found in /home/steve14958/public_html/core/common/Auth.class.php on line 148
  3. So, do I need to download my current skin then, and then reupload that as well?
  4. I was getting a 500 internal server error for the Admin Center. Go Daddy then reset the website. Now all I get is this on the front page of the website: Fatal error: Cannot re-assign auto-global variable _FILES in /home/xxxxxxxx/public_html/core/common/PilotData.class.php on line 436 Also getting: Warning: Creating default object from empty value in /home/xxxxxxx/public_html/core/classes/Vars.class.php on line 74
  5. Was there an update or something? All of a sudden I cannot access my Admin page. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@usvcg.org to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  6. There are no flights yet, still working on the website before we open
  7. I got rid of that, but still getting the foreach error. When I add the CSS for centering the map, it ends up under my footer instead of above it
  8. hmmmm, now I am getting this error: Parse error: syntax error, unexpected $end in /home/luvswavi/public_html/lib/skins/airlines/frontpage_main.tpl on line 66 Line 66 is: $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+';
  9. Okay the error on line 57 I placed $flights = ACARSData::GetACARSData( ); below, above, in front of and behind foreach($flights as $flight)and I am still getting the same error. Also I could not get the CSS code to work for centering the map. Can you show me how these are suppose to look? Here is the code I am sing for the map: <img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=650x360&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /><br /> Maps generated by the <a href="http://www.gcmap.com/">Great Circle Mapper</a> - copyright © <a href="http://www.kls2.com/~karl/">Karl L. Swartz</a> <!--Start Table--> <?php $count = 5; $pireps = PIREPData::getRecentReportsByCount($count); ?> <table width="725 px" border="1" bordercolor="#FFFFFF"> <thead> <tr align="center" valign="middle" bgcolor="#7D95AF"> <th>Flight #</th> <th>Departure</th> <th>Arrival</th> <th>Duration</th> <th>Pilot</th> <th>Landing Rate</th> <th>Aircraft</th> </tr> </thead> <tbody> <?php if(count($pireps) > 0) { foreach ($pireps as $pirep) { $pilotinfo = PilotData::getPilotData($pirep->pilotid); $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid); echo "<tr>"; echo "<td align=center> $pirep->code $pirep->flightnum </td>"; echo "<td align=center> $pirep->depicao </td>"; echo "<td align=center> $pirep->arricao </td>"; echo "<td align=center> $pirep->flighttime </td>"; echo "<td align=center> $pilotid $pilotinfo->firstname $pilotinfo->lastname </td>"; echo "<td align=center> $pirep->landingrate </td>"; echo "<td align=center> $pirep->aircraft </td>"; echo "</tr>"; } } else { echo "<tr><td>There are no recent flights!</td></tr>"; } ?> </table> </td>
  10. I am getting this error for the "Latest Flights" gcmap: Warning: Invalid argument supplied for foreach() in /home/luvswavi/public_html/lib/skins/airlines/frontpage_main.tpl on line 57 Line 57 is: foreach($flights as $flight) Also, the Map is on the left side of the webpage, how can I center it? I googled that several times and couldn't find a way to do it.
  11. How can I change the code below, to also send to my HR guy so I don't have to forward it to him, but yet I still want to see them too. // Registration email/show user is waiting for confirmation $sub = 'A user has registered'; $message = "The user {$data['firstname']} {$data['lastname']} ({$data['email']}) has registered, and is awaiting confirmation."; $email = Config::Get('EMAIL_NEW_REGISTRATION'); if(empty($email)) { $email = ADMIN_EMAIL; Thank you.
  12. Where does the Staff_Photos folder go? It's just sitting there by itself with Admin and Core folders.
  13. It's working now. I had accidently modified the airline field in the registration_main.tpl instead of the hub field like I wanted.
  14. I was having a problem with my url having to use mywebsite.org/phpvms. As instructed I moved the phpvmb files out of the phpvms folder and moved them to public_html. Now I have this problem when somebody tries to register as a pilot: Cannot add or update a child row: a foreign key constraint fails (`phpvms_prefex`.`phpvms_pilots`, CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE) Any suggestions?
  15. Okay so, I downloaded an reloaded phpvms under public_html and now I get what looks like database error for pilot registrations. So far everything else looks fine. Here is the error: Cannot add or update a child row: a foreign key constraint fails (`phpvms_prefex`.`phpvms_pilots`, CONSTRAINT `phpvms_pilots_ibfk_1` FOREIGN KEY (`code`) REFERENCES `phpvms_airlines` (`code`) ON UPDATE CASCADE)
  16. Okay so, do I download them first on to my desktop? Yes I am using Filezilla, says I can't transfer between different instances of Filezilla has not been implemented yet.
  17. via the install php in my web browser
  18. Okay, sorry I am kind of new to this. What is the best way to move them?
  19. My url should be usvcg.org but the only way I can see the website is through usvcg.org/phpvms. Is there anyway to get rid of the phpvms part?
  20. I have a couple errors with the Events Module: This is showing up on the Events page from the Main website and the from the Admin page Notice: The template file "/home/steve14958/public_html/phpvms//admin/templates/events/events_index.tpl" doesn't exist in /home/xxxxxxx/public_html/phpvms/core/classes/TemplateSet.class.php on line 248 Any suggestions?
  21. Disregard, had a brain cramp. I forgot you had to add the Aircraft Registration not the ICAO code into the schedules.
×
×
  • Create New...