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!
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!
Have you checked the error_log file in the main phpvms directory for any errors?
Hi,
Many thanks, I am checking now, tredo the simbrief flight and seee what error will be wrote on the log.
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
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.