Jump to content

Pilots detail : empty (SOLVED)


PetitJedi

Recommended Posts

Hi all,

I met a little trouble.

Indeed, I have the list of pilots (pilots & group --> view all pilots)  that appears in my dashboard.

But when I click on "edit", I have an empty page

I reloaded the files to see if I had a problem but nothing to do1522158268-capture.png

have you ever encountered this type of problem?

I'm in phpvms 5.5.2

Php 5.6

Thanks for you help

 

Best Regards

Laurent

Edited by PetitJedi
Link to comment
Share on other sites

  • 1 year later...

for information, the server is switched to https. I modified in the ADMIN directory the core_htmlhead.php file to add the S to ajax calls.

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

Link to comment
Share on other sites

<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
<script type="text/javascript">
var baseurl="<?php echo SITE_URL;?>";
var airport_lookup = "<?php echo Config::Get('AIRPORT_LOOKUP_SERVER'); ?>";
var phpvms_api_server = "<?php echo Config::Get('PHPVMS_API_SERVER'); ?>";
</script>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/jqModal.js'); ?>"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js'); ?>"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.bigiframe.js'); ?>"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.metadata.js'); ?>"></script>
<script type="text/javascript" src="<?php echo fileurl('lib/js/ckeditor/ckeditor.js'); ?>"></script>
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="<?php echo SITE_URL?>/admin/lib/phpvmsadmin.js"></script>

<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo SITE_URL?>/lib/rss/latestpireps.rss">
<?php 
if(isset($MODULE_HEAD_INC))
	echo $MODULE_HEAD_INC;
?>

Try this..

Link to comment
Share on other sites

i have 3 red item and 2 yellow

 

Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME
viewpilots?action=viewoptions&pilotid=2:1 Unchecked runtime.lastError: The message port closed before a response was received.
viewpilots?action=viewoptions&pilotid=2:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.


util.js:219 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
uw.m @ util.js:219
util.js:219 Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
uw.m @ util.js:219

for me this is not the problem since it is the MAPS calls

 

thx for your help

Link to comment
Share on other sites

  • Administrators

When you hover over or click edit, does it go to the following URL? <...> will be specific to your site and the pilot id you are editing.

https://<SITE URL & PHPVMS DIRECTORY>/admin/index.php/pilotadmin/viewpilots?action=viewoptions&amp;pilotid=<PILOT ID>

Edited by ProAvia
Link to comment
Share on other sites

Thank you for your answers.
All the site, front and backoffice is accessible without problem in https.
All the admin part too. There is only driver management .. only when I click on EDIT.
all the other changes in the admi made it without problem.
Just the driver edition ... and I can not understand why :(

Link to comment
Share on other sites

I think this might help:

STEP 1 Download http://findandreplace.io/downloads/fnr.zip

STEP 2 : Download your phpvms folder on your computer.

STEP 3 : Open fnr, point source folder to the phpvms folder you downloaded on computer

STEP 4 : In find section, find for http:// and in replace section put https://

STEP 5 : Click on Replace, and import the files to FTP again

Link to comment
Share on other sites

I advance a little .... I even solved :)

I just saw an error in the logs that could, perhaps, be the cause of the worries

PHP Fatal error: Class 'AwardsData' not found in ../public_html/crew/admin/modules/PilotAdmin/PilotAdmin.php on line 413


and at the line I have:

 

Quote

$ this-> set ('allawards', AwardsData :: GetPilotAwards ($ this-> get-> pilotid));

 

I went to see /public_html/crew/core/common/AwardsData.class.php
and he had a strange head ..
I deleted the file and replaced it with a clean file ... and there ... ENJOY B)

I want to thank everyone who helped me and gave me some research
A big thanks to all of you

 

Link to comment
Share on other sites

  • 7 months later...

There's a long-standing bug in Chromium regarding how links without protocols are handled. This error does not have a single solution till date because it arises due to a multitude of reasons. The ERR_UNKNOWN_URL_SCHEME error is commonly because of your browser issue . There's no application on your device which can handle that particular action. It is a Chromium bug . In Chrome version 40 and up, this bug has resurfaced, but only if you are manually entering the URL of the redirect page in the address bar. The bug in chromium is responsible, yet everytime a patch is added to solve, the error finds a new way to resurface. The issue is on the chromium issue tracker here.

Common solutions:

  • Prefixing your links with http:// (or https://) should resolve the issue in some cases
  • If Err_Unknown_Url_Scheme error occurs in mailto: or tel: links inside an iframe then you can try to add target="_blank" in your URL Scheme.

 

 

Link to comment
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...