Hi,

I have the Parachat module functioning correctly, and when I enter the member chat as user1, there are no problems at all. But when I try to enter as any other user, I get an authentication error (Error U825.). The permissions seem to be set correctly.

Thank you,
Elizabeth

Comments

gonzalez_ea’s picture

Title: User authentication error for all users but user1 » Error in parachat_auth_page
Priority: Normal » Critical

As it turns out, there was an error in the authentication routine. When I modify line 66 of the function parachat_auth_page()

from

$uid = substr($input, 0, 1);

to

$uid = substr($input, 0, strpos($input, '-'));

I no longer get an authentication error.

It's a good thing I tested the chat room with my user 58 before I went live!

mmilano’s picture

Status: Active » Fixed
mmilano’s picture

Status: Fixed » Closed (fixed)