Jump to content
RVF147

[SOLVED]Pilot List Empty

Recommended Posts

My pilot list in the Admin Center is empty (0 of 0 pilots). If you go to the site or any other tab that gives a list of the pilots, they show up. Any idea as to the cause of the empty pilot list? Cant seem to find the issue in the code...

Share this post


Link to post
Share on other sites

If you are using notepad or the built in cPanel code editor download your local.config.php file and open it in a different editor and look right before the opening php tag, you will probably find a random symbol. Remove it and the space and put it back on the site and it will probably fix the issue.

Attached is an image of what I usually find with this condition.

post-198-0-40112800-1383181475_thumb.png

Share this post


Link to post
Share on other sites

I checked and there appears to be nothing out of the ordinary. On another note Pilot manager can call all the pilots but just not the "Pilot List" section.

post-7024-0-37923000-1383183036_thumb.png

post-7024-0-54565400-1383183037_thumb.png

post-7024-0-68707800-1383183146_thumb.png

Share this post


Link to post
Share on other sites

The only page it affects is the js driven admin pilots page. Have you checked the file in a different editor than you usually use? If you want to strip the db info out of your local config if you would like and send me the file.

Share this post


Link to post
Share on other sites

yeah whatever works. Im not too handy in coding. I can pick apart just not very well haha. ill send you the file. I tried opening it in another program but didnt see anything different.

Share this post


Link to post
Share on other sites

Found the issue. After searching through each file in the "/admin" section, I located on the "action.php" file a line coded as:

error_reporting(E_ALL ^ E_NOTICE);

Deleted that line and in its place added:

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

This fixed all errors I have been having with the admin panel. I seen a post earlier about this line of code to be added to other files but thought i'd try it out with this file and I guess that is all that was needed.

Attached Picture shows what I did.

post-7024-0-43653900-1383706613_thumb.png

  • Like 1

Share this post


Link to post
Share on other sites
On 06/11/2013 at 2:56 AM, RVF147 said:

Found the issue. After searching through each file in the "/admin" section, I located on the "action.php" file a line coded as:

error_reporting(E_ALL ^ E_NOTICE);

Deleted that line and in its place added:

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

This fixed all errors I have been having with the admin panel. I seen a post earlier about this line of code to be added to other files but thought i'd try it out with this file and I guess that is all that was needed.

Attached Picture shows what I did.

post-7024-0-43653900-1383706613_thumb.png

Yes good find, this caused a few issues 

Share this post


Link to post
Share on other sites

The issue I had was jQuery was not loading because our site is running on "https" and jQuery was trying to load with "http".  So just had to remove the "http:" in "core_htmlhead.php" (edit this file under the "admin" folder as well as the "core" folder) so it looks like this...

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...