Strider Posted August 27, 2018 Report Posted August 27, 2018 Hi, I am trying to file a pirep at my VA, but I keep getting the following error: Deprecated: Non-static method CodonEvent::hasStop() should not be called statically, assuming $this from incompatible context in /core/modules/PIREPS/PIREPS.php on line 478 How do I fix that problem as I am unable to file thus others will be unable, it I think is causing a problem for smartcars too, as it wont file the pirep. Quote
Strider Posted August 27, 2018 Author Report Posted August 27, 2018 I have somehow fixed that error, but now it tells me the schedule does not exist, when it does. Quote
Strider Posted September 1, 2018 Author Report Posted September 1, 2018 Is anyone going to help??? Quote
Administrators ProAvia Posted September 2, 2018 Administrators Report Posted September 2, 2018 (edited) I'm guessing you fixed the first error by changing CodonEvent.class.php line 104 (for version 5.5.2) from public function to public static function.... What version of phpVMS are you using? Have you tried using kACARS_Free to see if the same issue occurs? Anything in the error log on the Admin side? Edited September 2, 2018 by ProAvia Quote
Strider Posted September 3, 2018 Author Report Posted September 3, 2018 That has gotten that error gone, but the pirep still doesn't submit. It is telling me the schedule doesn't exist now, even though the schedule does exist. And it seems to be accepting pireps from smartcars and my custom kacars, but the pirep does not show in the admin or the db. It is triggering the a pirep has been submitted email but nothing shows. The php version my server is using is 5.6, I can go back to 5.4 but that doesn't seem to help. Quote
Administrators ProAvia Posted September 4, 2018 Administrators Report Posted September 4, 2018 phpVMS version? SimPilot 5.5.2 or something else? I'm not sure why it is submitting the PIREP (email of submittal being received) and not showing in the DB. I'm using 5.5.2, kACARSII custom, php 5.6.18 and haven't had any issues. Maybe something with the DB or possibly one of the associated files. Quote
Strider Posted September 4, 2018 Author Report Posted September 4, 2018 Simpilot 5.5.2 I litteraly just transfered the files and db over from the backup I got before my last host closed up shop. I am not sure it is reading the DB, as if I try manually from a bid it says the schedule doesn't exist, but it does. Quote
Administrators ProAvia Posted September 4, 2018 Administrators Report Posted September 4, 2018 Have you tried installing a fresh copy along side your existing one? Maybe make a copy of the DB and tie that copy to the new install - after making sure the new install works with a fresh DB. Quote
Strider Posted September 4, 2018 Author Report Posted September 4, 2018 tried a fresh install, even tried nabeels updated phpvms that returns to tpl's but no it didn't work either. Quote
Administrators ProAvia Posted September 4, 2018 Administrators Report Posted September 4, 2018 File permissions issue? Host settings issue? - I'm leaning to your host. It worked on old host and now doesn't on new host. I have no idea what to search for or what to ask them though. Quote
Strider Posted September 4, 2018 Author Report Posted September 4, 2018 It only seems to have trouble with submitting data to t he db, it can read the db Quote
Administrators ProAvia Posted September 5, 2018 Administrators Report Posted September 5, 2018 File/folder read/write permissions? 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.