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

You are not logged in.

Announcement

#1 2015-03-09 19:12:53

Veronica
Member
Registered: 2015-03-09
Posts: 16

Installed fine but can't send XMPP test message, get 500 error

Hello and good day, this is the first time i install this. I'm good to follow instructions and i'm tech savvy.

I'm testing my webpage in a free hosting for now before moving it to a paid hosting. Found Hostinger.co to be a good option. So far so good i didn't have any trouble installing Live Helper Chat neither setting it up.

The site is www.tecnoraymond.com

My main goal is to be able to manage chats in android and iphone smartphones, and there is where i ran into issues. I followed the guide to setup XMPP with a gmail account (non google app account, don't know if this is a must???), also configured department option but no go... everytime i click on SEND TEST MESSAGE i get 500 Internal Server Error. Now i red and maybe could be my hosting server port 5222 not opened but who knows.

Followed this: https://livehelperchat.com/during-some- … -215a.html to debug but i can't see logs about the issue in my hosting server, so i may need to use other tool. I also used chrome dev tool but got nothing that could help to debug.

I want to make sure it works before i upgrade my hosting account.

Regards from Equador,

~ V

Last edited by Veronica (2015-03-09 19:13:35)

Offline

#2 2015-03-09 19:25:07

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

Re: Installed fine but can't send XMPP test message, get 500 error

Hi,

Most likely your hosting provider does not support it and not much I think you will be able to do there. Most of the time XMPP requires VPS...

Offline

#3 2015-03-09 23:44:59

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

Hmm i see, is there a hosting proved to work with XMPP or i rather host it myself? what are my options? i really need to manage/respond chats in my smartphone. Thanks!

Offline

#4 2015-03-10 05:57:45

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

Re: Installed fine but can't send XMPP test message, get 500 error

Well, you can setup mail notifications. But I do not think that any standard hosting supports it. Or you can use my own hosted instances
https://livehelperchat.com/order/now xmpp will work there.

Offline

#5 2015-03-10 06:13:51

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

hmm, ok thanks. i'll try to figure it out.

Another thing, sorry bit of offtopic... can you please check bitnami out and submit your application here: https://bitnami.com/contest  it's 100% opensource project, it's great

Offline

#6 2015-03-10 06:15:21

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

sorry but what really is required for xmpp or email notification to work?

Offline

#7 2015-03-10 06:16:22

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

Re: Installed fine but can't send XMPP test message, get 500 error

Mail notifications does not require any specific stuff so will work on standard hosting also. XMPP requires connections to remote servers 5222 port and streams supports.

Offline

#8 2015-03-17 00:50:18

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

Hello again. *** do i need incoming and outgoing 5222 ports opened or is outgoing one enough. Hosting said they can open outgoing port.

Regards,

~ V

Offline

#9 2015-03-17 05:33:04

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

Re: Installed fine but can't send XMPP test message, get 500 error

It has to be outgoing connections to 5222
As for 500 error if they tell that they have enabled it and it still won't work you can enable debug
https://livehelperchat.com/during-some- … -215a.html

Offline

#10 2015-03-17 12:44:24

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

Thanks, will report back

Offline

#11 2015-03-18 16:26:11

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

I've already followed the debug steps. problem is dont know where to check the logs. in my hosting can't see something relative to that. the only place i see something is when i login to my live helper chat admin panel and this is all i got when i clicked on SEND TEST MESSAGE: http://pastebin.com/KyGQTPa9.

Outgoing 5222 tcp and udp ports are opened but still get 500 error.

Thanks in advance

Offline

#12 2015-03-18 16:30:38

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

Re: Installed fine but can't send XMPP test message, get 500 error

Just do this...

remdex wrote:

As for 500 error if they tell that they have enabled it and it still won't work you can enable debug
https://livehelperchat.com/during-some- … -215a.html

Offline

#13 2015-03-18 16:59:00

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

I DID

Disable cache in settings/settings.ini.php
'templatecache' => false,
'templatecompile' => false,
'modulecompile' => false, 
Enable debug output in settings/settings.ini.php
'debug_output' => true
modify index.php and set first few lines to
***_set('error_reporting', E_ALL);
***_set('display_errors', 1);
See your server error log
After each of previous step try to make same action which couses white screen.
If you have embeded widget code but widget is not shown please...

I have no problem with widget showing up.

Offline

#14 2015-03-18 17:45:48

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

Re: Installed fine but can't send XMPP test message, get 500 error

Sorry but then I have no idea. There is commercial support if you still need help.
No error = no solution as simple as that...

Offline

#15 2015-03-18 18:00:17

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

where should i look for the error? in the admin panel i get what i posted in pastebin link above.

Offline

#16 2015-03-18 18:01:16

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

Re: Installed fine but can't send XMPP test message, get 500 error

Pastebin it's just debug error. Just check your server error log...

Offline

#17 2015-03-19 01:35:34

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

Hello ***. So i decided to reinstall the whole thing and leave settings by default to test again but now im stuck in step 2 of installation (Database Settings). I Have removed and re-created databases in my hosting but same error i get:

Cannot login with provided logins. Returned message: SQLSTATE[28000] [1045] Access denied for user 'blablabla'***'10.1.2.33' (using password: YES)

Don't know what's wrong, as when i first installed everything went smooth without a problem. Could it be a cache problem? to remove live helper chat i removed it's databse and removed the lhc_web folder from the root of my hosting server using filezilla client. Don't know if i missed something?

Regards.

Offline

#18 2015-03-19 05:34:01

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

Re: Installed fine but can't send XMPP test message, get 500 error

Sorry, I really don't know...

Offline

#19 2015-03-24 01:39:58

Veronica
Member
Registered: 2015-03-09
Posts: 16

Re: Installed fine but can't send XMPP test message, get 500 error

Hello, i'm reporting back tht finally i had success sendng test messages. The 500 error was my hosting and they changed me to another server but they just said that they fixed problems so i was still trying to install chat and use web and ftp from the other server IP (A record), after i changed to the new server ip it installed correctly, no more database error (had to clear new cache files created in cache folder though). Port tcp 5222 was opened succesfully by request too.

Now i'm at the Xabber android app setup. Have tried everything but can't get it to send notification of new chat request to start chatting. As this is a different problem i'll write a new thread.

Thanks!

Offline

Board footer