Jump to content

Clean install issues phpvms_5.5.x-master {SOLVED}


Recommended Posts

Posted

We are running Php 5.4 on server, did a clean install of phpvms_5.5.x-master - 7,441 Kb. We have the timezone issue corrected.

Here is an issue we have 4 schedules/routes entered for testing. However when trying to file a Pirep getting the following message :

Strict Standards: Non-static method CodonEvent::hasStop() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/beautynspeed.com/fly.beautynspeed.com/PRS/core/modules/PIREPS/PIREPS.php on line 478

File a Flight Report

There was an error adding your PIREP : Schedule does not exist. Please update this manually.

This is a flight in the "Flight Info"

AFA1912 (KLAX - KORD)

Departure: 11:45 PDT Arrival: 5:46 PM CDT

Equipment: A320 (OU812) Distance: 1514.72nm

Days Flown: M T W Th F S

Route: DAG J100 LAS J146 BETHL DVC HLC IRK

Notes:

Originally we were able to enter 2 pireps but not any longer without the above error, and same message when trying to enter manually.

  • Administrators
Posted

Have you tried any of this with the default crystal skin? Looking at the errors on your contact page and schedules page it looks to me like the currently in place skin has not been adapted from older versions of phpVMS.The event stop error should not be affecting it but it could be, I am thinking that it has something to do with the template variables. You could also try changing line 104 in core/classes/CodonEvent.class.php from

public function hasStop($eventname)

to

public static function hasStop($eventname)

This may get you past this particular error but it would not solve the why the pirep failure is happening.

Posted

That got rid of the Static Standards error, however still getting

There was an error adding your PIREP : Schedule does not exist. Please update this manually.

and this was entering it manually.

  • Administrators
Posted

and this was entering it manually.

So you can submit via ACARS or no?

Also, when submitting manually are you using the same flight number as the schedule shows - in the above case the airline would be the one with the AFA code and the flight number section should be 1912. Is this how you are entering the manual pirep?

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...