Orazio Posted April 27, 2019 Report Share Posted April 27, 2019 Good day, When I generate the flight with SIMBRIEF from I get the following error: An Error Was Encountered The module "500.SHTML" doesn't exist! Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 28, 2019 Administrators Report Share Posted April 28, 2019 Have you checked the error_log file in the main phpvms directory for any errors? Quote Link to comment Share on other sites More sharing options...
Orazio Posted April 28, 2019 Author Report Share Posted April 28, 2019 (edited) Hi, Many thanks, I am checking now, tredo the simbrief flight and seee what error will be wrote on the log. Edited April 28, 2019 by Orazio Quote Link to comment Share on other sites More sharing options...
Orazio Posted April 28, 2019 Author Report Share Posted April 28, 2019 (edited) Hi, Just tried again. This is the error log: [28-Apr-2019 01:59:47 UTC] PHP Warning: mysql_select_db() expects parameter 1 to be string, resource given in /home/trinacri/public_html/dbconnect.php on line 11 [28-Apr-2019 01:59:48 UTC] PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/trinacri/public_html/index.php on line 706 Edited April 28, 2019 by Orazio Quote Link to comment Share on other sites More sharing options...
Orazio Posted April 28, 2019 Author Report Share Posted April 28, 2019 Dear All, I have solved the issue via deleting the bold txt in the SimBrief.php file: <?php $dep = (string) $info->origin[0]->icao_code; $arr = (string) $info->destination[0]->icao_code; $actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; file_put_contents('Simbriefs/'.$dep.''.$arr.'.html', file_get_contents(''.$actual_link.'')); ?> Thanks to All. 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.