Jump to content

WiltshireAirlines

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by WiltshireAirlines

  1. I downloaded another version of phpVMS 2 days ago and uploaded it. The problem persists. For now, I should probably recommend that nobody updates their version of phpVMS.
  2. Well, I can't go back. I think I have an older version of phpVMS stored somewhere on my computer, but it isn't old enough. If someone has a working version, please email me at bswohlers@gmail.com. Thanks.
  3. Also, there's no file that's called "ofc_pilots" or anything like that in /core/lib/php-ofc-library. Shouldn't there be? If not, how are pilots loaded?
  4. I have already posted a topic on this, but I will post it again because I think it is a very urgent problem that other people are experiencing. I'm also reposting with a different title and I will provide updates on my research. First and foremost, let me explain the bug/glitch. Basically, Open Flash Charts will not load. You see the column titles, but no items. I know I have pilots, but nothing shows up in the chart on the admin panel. I know the information is in the database, however, because it loads fine on the actual pilot roster page. Let me state my theory for what has gone wrong. As many of you know, there was recently an Open Flash Chart exploit. The phpVMS team responded quickly, and this I greatly respect. They immediately looked for a fix - but I believe this fix, while removing the exploit, removed another key feature of every phpVMS website: Open Flash Charts. Let me quote a statement from a post that is pinned to the top of the Support Forum: "This will cause all of the flash charts on the site to no longer function but all other functionality should remain as it was." Unfortunately, I believe that this was the fix that the phpVMS admin team was aiming at. The exploit was removed, and "all other functionality" has returned to normal, but "all of the flash charts on the site" no longer function, as stated. This may not seem like a big problem, but it is most definitely a problem that already affects many phpVMS users. I've found multiple threads on this, and not one of them has been solved. I have no experience in PHP, so I really don't know anything when it comes to the actual programming of the site. This is important for me and everyone else because if an administrator cannot view a list of his pilots and add schedules, his airline cannot function. Thank you for reading this. Bill
  5. By the way, I did find the post that is pinned to the top on the Open Flash Chart exploits. I'm sure that has something to do with my problem. However, my site has not been compromised. You can't use phpVMS with this glitch. It really needs to be fixed.
  6. Ignore someone's fix? How do you know I ignored it? I tried it, nothing happened. Anyway, it turns out that the charts still don't load. Please don't ignore this problem, I know other people have this problem with phpVMS too. This should be fixed. Thanks.
  7. OK, I fixed it after extensive hours of research into the problem. I just added error_reporting(0); to every php file in /core/lib/php-ofc (whatever)
  8. I know that other people are getting this problem and it hasn't been solved. Can someone please at least try to find out what's going wrong?
  9. I have some code that loads the stuff into the chart...if anybody could help me please public function getpilotsjson() { $page = $this->get->page; // get the requested page $limit = $this->get->rows; // get how many rows we want to have into the grid $sidx = $this->get->sidx; // get index row - i.e. user click to sort $sord = $this->get->sord; // get the direction if(!$sidx) $sidx =1; /* Do the search using jqGrid */ $where = array(); if($this->get->_search == 'true') { $searchstr = jqgrid::strip($this->get->filters); $where_string = jqgrid::constructWhere($searchstr); # Append to our search, add 1=1 since it comes with AND # from above $where[] = "1=1 {$where_string}"; } Config::Set('PILOT_ORDER_BY', "{$sidx} {$sord}"); # Do a search without the limits so we can find how many records $count = count(PilotData::findPilots($where)); if($count > 0) { $total_pages = ceil($count/$limit); } else { $total_pages = 0; } if ($page > $total_pages) { $page = $total_pages; } $start = $limit * $page - $limit; // do not put $limit*($page - 1) if ($start < 0) { $start = 0; } # And finally do a search with the limits $allpilots = PilotData::findPilots($where, $limit, $start); if(!$allpilots) { $allpilots = array(); } # Form the json header $json = array( 'page' => $page, 'total' => $total_pages, 'records' => $count, 'rows' => array() ); # Add each row to the above array foreach($allpilots as $row) { $status = ($row->retired==0) ? 'Active' : 'Retired'; $location = '<img src="'.Countries::getCountryImage($row->location).'" alt="'.$row->location.'" />'; $edit = '<a href="'.adminurl('/pilotadmin/viewpilots?action=viewoptions&pilotid='.$row->pilotid).'">Edit</a>'; $tmp = array( 'id' => $row->id, 'cell' => array( # Each column, in order $row->id, $row->firstname, $row->lastname, $row->email, $location, $status, $row->rank, $row->totalflights, $row->totalhours, $row->lastip, $edit, ), ); $json['rows'][] = $tmp; } header("Content-type: text/x-json"); echo json_encode($json); }
  10. Does anybody know where the code is to load the pilots into a list on the admin panel? Does anybody know what file has that code?
  11. I've found so many cases of this problem but it seems like there is no easy solution. I have no php knowledge. I want to know where the error is coming from.
  12. http://forums.cacti.net/viewtopic.php?f=5&t=48731 I have found this information. I am currently working on a fix.
  13. Sorry, I didn't get the PM. I'm looking into the syntax error that I got. Do you know in what php file the error is in? If I knew, I think I could solve the problem.
  14. Hello everyone, So far, I've found phpVMS to be amazing. It's really well coded, except for one problem. The admin panel. Before I get started, let me say that the admin panel USED to work fine but no longer functions properly. First, the navigation menu (on the left side) is all messed up. Things are everywhere. Here's a mini-screenshot: http://tinypic.com/r/ojl655/8(go here if the image doesn't appear) http://tinypic.com/r/ojl655/8 Second, and probably most importantly, the pilot list is completely empty! Yes, I do have pilots, and PIREP's - none of them show in the admin panel. However, all pilots and pireps DO SHOW ON THE WEBSITE. I know the info is in the database - why is it not showing up on the admin panel? ALSO: I get this error: Open Flash Chart JSON Parse Error [syntax Error] Error at character 0, line 1: 0: <br /> I think that's the main culprit. Thanks for all help in advance! --- Bill
  15. What is the actual popularity of YSFlight? I don't believe it is a widely used simulator but I could be wrong.
  16. I was expecting that comment from prior experience, but I remembered that our website was still on a subdomain about a few minutes before the launch, so I .tk'd it in a hurry. We plan to register a .com or .org domain with GoDaddy shortly; we just haven't had the time to do it yet. Thanks for the constructive criticism
  17. We are pleased to announce that Wiltshire Airlines Virtual relaunches today after a month of planning for our new phpVMS website. Formerly on Weebly since June 2013 and based in London Heathrow International Airport, Wiltshire Airlines aims to advance into the future and better technology by switching to a new website. We operate a fleet of all-Boeing aircraft, including the 777-200LR, the 737-700, the 767-300ER, and the 787-9. We also plan to purchase the 747-8 and the A350-900R for higher ranked pilots when we have sufficient funds. Visit our website at http://wiltshireairlines.tk/ and feel free to join us or have a look around! (In case the skin is not to your liking, we plan to release a new skin on or around February 1st, 2014 courtesy of AAV001Heavy.)
  18. Sorry guys, we just encountered another error. Can you please help? Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Access denied for user 'wiltshiredb1'@'192.168.1.1' (using password: YES) (1045)</b></font>]<br />[<font color=000000></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in/www/zxq.net/w/i/l/wiltshireairlines/htdocs/core/classes/ezdb/ezdb_mysql.class.php on line 99 And that the login credentials (username, password) work when logging in to phpMyAdmin.
  19. Never mind, the problem has been fixed. Thanks
  20. I downloaded a fresh new install of phpVMS, set it up, and published it. The server is online, but when I try to access the website, it just loads forever. I have installed phpVMS on two hosting services, and both have failed. When I try pinging the server, after one second, over and over again, the session times out. Is this a DNS problem or a problem with the installation?
×
×
  • Create New...