Jump to content

Patrick1246

Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Patrick1246's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. It doesn't reject the pirep, but it adds the comment to it
  2. ]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
  3. 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);
  4. any chance for a phpvms 5.5 version?
  5. is it possible to make it https compatible? If I click on generate, nothing happens, it works without https.
  6. ah, perfect, now it works. thank you
  7. 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'
  8. I've tried a clean install, with a new database, that works perfect. after that I have tested it with the current phpvms installation, now I got a blank page. log file AH01071: Got error 'PHP message: PHP Fatal error: 'break' not in the 'loop' or 'switch' context in /var/www/vhosts/uae-virtual.com/www/core/modules/ACARS/ACARS.php on line 176\n', referer: http://uae-virtual.com/index.php/
  9. would be cool when someone can make phpvms compatible with PHP7
  10. same now again, I had to block the IP (it was a normal Pilot) before I got blocked again from the hoster,
  11. 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
  12. its much faster, but now I receive sometimes double pireps and reports from smartcars, there was a pirep filling error.
  13. I made all changes, and it works great, but now it takes 1min to sent the Pirep from smartcars. I'm the only one with this issue?
×
×
  • Create New...