JoinsFS map problem

Suggestions, ideas and general discussion about JoinFS.
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

JoinsFS map problem

Post by mattia1513 »

Hi Pilots!

I was trying to use the custom joinfs map, I followed the instructions in this post

http://pmem.uk/joinfs/forum/viewtopic.php?f=4&t=306


this is my map but don't work: http://map.italianivolanti.it

this is my settings.php file

Code: Select all

<?php
define('WHAZZUP_URL','http://dl.italianivolanti.it/whazzup.txt');//Where your Whazzup file is.
define('UPDATE_FREQ',60000);//map refresh time in ms (60secs = 60000)
define('API_KEY','---MY API KEY--'); //Get a google maps API key, although it seems one isn't needed lately.
?>
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

Change the line...
define('API_KEY','---MY API KEY--'); //Get a google maps API key, although it seems one isn't needed lately.

To

//define('API_KEY','---MY API KEY--'); //Get a google maps API key, although it seems one isn't needed lately.

Or correct the typo after API_KEY.

API_KEY' , '---MY API KEY--'
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

Did that fix your map Mattia?

If it helps your whazzup seemed to work on one of my test maps.
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

ATC Roo wrote:Did that fix your map Mattia?

If it helps your whazzup seemed to work on one of my test maps.

hi ATC roo, sorry for dealy, this is my settings.php file now, but not work

<?php
define('WHAZZUP_URL','http://dl.italianivolanti.it/whazzup.txt');//Where your Whazzup file is.
define('UPDATE_FREQ',60000);//map refresh time in ms (60secs = 60000)
//define('API_KEY','AIzaSyD25mMNiJieIhCwRmE3vh5n1WM4R5RRwcI'); //Get a google maps API key, although it seems one isn't needed lately.
?>
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

I think there maybe an issue with your whazzup.txt

Copy the below into your settings.php and see if it shows any aircraft.

Code: Select all

<?php
define('WHAZZUP_URL','http://roo.servebeer.com/jfs/whazzup.txt');
define('UPDATE_FREQ',60000);
?>
That will eliminate an issue with the map if it does.

If you don't see any aircraft then its a map issue.
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

I have updated the file whazzup.txt with your code but it does not work


do you have any suggestions?
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

Make sure that there are 4 lines in total.

Code: Select all

<?php
define('WHAZZUP_URL','https://roo.servebeer.com/jfs/whazzup.txt');
define('UPDATE_FREQ',60000);
?>
You could also try turning http into https for my whazzup.
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

Attachments
Cattura.PNG
Cattura.PNG (9.09 KiB) Viewed 18176 times
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

Well that all looks correct.
So it looks like there's a map or hosting issue.

What web server are you using?
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

can this help you? I'm not very experienced

http://map.italianivolanti.it/map/phpinfo.php
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

Well my next question was going to be " Do you have PHP installed?" But that's answered that.

I'm now thinking file permissions.

What are the read permissions on settings.php?

0644 should be fine.
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

this is the permission

if you want i can send you a ftp access
Attachments
permessi.PNG
permessi.PNG (27.56 KiB) Viewed 18099 times
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

That might be easier.
If you create me a temporary password I'll connect with putty and see if I can get it working for you.
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

ATC Roo wrote:That might be easier.
If you create me a temporary password I'll connect with putty and see if I can get it working for you.
sent by private message, many many thanks for help!
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

OK Ive just logged in and changed a few file permissions but no joy.

I also uploaded (now deleted) a known working map from my server, but no joy.

If it helps I have your whazzup on one of my spare test maps at https://roo.servebeer.com/map3/map.html

It shows data but doesn't plot the aircraft.

Is the whazzup shared from the same web server?

We've eliminated the map and whazzup file as the work on my web server, so I'm now thinking some kind of web server permission?
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

I've just been comparing php info between your server and mine.

I notice no mention of Apache in your file.
What webserver are you using?
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

Hi,

sorry for delay, I talk to my hosting and let you know thanks!
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

its possible that on your test map my whazzup not show the aircraft because i have the , on coordinate and not the .
ATC Roo
Posts: 721
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: JoinsFS map problem

Post by ATC Roo »

mattia1513 wrote:its possible that on your test map my whazzup not show the aircraft because i have the , on coordinate and not the .
Yes that's possible.


In fact...

I've just taken a snapshot of your whazzup file and edited 3 users to a . instead of a ,

https://roo.servebeer.com/map3/map.html

All works.

What version of JoinFS are you using?
mattia1513
Posts: 34
Joined: Sun Feb 18, 2018 1:26 pm

Re: JoinsFS map problem

Post by mattia1513 »

i use 1.4.12
Post Reply