Help
Ask questions about how to do or fix things in Arrowchat
User avatar
Trevorhawes
Customer
 
Posts: 13
Joined: 17 Aug 2017, 09:51

 

by Trevorhawes 18 Aug 2017, 11:51

Hi ! Small problem?

All installed quickly, and set up easily on our custom site. ...
Here is the simple minimal test page we use:

http://dev4.etestify.com/temp/chat.php?userid=3901 for one user

and

http://dev4.etestify.com/temp/chat.php?userid=76850 for another user.

The integration.php is set up similar to wordpress - anyone can see anyone.

1. But we still get 'No one is available to chat.'
2. In the chatrooms, we find that no messages come through unless you refresh the page each time.

Help please :)?
Thank you guys rock.
User avatar
bato3
Free
 
Posts: 5
Joined: 06 Oct 2016, 16:41

 

by bato3 14 Sep 2017, 03:00

Probably you have problem with get_user_id.
Open your integration.php, and in function get_user_id() before all returns add
Code: Select all
header('x-debug-u:' .$userid)

And then in console, network tab check is this have right value