Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2017-06-03 00:10:37

MvdO79
Member
Registered: 2017-06-03
Posts: 6

Google maps api - broken image url

Hi all,

In my GEO configuration I can see the Google map, so perfect.

But when I check the GEO location marker icon in a chatters overview I see a broken image, when I click the image I go to the right URL in a browser. So only the image is not shown.

This is the piece of code:

[== HTML ==]
<a target="_blank" href="//maps.google.com/maps?t=h&amp;q=52.0825,4.75&amp;z=17&amp;hl=en&amp;z=11&amp;t=m"><img src="//maps.google.com/maps/api/staticmap?zoom=13&amp;size=400x300&amp;maptype=roadmap&amp;center=52.0825,4.75&amp;sensor=false&amp;markers=color:green|52.0825,4.75" alt="" title="52.0825,4.75"></a>

To me it seems that the img src is wrong: src="//maps.........

Is this code ok, if soI need to check something else? (VPS permissions for viewing images etc?)

Thanks.

Offline

#2 2017-06-03 07:02:27

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Google maps api - broken image url

Hi MvdO79, welcome in the live helper chat forum!
What version of live helper chat are you using?
The current last one is 2.63

Is your PHP updated?
Please look at the livehelperchat.com demo,
the issue is present? I AM unable to replicate... maybe you have issue on your server / installation.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2017-06-03 15:16:07

MvdO79
Member
Registered: 2017-06-03
Posts: 6

Re: Google maps api - broken image url

Thank you for your welcome, and your free time of course.

Chat is version 2.63
PHP 5.6.30
Zend Engine 2.6.0

The demo works perfect so must be my setup, will check further on that.
Will use the demo in future to check if it's chat related only.  wink

Offline

#4 2017-06-03 15:28:09

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Google maps api - broken image url

Hi MvdO79,
thank you for your feedback. Yes the issue seems to be related to your install. Check to not have hot link image protection active.
You can use the browser development tools for check if you can find some error or also you can try to upgrade again... please read here:
https://forum.livehelperchat.com/viewtopic.php?id=2193

MvdO79 wrote:

The demo works perfect so must be my setup, will check further on that.
Will use the demo in future to check if it's chat related only.  wink

Do not worry but thanks.
I hope in my response you can find a solution, let me know smile


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2017-06-03 15:30:24

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Google maps api - broken image url

If you want you can try to send a screenshot or start a chat with me. You can follow link in my signature,
but I hope my suggestion in the upstairs post can help you to fix big_smile


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#6 2017-06-03 16:14:21

MvdO79
Member
Registered: 2017-06-03
Posts: 6

Re: Google maps api - broken image url

Hi thanks, it's solved by your directions of checking the browser development tools, there I saw error 403 so some kind off permission problem.

Turns out that the apache user on Centos 6 did not have read permissions and therefore could not read the external image.

Thanks!

Offline

#7 2017-06-03 16:15:57

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Google maps api - broken image url

Oh this is a great news,
I AM happy to read you have solved  smile
Thank you for the great feedback!

Wish you a nice, wonderful time!


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer