Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

displaymap.php doesn't show the map #103

Open
DeepakSuryaS opened this issue Jan 31, 2019 · 11 comments
Open

displaymap.php doesn't show the map #103

DeepakSuryaS opened this issue Jan 31, 2019 · 11 comments

Comments

@DeepakSuryaS
Copy link

Hi guys,
I followed the php and mysql procedure and generated the db, but in the display.php the map is not working and I can't select a route either. Can anyone help me fix the issue?

Thanks for helping.

@nickfox
Copy link
Owner

nickfox commented Jan 31, 2019

Can I please have the url of the map.

n

@DeepakSuryaS
Copy link
Author

I have hosted it locally

@nickfox
Copy link
Owner

nickfox commented Jan 31, 2019

That's the first problem. It needs to be hosted on a public website. You can host it locally if it's on the same wifi network but not very useful.

@riskcapri
Copy link

I have the same problem. but from my public website.
some help?

@Dvl1
Copy link

Dvl1 commented Jul 3, 2020

Same here, no map..hosted public, set up MySql db properly, I think :-)

@nickfox
Copy link
Owner

nickfox commented Jul 3, 2020

Hey Dvl1, can you please post the url of the map. It's been close to 5 years since I looked at this code. Hopefully I'll remember.

n

@nickfox
Copy link
Owner

nickfox commented Jul 3, 2020

I get a 404 error when i go to that page.

http://kainservice.be/gpstracking/displaymap.php

n

@nickfox
Copy link
Owner

nickfox commented Jul 3, 2020

I'm using google chrome. Go to the View menu and scroll down to developer and open the javascript console. Do you see the errors being generated on displaymap.php page?

It's looking for an image file called layers.png. I don't recognize that file. Is that one of yours?

Another error is asking you to get an API key. Click on that error link to create one.

Clear these 2 errors and let me know what happens.

n

@Dvl1
Copy link

Dvl1 commented Jul 3, 2020 via email

@nickfox
Copy link
Owner

nickfox commented Jul 4, 2020

Thanks for the donation, that was very kind of you. Did you re-organize the folders? It shouldn't be looking for that layers.png in that folder.

Also, did you get the API key?

n

@Dvl1
Copy link

Dvl1 commented Jul 4, 2020

Welcome 😉
Noob here

As I know, did not move folders..
Where to place the api then? Didn’t find where to put it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants