Jump to content

Orazio

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Orazio

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

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

     

×
×
  • Create New...