Page 1 of 1

Problem with get_user_id function

PostPosted: 16 Mar 2013, 09:49
by FMedaj
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.

PostPosted: 18 Mar 2013, 05:35
by amir7146
This is consistent with Datalife Engine CMS?

My problem is the user's login

PostPosted: 21 Mar 2013, 16:03
by FMedaj
The problem is solved.

PostPosted: 30 Apr 2013, 16:20
by Martinspire
What was the solution? Similar problem with MyBB at my site

PostPosted: 12 Jul 2013, 21:20
by Faraz227
Hey dude..i have the same problem as u..plz help me..

PostPosted: 25 Jul 2013, 09:39
by fumagally
Hi Faraz227 and Martinspire ... try insert
Code: Select all
session_start();
in includes/integration.php

PostPosted: 30 Oct 2013, 11:32
by GKelly360
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

Topic Closed

PostPosted: 16 Dec 2014, 00:26
by Staff Bot
[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]