HCStrike Posted October 25, 2017 Report Posted October 25, 2017 With the auto accept/reject plugin I get this error [25-Oct-2017 09:22:57 Europe/London] PHP Deprecated: Non-static method PirepAcData::get_settings() should not be called statically, assuming $this from incompatible context in /var/www/fly/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 54 [25-Oct-2017 09:22:57 Europe/London] PHP Stack trace: [25-Oct-2017 09:22:57 Europe/London] PHP 1. {main}() /var/www/fly/admin/index.php:0 [25-Oct-2017 09:22:57 Europe/London] PHP 2. MainController::RunAllActions() /var/www/fly/admin/index.php:83 [25-Oct-2017 09:22:57 Europe/London] PHP 3. call_user_func_array:{/var/www/fly/core/classes/MainController.class.php:218}() /var/www/fly/core/classes/MainController.class.php:218 [25-Oct-2017 09:22:57 Europe/London] PHP 4. PirepAutoAccept->index() /var/www/fly/core/classes/MainController.class.php:218 [25-Oct-2017 09:22:57 Europe/London] PHP 5. PirepAutoAccept->overview() /var/www/fly/admin/modules/PirepAutoAccept/PirepAutoAccept.php:26 Anyone know how to fix it? Quote
HCStrike Posted October 26, 2017 Report Posted October 26, 2017 Any ideas I really need this to be fixed Quote
Members Vangelis Posted October 26, 2017 Author Members Report Posted October 26, 2017 (edited) Go to PirepAcData.php in core/common and find Public Function get_settings() and change it to Public static Function get_settings() Edited October 26, 2017 by Vangelis 1 Quote
HCStrike Posted October 28, 2017 Report Posted October 28, 2017 Now it just is not working, there are no errors in the error.txt file but it doesnt accept or deny pireps Quote
HCStrike Posted October 28, 2017 Report Posted October 28, 2017 And I also get this now [28-Oct-2017 16:12:55 Europe/London] PHP Deprecated: Non-static method PirepAcData::get_criteria() should not be called statically, assuming $this from incompatible context in /var/www/fly/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 52 [28-Oct-2017 16:12:55 Europe/London] PHP Stack trace: [28-Oct-2017 16:12:55 Europe/London] PHP 1. {main}() /var/www/fly/admin/index.php:0 [28-Oct-2017 16:12:55 Europe/London] PHP 2. MainController::RunAllActions() /var/www/fly/admin/index.php:83 [28-Oct-2017 16:12:55 Europe/London] PHP 3. call_user_func_array:{/var/www/fly/core/classes/MainController.class.php:218}() /var/www/fly/core/classes/MainController.class.php:218 [28-Oct-2017 16:12:55 Europe/London] PHP 4. PirepAutoAccept->index() /var/www/fly/core/classes/MainController.class.php:218 [28-Oct-2017 16:12:55 Europe/London] PHP 5. PirepAutoAccept->overview() /var/www/fly/admin/modules/PirepAutoAccept/PirepAutoAccept.php:26 Quote
Members Vangelis Posted October 28, 2017 Author Members Report Posted October 28, 2017 Do the same as before for this function get criteria Quote
HCStrike Posted October 28, 2017 Report Posted October 28, 2017 Still doesnt work but there is no log Quote
HCStrike Posted October 30, 2017 Report Posted October 30, 2017 I really would like this to be fixed Quote
Ernani1968 Posted November 5, 2017 Report Posted November 5, 2017 (edited) I did the installation as directed, but does not approve the flights, can anyone help me in this? Edited November 5, 2017 by Ernani1968 Quote
smokey68 Posted November 17, 2017 Report Posted November 17, 2017 @Vangelis since i switched to 5.5 the pireps are not being accepted automatically and when they are to be rejected its not setting them as rejected but it does put a comment on them why it was rejected even though it didnt reject it or accept it they will still be apporval pending. Any Help ? Quote
HCStrike Posted November 17, 2017 Report Posted November 17, 2017 I'm having the same issue as @vbegin7 Quote
Members Vangelis Posted November 18, 2017 Author Members Report Posted November 18, 2017 can you both enable the logs and attach them ? Quote
HCStrike Posted November 18, 2017 Report Posted November 18, 2017 @Vangelis, I get no errors in my logs Quote
in2tech Posted November 18, 2017 Report Posted November 18, 2017 Does this module still not work with phpVMS V5.5? Quote
Members Vangelis Posted November 19, 2017 Author Members Report Posted November 19, 2017 It should work with a phpvms versions ensure that you installed it correctly Quote
in2tech Posted November 19, 2017 Report Posted November 19, 2017 (edited) Thanks, thought I had read in this thread it did not. I'll double check my installation and see if I did something wrong. It's only does acars right, not manual reports, and you have to have one option turned on? For instance I only want if someone flies over 1x simrate speed at this point! So what do I enter in the simrate option? Thanks! Edited November 19, 2017 by jnascar Quote
Members Vangelis Posted November 20, 2017 Author Members Report Posted November 20, 2017 just copy and paste the line from your acars software if you give a link of a pirep i will be able to tell you Quote
in2tech Posted November 20, 2017 Report Posted November 20, 2017 12 hours ago, Vangelis said: just copy and paste the line from your acars software if you give a link of a pirep i will be able to tell you Recent PIREP: http://www.fswbreak.com/index.php/pireps/view/360 Quote
Members Vangelis Posted November 21, 2017 Author Members Report Posted November 21, 2017 sorry i meant a pirep where we can see what is writen when you have simrate 2x and above Quote
topher2880 Posted November 27, 2017 Report Posted November 27, 2017 is this mod still available and if so, where can I get it? Also is it compatible with tours? I know theyre touchy with "approval all pireps", but with auto, unless 2 people submit at the same time, I guess there wont be an isse Quote
Members Vangelis Posted November 27, 2017 Author Members Report Posted November 27, 2017 http://baggelis.com/autopirep0.zip Quote
topher2880 Posted November 27, 2017 Report Posted November 27, 2017 6 hours ago, Vangelis said: http://baggelis.com/autopirep0.zip Thanks for that. Got it installed however its throwing errors back at smartCARS when lodging, and not auto-accepting. Quote
topher2880 Posted November 27, 2017 Report Posted November 27, 2017 On 29/07/2017 at 12:04 AM, AJCWebServices said: Hi I get this error. Can anyone say if it was fixed. Cant seem to find a fix in this thread @Vangelis Many thanks Sorry to be a pain, however smartCARS is throwing the same error as the original post dated 06/12/2015 at 4:23 AM by danydj96 [08:11:17 AM] [ERROR] An unknown or unsatisfactoy response was received during the PIREP filing. It was : <br /> <b>Strict Standards</b>: Non-static method PirepAcData::search() should not be called statically in <b>/home/topweb1/flyasia/core/common/PIREPData.class.php</b> on line <b>807</b><br /> SUCCESS Im using phpVMS 2.1.936 until I can upgrade Quote
Members Vangelis Posted November 28, 2017 Author Members Report Posted November 28, 2017 edit PirepAcData.class.php and where "public function" replace with "public static function" in the line of your error . Quote
topher2880 Posted November 29, 2017 Report Posted November 29, 2017 Hi Vangelis, 19 hours ago, Vangelis said: edit PirepAcData.class.php and where "public function" replace with "public static function" in the line of your error . PirepAcData.class.php only has 350 odd lines of data, but PIREPData.class.php , line 807 is between the 2 lines below $pirepdata['load'] = FinanceData::getLoadCount($pirepdata['aircraft'], $sched->flighttype); } /* If the distance isn't supplied, then calculate it */ Quote
ariel8407 Posted March 17, 2018 Report Posted March 17, 2018 Good night, I have this error that appears when I want to enable the auto pireps module in the admin center of phpvms 5.5 and I click on save setting, I get this, help please Deprecated: Non-static method PirepAcData::editSettings() should not be called statically, assuming $this from incompatible context in /home/worldwin/public_html/admin/modules/PirepAutoAccept/PirepAutoAccept.php on line 135 There was an error editing the Settings Quote
Miggel Posted March 30, 2018 Report Posted March 30, 2018 Hi Vangelis, i have your Autopirep install from Plugin Manager, but it dosent work... no Error message. Quote
LeeCley2017 Posted June 21, 2018 Report Posted June 21, 2018 Hello! @VANGELIS, the installation of the module is according to the forum, but it does not approve or reject the pyrep, can you give a help ?? Quote
Members Vangelis Posted June 22, 2018 Author Members Report Posted June 22, 2018 Please attach a screenshot of your criteria page and a pirep link with all the fails Quote
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.