Jump to content

Recommended Posts

Posted
9 hours ago, flyalaska said:

I am using phpVMS 5.5.2 on php7. Upgraded  my php to 7 last night. Everything works fine except I get no inair images when there flights being flown. Any ideas?

 

 

because 5.5.x is not supporting  php7

only 5.0.0 classic witch is here on download supports php7

and if you do run php7 you will get errors beacuse the coding is shit to be honest i ahd so many errors with php7 and phpvms 5.0.0 and 5.5.5 

better just downgrade to php 5.2 that solved the flights for me and many other errors

Posted

On another note also, check your php version on your host/server, anything above 5.3 for php.ini carries issues on any older modules etc.If you also can get into your php.ini file through your Host company, look for an attribute called "Short URL", its usually towards the middle of this one file. If its engaged to"true" then this is one problem, along with many others in this file, A word of WARNING! If you are UNSURE about what exactly this file is all about, Please Don't mess with it, as it will destroy many things if set wrong.

Let me know, I have examples buddy , maybe we can get this fixed for you somehow..............

Jimbo

Posted
2 hours ago, flyalaska said:

I was on php5.6 prior. When I went to php7, I had no modules errors. Just the map not showing, and errors when someone registers, uses the contact form, and when I approve a PIREP. 

map not showing like it's white?

if so all you gotta change the API keys

of google maps of are you saying that the map shows but not the route?

my bad if misunderstood

Posted
1 minute ago, spkier said:

map not showing like it's white?

if so all you gotta change the API keys

of google maps of are you saying that the map shows but not the route?

my bad if misunderstood

Sorry, I meant not showing the inair images. The map shows fine.

Posted
3 minutes ago, flyalaska said:

http://www.flyaka.com/index.php/acars

I reverted back to php5.6 at the moment. Inair images show for about 5 seconds than disappears.

this is the errors i came up with when debugging you're site

i will take  a closer look and see what needs to be changed and i suggest you remove the flight map and readd it as a iframe dunno if that's gonna fix it but if you have more than 2 live maps maybe an iframe of the first one wont hurt?

 

 

Uncaught TypeError: Cannot read property 'querySelector' of null
    at initializeClock (count.js:18)
    at count.js:41
external.js:269 No widgets found.
2js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
_.Kb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38
acarsmap.js:199 Uncaught TypeError: map.fitBounds is not a function
    at populateMap (acarsmap.js:199)
    at Object.success (acarsmap.js:60)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js:4)
util.js:237 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
fC.j @ util.js:237
2js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
_.Kb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38
acarsmap.js:199 Uncaught TypeError: map.fitBounds is not a function
    at populateMap (acarsmap.js:199)
    at Object.success (acarsmap.js:60)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js:4)
2js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38 InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
_.Kb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:38
_.Nb @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:39
(anonymous) @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:53
_.m.setValues @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:122
He @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:69
_.Ie @ js?key=AIzaSyCaStUNRD-lfDQgiBYcyWLK8K8fvcBfFJE&sensor=true:70
populateMap @ acarsmap.js:100
success @ acarsmap.js:60
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
liveRefresh @ acarsmap.js:53
(anonymous) @ acarsmap.js:48
acarsmap.js:199 Uncaught TypeError: map.fitBounds is not a function
    at populateMap (acarsmap.js:199)
    at Object.success (acarsmap.js:60)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js:4)

Posted (edited)
https://pastebin.com/MYF5RHS2

i found the errors go to pastebin and see the code i repaired it should fix it but please make a backup

i have not tested it!

just replace it with acarsmap.js

Edited by spkier
I forgot to paste the whole script that was edited
Posted
33 minutes ago, spkier said:

https://pastebin.com/MYF5RHS2

i found the errors go to pastebin and see the code i repaired it should fix it but please make a backup

i have not tested it!

just replace it with acarsmap.js

Are you sure that .BoundsBounds and .Bounds are functions in the js Google Maps API? They might be but last time I checked they weren't. And also, there is no need to use an iframe in this circumstance due to the nature of how phpVMS works.

 

2 minutes ago, flyalaska said:

didnt work

Are you running PHP 7.0 at the moment?

Posted
1 minute ago, web541 said:

Are you sure that .BoundsBounds and .Bounds are functions in the js Google Maps API? They might be but last time I checked they weren't. And also, there is no need to use an iframe in this circumstance due to the nature of how phpVMS works.

 

Are you running PHP 7.0 at the moment?

You're right boundsbounds is not a function my bad my skills at java isn't the best but tought i could give it a shot but it's complicated enought for me hope you figuere it out

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...