Help
Ask questions about how to do or fix things in Arrowchat
User avatar
FMedaj
Customer
 
Posts: 2
Joined: 10 Mar 2013, 07:53

 

by FMedaj 16 Mar 2013, 09:49

Hi,

I've installed Arrowchat on a custom website, it's ok, connection with database is ok too and arrowchat appears on a "test page" but I'm having some problems with the get_user_id function.

I tried with session and cookie with no success. I checked that cookie or session are created (of course it was) and I don't know why arrowchat ignore them. Now I don't have idea anymore... A "print session" show the session on the "test page" and arrowchat still says that I need to login... Please, I need some help quickly.
User avatar
amir7146
Free
 
Posts: 2
Joined: 18 Mar 2013, 02:41

 

by amir7146 18 Mar 2013, 05:35

This is consistent with Datalife Engine CMS?

My problem is the user's login
User avatar
FMedaj
Customer
 
Posts: 2
Joined: 10 Mar 2013, 07:53

 

by FMedaj 21 Mar 2013, 16:03

The problem is solved.
User avatar
Martinspire
Customer
 
Posts: 13
Joined: 15 Jul 2012, 02:14

 

by Martinspire 30 Apr 2013, 16:20

What was the solution? Similar problem with MyBB at my site
User avatar
Faraz227
Free
 
Posts: 1
Joined: 12 Jul 2013, 21:17

 

by Faraz227 12 Jul 2013, 21:20

Hey dude..i have the same problem as u..plz help me..
User avatar
fumagally
Free
 
Posts: 1
Joined: 24 Jul 2013, 15:32

 

by fumagally 25 Jul 2013, 09:39

Hi Faraz227 and Martinspire ... try insert
Code: Select all
session_start();
in includes/integration.php
User avatar
GKelly360
Customer
 
Posts: 3
Joined: 30 Oct 2013, 05:42

 

by GKelly360 30 Oct 2013, 11:32

I have spent several hours troubleshooting as I am having the same problem getting arrow chat to recognize my Users.

I have read http://www.arrowchat.com/documentation/ ... om-website to integrate to my website and no matter what I do, I cannot get it to recognize my users.

Am I supposed to copy and paste this code, am I supposed to add to it? I have tried all 3 codes with no results.

function get_user_id()
{
$userid = NULL;

if (!empty($_SESSION['userid']))
{
$userid = $_SESSION['userid'];
}

return $userid;
}


I have looked at the response above my post and have inserted session_start(); in every area of my includes/integration.php and still no luck

I would appreciate any help with this matter as it was because of this feature I purchased this program

Thank you
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]