PetitJedi Posted March 27, 2018 Report Share Posted March 27, 2018 (edited) 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 do 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 April 21, 2019 by PetitJedi Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 13, 2019 Author Report Share Posted April 13, 2019 No Idea ? Quote Link to comment Share on other sites More sharing options...
Yash Posted April 14, 2019 Report Share Posted April 14, 2019 replace admin folder from the zip again Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 14, 2019 Author Report Share Posted April 14, 2019 hy thx Yash for your answer I already tested, it did not change anything Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 14, 2019 Author Report Share Posted April 14, 2019 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> Quote Link to comment Share on other sites More sharing options...
Yash Posted April 15, 2019 Report Share Posted April 15, 2019 <?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.. Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 15, 2019 Author Report Share Posted April 15, 2019 (edited) sorry Hash.. it's the same result 😢 I have the pilote list... but when i clic on EDIT... i have a empty result for info it was already the content of my core_htmlhead.php Edited April 15, 2019 by PetitJedi Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 15, 2019 Administrators Report Share Posted April 15, 2019 In your picture above in the lower right corner there is a yellow triangle with the number 2 next to it. Have you checked the console to see what that error or message is? Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 15, 2019 Author Report Share Posted April 15, 2019 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 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 15, 2019 Administrators Report Share Posted April 15, 2019 What browser are you using? Have you tried that page using another browser? Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 15, 2019 Author Report Share Posted April 15, 2019 yes i try with FF and Chrome browser It's the same Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 15, 2019 Administrators Report Share Posted April 15, 2019 (edited) Can you try with IE or Edge? Or in Chrome - disable any plug-ins and test again? Edited April 15, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 15, 2019 Administrators Report Share Posted April 15, 2019 (edited) 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&pilotid=<PILOT ID> Edited April 15, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 15, 2019 Author Report Share Posted April 15, 2019 I tested with all browsers, I disabled all but the result is the same. the empty url is precisely that url that you ask me to test ... and it's empty Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 15, 2019 Administrators Report Share Posted April 15, 2019 (edited) In admin/templates do you have a file named pilots_detailtabs.php? And does your admin account have full admin access? Edited April 15, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 15, 2019 Author Report Share Posted April 15, 2019 yes i have this file Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 15, 2019 Administrators Report Share Posted April 15, 2019 Strange issue - sorry, I'm out of ideas. Hopefully someone else will have some ideas for you. Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 15, 2019 Author Report Share Posted April 15, 2019 pity Thanks anyway for your help Quote Link to comment Share on other sites More sharing options...
Heritage1 Posted April 16, 2019 Report Share Posted April 16, 2019 (edited) Removed Edited April 16, 2019 by Heritage1 updated message Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted April 16, 2019 Moderators Report Share Posted April 16, 2019 We installed a SSL certificate and converted references from http to https without a complete reinstall. It can be quite easily done - no need to reinstall. Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 16, 2019 Author Report Share Posted April 16, 2019 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 Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 17, 2019 Author Report Share Posted April 17, 2019 No new ideas ? Quote Link to comment Share on other sites More sharing options...
Yash Posted April 18, 2019 Report Share Posted April 18, 2019 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 Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 18, 2019 Author Report Share Posted April 18, 2019 hi ! I had already changed all http (excluding .js files) I did what you proposed, to be sure I did not forget anything ... but it did not change anything .. still no pilots data Quote Link to comment Share on other sites More sharing options...
PetitJedi Posted April 20, 2019 Author Report Share Posted April 20, 2019 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 I want to thank everyone who helped me and gave me some research A big thanks to all of you Quote Link to comment Share on other sites More sharing options...
larabrian Posted December 4, 2019 Report Share Posted December 4, 2019 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. 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.