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

You are not logged in.

Announcement

#1 2013-12-20 08:25:10

Sanson D'silva
Member
Registered: 2013-12-10
Posts: 8

HTTPS breaks in admin chat

Hi Remigijus,
The HTTPS functions properly in the visitor's chat and also works in the admin area when the admin logs in, but the moment the chat is accepted by the admin at the URL "/index.php/site_admin/chat/chattabs/" the HTTPS breaks stating that the page is not secure.

Please can you check this?

Also 2 days back I see an update at https://github.com/remdex/livehelperchat/commit/3f9fcd194d98a3f73c5a4b5e3935fdeca6690d4a
Is that update necessary? and what was that update for?

Best Regards,
Sanson

https://groups.google.com/forum/#!topic … KclDv3tEAM

Offline

#2 2013-12-20 08:38:00

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: HTTPS breaks in admin chat

1. I see regarding https
2. Some file types were not accepted even if they were entered in back office.

2013/12/20 Sanson D'silva <swif...***.com>

Offline

#3 2013-12-20 08:40:12

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: HTTPS breaks in admin chat

Ok just looked https is your issue. Like there is no defined variable is it https ot http. It heritages current site mode.

2013/12/20 Remigijus Kiminas <rem...***.com>

Offline

#4 2013-12-20 11:19:16

Sanson D'silva
Member
Registered: 2013-12-10
Posts: 8

Re: HTTPS breaks in admin chat

Yes the current site mode is https
I use force https connection in my .htaccess file
---------------------------------------------------
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
---------------------------------------------------
As I told that "the moment the chat is accepted by the admin at the URL "/index.php/site_admin/chat/chattabs/" the HTTPS breaks stating that the page is not secure."

I think that "chattabs" is calling some elements in the HTML that is on http connection, I have checked the sorce but I get no clue, there could be some http calls in the JS or CSS files...

Can you tell me the list of files (JS and CSS) that are used in the  "chattabs"page and I can examine them and post an update with my findings.

Offline

#5 2013-12-20 11:39:43

Sanson D'silva
Member
Registered: 2013-12-10
Posts: 8

Re: HTTPS breaks in admin chat

I spotted the issue...
I used HttpFox firefox addon to troublshoot the https requests..
https://addons.mozilla.org/en-US/firefox/addon/httpfox/developers

-----------------------------------
image/png >> http://maps.google.com/maps/api/staticmap?zoom=13&size=400x300&maptype=roadmap&center=13.083300,80.283302&sensor=false&markers=color:green|13.083300,80.283302
-----------------------------------

That is the only NON https request made from the chatbox. So where do you call http://maps.google.com/ ?
If we modify the URL from "http://maps.google.com/" to "//maps.google.com/" it should fix the problem... smile

Offline

#6 2013-12-20 12:24:17

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: HTTPS breaks in admin chat

Hi,
I fix it in few hours smile

2013/12/20 Sanson D'silva <swif...***.com>

I spotted the issue...

Offline

#7 2013-12-20 12:34:50

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: HTTPS breaks in admin chat

Here is your commit, try to change this single template and clear a cachehttps://github.com/remdex/livehelperchat/commit/0c1e48691b046a02e28dc577f7468fa53b409bae



2013/12/20 Remigijus Kiminas <rem...***.com>

Offline

#8 2013-12-20 14:09:28

Sanson D'silva
Member
Registered: 2013-12-10
Posts: 8

Re: HTTPS breaks in admin chat

Thanks Remigijus for the Fix,
And did you see my other question?
"Also 2 days back I see an update at https://github.com/remdex/livehelperchat/commit/3f9fcd194d98a3f73c5a4b5e3935fdeca6690d4a
Is that update necessary? and what was that update for?"

Offline

#9 2013-12-20 14:21:00

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: HTTPS breaks in admin chat

Not sure what other, i just fixed that maps use // instead of full address.

2013/12/20 Sanson D'silva <swif...***.com>

Thanks Remigijus for the Fix,

Offline

Board footer