Jump to content

Steve Bartlett

Members
  • Posts

    188
  • Joined

  • Last visited

Everything posted by Steve Bartlett

  1. I have a couple of these errors elsewhere on the website, the don't mess with the functionality, but they make the website look like crap, LOL
  2. hmmm, I am not seeing anything with the word Static or statically in the EventsData.class.php or the Events.php
  3. When I click on the Events Tab, I am getting these errors: Strict Standards: Non-static method EventsData::get_upcoming_events() should not be called statically, assuming $this from incompatible context in /home/steve14958/public_html/core/modules/Events/Events.php on line 16 Strict Standards: Non-static method EventsData::get_past_events() should not be called statically, assuming $this from incompatible context in /home/steve14958/public_html/core/modules/Events/Events.php on line 17 Here is what Line 16 and 17 say in the events.php: $this->set('events', EventsData::get_upcoming_events()); $this->set('history', EventsData::get_past_events());
  4. Looking on line 248, it is only calling for .tpl, not both as the error suggests
  5. When I click on Current Flights, or try to create the recent Flights Map, I get the following error: Notice: The template file "/home/xxxxxxxxxxx/public_html//core/templates/acarsmap.php.tpl" doesn't exist in/home/xxxxxxx/public_html/core/classes/TemplateSet.class.php on line 248 Looks like it is trying to call both the .php and the .tpl files at the same time. Any suggestions?
  6. Apparently there was something wrong in there I copied the operationsData.class.php from another VA I look after and pasted it into the one I am working on now. It is now working.
  7. Okay, here is what that section shows, in the core/common/operationsdata.class.php: * Add an aircraft * * $data = array( 'icao'=>$this->post->icao, * 'name'=>$this->post->name, * 'fullname'=>$this->post->fullname, * 'registration'=>$this->post->registration, * 'downloadlink'=>$this->post->downloadlink, * 'imagelink'=>$this->post->imagelink, * 'range'=>$this->post->range, * 'weight'=>$this->post->weight, * 'cruise'=>$this->post->cruise, * 'maxpax'=>$this->post->maxpax, * 'maxcargo'=>$this->post->maxcargo, * 'enabled'=>$this->post->enabled); */ public static function addAircraft($data) { /*$data = array('icao'=>$this->post->icao, 'name'=>$this->post->name, 'fullname'=>$this->post->fullname, 'registration'=>$this->post->registration, 'downloadlink'=>$this->post->downloadlink, 'imagelink'=>$this->post->imagelink, 'range'=>$this->post->range, 'weight'=>$this->post->weight, 'cruise'=>$this->post->cruise, 'maxpax'=>$this->post->maxpax, 'maxcargo'=>$this->post->maxcargo, 'enabled'=>$this->post->enabled);*/ $data['icao'] = DB::escape(strtoupper($data['icao'])); $data['name'] = DB::escape(strtoupper($data['name'])); $data['registration'] = DB::escape(strtoupper($data['registration'])); $data['range'] = ($data['range'] == '') ? 0 : $data['range']; $data['weight'] = ($data['weight'] == '') ? 0 : $data['weight']; $data['cruise'] = ($data['cruise'] == '') ? 0 : $data['cruise']; $data['range'] = str_replace(',', '', $data['range']); $data['weight'] = str_replace(',', '', $data['weight']); $data['cruise'] = str_replace(',', '', $data['cruise']); $data['maxpax'] = str_replace(',', '', $data['maxpax']); $data['maxcargo'] = str_replace(',', '', $data['maxcargo']); if ($data['enabled'] === true || $data['enabled'] == '1') $data['enabled'] = 1; else $data['enabled'] = 0; if ($data['minrank'] > 0) { $data['ranklevel'] = RanksData::getRankLevel($data['minrank']); } else { $data['ranklevel'] = '0'; } $cols = array(); $col_values = array(); foreach ($data as $key => $value) { $cols[] = "`{$key}`"; $value = DB::escape($value); $col_values[] = "'{$value}'"; } $cols = implode(', ', $cols); $col_values = implode(', ', $col_values); $sql = "INSERT INTO " . TABLE_PREFIX . "aircraft ({$cols}) VALUES ({$col_values})"; $res = DB::query($sql); if (DB::errno() != 0) return false; CodonCache::delete('all_aircraft'); CodonCache::delete('all_aircraft_enabled'); CodonCache::delete('all_aircraft_search'); CodonCache::delete('all_aircraft_search_enabled'); return true;
  8. I think that is what I posted above This is line 720: OperationsData::AddAircaft($data);
  9. I am getting this error when I try to add an aircraft: Fatal error: Call to undefined method OperationsData::AddAircaft() in /home/xxxxxxx/public_html/admin/modules/Operations/Operations.php on line 720\ I am using the same skin I have used before with no problems, Both the PHPvms and website are php version 5.5 Here is Line 720 (which matches with what other websites have): OperationsData::AddAircaft($data);
  10. Solved, I changed the link for the admin center and used the one from the default skin, I can now access it.
  11. Okay, I AM logged into my webiste, but when I click on Admin Center, it then says "Please Log In First". I have logged out, logged back in and I still get the same message. Any suggestions?
  12. I got it fixed. I deleted the Admin file from phpvms 5.5 and then uploaded the older version in the downloads section of the phpvms website, everything is now working. I don't know why the newer version was not working.
  13. I got it to where I can see the skin now. Please see Admin Center Error in support forum, LOL.
  14. Finally got my skin working again, but now I am getting this on every page of my Admin Center, it is the only that comes up in the body. It's like it is asking for both php and tpl, if you look at the first line it shows dashboard.php.tpl Notice: The template file "/homexxxxxx/public_html//admin/templates/dashboard.php.tpl" doesn't exist in /home/steve14958/public_html/core/classes/TemplateSet.class.phpon line 248
  15. I have just tried a different skin, still getting the same errors with Header and Footer.
  16. Fixed! Just in case somebody has this problem in the future: In the Core/Common/FrontSchedlesData.class.php file, I had to change the data base names. For example, my data base was luvswavi_airports, so I had to switch phpvms_airports with my data base name
  17. I am using the Simpilots Group Schedule Search. When I try to search for a flight, I get No Routes found. I believe it is because in the Schedule Search, "Select an Aircraft Type" drop down menu, does not show aircraft, even though in they are in the data base (Admin Center Add Edit Fleet) and all are active.
  18. I am using Simpilots Group Schedule Search. All of the airports show up, along with aircraft and that when on the menu page. I select the airline, or aircraft, or departure airport, don't matter which one, the results come up "No Routes Found"
  19. As long as you have the originals, especially the any photoshop files of your images would help a great deal. I have used photoshop files in the past when somebody stole my awards. The Host took down that website immediately.
  20. I switched it back to version 5.3 and get this for header and footer ( ! ) Notice: The template file "/home/xxxxxxxx/public_html//lib/skins/bluecorporation/header.php" doesn't exist in /home/steve14958/public_html/core/classes/TemplateSet.class.php on line 231 Call Stack # Time Memory Function Location 1 0.0010 642800 {main}( ) ../index.php:0 2 4.1842 1493304 TemplateSet->showTemplate( ) ../index.php:82 3 4.1842 1493448 TemplateSet->getTemplate( ) ../TemplateSet.class.php:181 4 4.1843 1493800 trigger_error ( ) ../TemplateSet.class.php:231
  21. Yes, everything is there, everything was working until the internal server error, they reset that yesterday and I have nothing but errors since.
  22. Okay, I did it again. Now I am getting these errors and cannot log in to access Admin Center to change the skin back. No log in on the page: About ready to say to heck with it. Notice: The template file "/home/steve14958/public_html//lib/skins/bluecorporation/header.php" doesn't exist in /home/xxxxxx/public_html/core/classes/TemplateSet.class.php on line 231 Notice: The template file "/home/steve14958/public_html//lib/skins/bluecorporation/footer.php" doesn't exist in /home/steve14958/public_html/core/classes/TemplateSet.class.php on line 231
  23. Alright, got that fixed, but now I get this error and following that is a screenshot of a jumbled mess I now have for a website! Fatal error: Cannot re-assign auto-global variable _FILES in /home/xxxxxxx/public_html/core/common/PilotData.class.php on line 436
  24. Anybody else have any suggestions?
×
×
  • Create New...