Suggestions, ideas and general discussion about JoinFS.
mattia1513
Posts: 34 Joined: Sun Feb 18, 2018 1:26 pm
Post
by mattia1513 » Tue Mar 20, 2018 9:21 pm
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:
Post
by ATC Roo » Wed Mar 21, 2018 11:21 am
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:
Post
by ATC Roo » Thu Mar 22, 2018 11:14 pm
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
Post
by mattia1513 » Mon Mar 26, 2018 8:25 pm
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:
Post
by ATC Roo » Mon Mar 26, 2018 9:06 pm
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
Post
by mattia1513 » Tue Mar 27, 2018 8:41 pm
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:
Post
by ATC Roo » Tue Mar 27, 2018 10:48 pm
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
Post
by mattia1513 » Wed Mar 28, 2018 7:54 pm
Attachments
Cattura.PNG (9.09 KiB) Viewed 18180 times
ATC Roo
Posts: 721 Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:
Post
by ATC Roo » Wed Mar 28, 2018 9:29 pm
Well that all looks correct.
So it looks like there's a map or hosting issue.
What web server are you using?
ATC Roo
Posts: 721 Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:
Post
by ATC Roo » Wed Mar 28, 2018 9:46 pm
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
Post
by mattia1513 » Wed Mar 28, 2018 10:17 pm
this is the permission
if you want i can send you a ftp access
Attachments
permessi.PNG (27.56 KiB) Viewed 18103 times
ATC Roo
Posts: 721 Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:
Post
by ATC Roo » Thu Mar 29, 2018 2:06 am
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
Post
by mattia1513 » Thu Mar 29, 2018 6:48 pm
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:
Post
by ATC Roo » Thu Mar 29, 2018 10:17 pm
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:
Post
by ATC Roo » Sat Mar 31, 2018 3:19 pm
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
Post
by mattia1513 » Mon Apr 09, 2018 8:28 pm
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
Post
by mattia1513 » Mon Apr 09, 2018 9:08 pm
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:
Post
by ATC Roo » Tue Apr 10, 2018 12:37 am
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?