UAL003 Posted July 16, 2011 Report Share Posted July 16, 2011 Hello, Were having some trouble with pilot editings in ADMIN center. Whenever any Staff at our VA go to view all pilots in the Admin Center, nothing shows up. All we get is this: Any advice someone could give to help me fix this would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 17, 2011 Report Share Posted July 17, 2011 Go into your pilot list template (/public_html/admin/templates/pilots_list.tpl) and see if your code matches what is below: <h3>Pilots List</h3> <table id="grid"></table> <div id="pager"></div> <br /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo fileurl('/lib/js/jqgrid/css/ui.jqgrid.css');?>" /> <script src="<?php echo fileurl('/lib/js/jqgrid/js/i18n/grid.locale-en.js');?>" type="text/javascript"></script> <script src="<?php echo fileurl('/lib/js/jqgrid/js/jquery.jqGrid.min.js');?>" type="text/javascript"></script> <script type="text/javascript"> $("#grid").jqGrid({ url: '<?php echo adminaction('/pilotadmin/getpilotsjson');?>', datatype: 'json', mtype: 'GET', colNames: ['','First', 'Last', 'Email', 'Location', 'Status', 'Rank', 'Flights', 'Hours', 'IP', 'Edit'], colModel : [ {index: 'id', name: 'id', hidden: true, search: false }, {index: 'firstname', name : 'firstname',sortable : true, align: 'left', search: 'true', searchoptions:{sopt:['in']}}, {index: 'lastname', name : 'lastname', sortable : true, align: 'left', searchoptions:{sopt:['in']}}, {index: 'email', name : 'email', sortable : true, align: 'left',searchoptions:{sopt:['li']}}, {index: 'location', name : 'location', sortable : true, align: 'center',searchoptions:{sopt:['eq','ne']}}, {index: 'status', name : 'status', sortable : true, align: 'center',searchoptions:{sopt:['in']}}, {index: 'rank', name : 'rank', sortable : true, align: 'center', searchoptions:{sopt:['eq','ne']}}, {index: 'totalflights', name : 'totalflights', sortable : true, align: 'center',searchoptions:{sopt:['lt','gt']}}, {index: 'totalhours', name : 'totalhours', sortable : true, align: 'center',searchoptions:{sopt:['lt','gt']}}, {index: 'lastip', name : 'lastip', sortable : true, align: 'center', searchoptions:{sopt:['in']}}, {index: '', name : '', sortable : true, align: 'center', search: false} ], pager: '#pager', rowNum: 25, sortname: 'lastname', sortorder: 'asc', viewrecords: true, autowidth: true, height: '100%' }); jQuery("#grid").jqGrid('navGrid','#pager', {edit:false,add:false,del:false,search:true,refresh:true}, {}, // edit {}, // add {}, //del {multipleSearch:true} // search options ); </script> It seems as though it isn't pulling any of the information to show on that page. Quote Link to comment Share on other sites More sharing options...
austin4362 Posted July 21, 2011 Report Share Posted July 21, 2011 Do you have free hosting? For some reason this seems to be a problem when VA's use free hosting, the aircraft usually dont show up either. Quote Link to comment Share on other sites More sharing options...
James142 Posted July 24, 2011 Report Share Posted July 24, 2011 The same problem has just happened to me. It was working fine last week but now it is showing 0 pilots. I have not made any changes to the website before this error occurred. Quote Link to comment Share on other sites More sharing options...
damien82 Posted July 25, 2011 Report Share Posted July 25, 2011 Hello I have the same problem but just with the airports... Damien Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.