Jump to content

Recommended Posts

Posted

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...

  • Administrators
Posted

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

  • Administrators
Posted

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.

Posted

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.

Posted

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
  • 7 months later...
  • 3 years later...
  • Moderators
Posted
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 

  • 1 month later...
Posted

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>

 

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...