Jump to content

Patrick1246

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Patrick1246

  1. ]Backtrace: DB::write_debug > DB::query > PIREPData::addComment > PirepAcData::search > PIREPData::fileReport > ACARSData::FilePIREP > smartCARS::filepirep
    Query: INSERT INTO phpvms_pirepcomments (`pirepid`, `pilotid`, `comment`, `postdate`) VALUES (17874, 1, 'Your Pirep has been rejected because you exeeded maximum landing rate of-600', NOW())
    Error: (1062) - Duplicate entry '0' for key 'PRIMARY'

    that was my fault auto increment was not set

    however, it still doesn't accept an pirep, and there is no error in the log

  2. install works, but it doesn't accept any pirep.

    on line 755 in PIREPData.Class.php

    # Do other assorted tasks that are along with a PIREP filing
     # Update the flown count for that route
     self::UpdatePIREPFeed();
     # Update any pilot's information
     $pilotinfo = PilotData::getPilotData($pirepdata['pilotid']);
     $pilotcode = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
     PilotData::UpdateLastPIREPDate($pilotinfo->pilotid);
    PirepAcData::search($pirepid);
    
     if (Config::Get('EMAIL_SEND_PIREP') === true) {
    
    	 # Send an email to the admin that a PIREP was submitted
    	 $sub = "A PIREP has been submitted by {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})";
    	 $message = "A PIREP has been submitted by {$pilotcode} "
    		 ."({$pilotinfo->firstname} {$pilotinfo->lastname})\n\n"
    		 ."{$pirepdata['code']}{$pirepdata['flightnum']}: {$pirepdata['depicao']} to {$pirepdata['arricao']}\n"
    		 ."Aircraft: {$pirepdata['aircraft']}\n" . "Flight Time: {$pirepdata['flighttime']}\n"
    		 ."Landing Rate: {$pirepdata['landingrate']}\n"."Filed using: {$pirepdata['source']}\n\n"
    		 ."Comment: {$comment}\n\n"
    		 ."Click to approve this pirep (admin must be signed in):\n"
    		 .adminurl('/pirepadmin/approvepirep/'.$pirepid);
    
    

    post-48394-0-23255200-1460581362_thumb.jpg

  3. but can the acars script cause a blank page?

    at uae-virtual.com I running now php 5.6.19

    I have copied the whole content to a new folder at http://php7.uae-virtual.com/ running with php 7.0.4, but there is only a blank page, display_errors is enabled in php.ini

    but I got a new Log entry

    Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/uae-virtual.com/php7.uae-virtual.com/core/classes/ezdb/ezdb_mysql.class.php:98\nStack trace:\n#0 /var/www/vhosts/uae-virtual.com/php7.uae-virtual.com/core/classes/ezdb/ezdb.class.php(195): ezDB_mysql->connect('phpvms', 'XXXXXXXX', 'localhost:3306')\n#1 /var/www/vhosts/uae-virtual.com/php7.uae-virtual.com/core/codon.config.php(113): DB::connect('phpvms', 'XXXXXXXX', 'phpvms', 'localhost:3306')\n#2 /var/www/vhosts/uae-virtual.com/php7.uae-virtual.com/index.php(47): include('/var/www/vhosts...')\n#3 {main}\n thrown in /var/www/vhosts/uae-virtual.com/php7.uae-virtual.com/core/classes/ezdb/ezdb_mysql.class.php on line 98\n'

  4. good day,

    my hosting is currently blocked, because it has overloaded the server. when I check the acces loggs, I can see there where many access on a simbrief ofp.

    anyone have seen this or no a resolution?

    regards

    Patrick

    post-48394-0-08893700-1449605299_thumb.jpg

×
×
  • Create New...