phpBB3.1 Integration causing empty users and broken chat

276 views
Skip to first unread message

Geoff

unread,
Apr 24, 2016, 8:28:07 PM4/24/16
to AJAX-chat
Hi,

I just installed this chat fresh and it works standalone, but when I use the phpBB3.1 integration files, my chat stops working and the users are empty (I'm logged in of course).

I also can't logout and there's no console errors.


Any help would be great!

Thanks.

Frug

unread,
Apr 24, 2016, 8:54:15 PM4/24/16
to AJAX-chat
That's a strange one. Usually if you can get standalone working, integration also just works.

Not being able to log out is also one I haven't heard before. If you know how to use your browser's inspector, you can open it up and see the requests it makes every few seconds, and what responses you're getting. Also check the php error logs on your server for clues.

Geoff

unread,
Apr 24, 2016, 8:58:02 PM4/24/16
to AJAX-chat
Interesting, looks like the "lastID" isn't changing from 0 and It says the POST is successful, but doesn't write to the DB.

Frug

unread,
Apr 25, 2016, 2:26:50 PM4/25/16
to AJAX-chat
lastID probably starts at 0 and won't change until it actually gets some posts to display. The question is what is it responding with. 

If you can see the requests that appear every 5 seconds in the inspector, click on the response tab for one of them and see what's in it: 

Is it blank? an error? Is the response status code 200 or 500?

Paul Anderson

unread,
Apr 25, 2016, 11:07:28 PM4/25/16
to ajax...@googlegroups.com
I also have the same problem  PHPBB (3.1.9)  PHP 5.6.20 on Solydx (Debian)

The 8.8.8 PHPBB3.1 version does not start a session -BUT-
if you install _additionally_ a standalone version, anywhere nearby,
 and give it access in lib/config.php (host,username,password,tablename) to the PHPBB database

final edit
Short version:
 I found the problem
 all fixed now,
 no worries.

...cheers


Geoff

unread,
May 19, 2016, 10:37:22 PM5/19/16
to AJAX-chat
What was the problem and fix?

Geoff

unread,
Jun 1, 2016, 6:19:23 AM6/1/16
to AJAX-chat
How did you solve it? Thanks.


On Tuesday, April 26, 2016 at 1:07:28 PM UTC+10, Paul Anderson wrote:

Monolith_681

unread,
Jun 12, 2016, 3:00:30 PM6/12/16
to AJAX-chat
I am facing the same issue on the webspace i service.

Most of the time the chat is not working. It shows a blank user list and a blank message box. Everything else seems to work.
No errors in developer view.

phpBB 3.1.9
AJAX-Chat 0.8.8 phpBB 3 Integration Version

The standalone version is working so far, but this is not an option since the users of the forum need to be able to use the chat without additional logins.
So phpBB Userbase Integration is essential.

Thanks

Geoff

unread,
Jun 24, 2016, 9:07:18 PM6/24/16
to AJAX-chat
Hey Frug,

Here's the headers:
  1. HTTP/1.1 200 OK Date: Sat, 25 Jun 2016 01:06:08 GMT Server: Apache Pragma: no-cache Cache-Control: no-cache, must-revalidate Expires: Mon, 26 Jul 1997 05:00:00 GMT Vary: Accept,Accept-Encoding Set-Cookie: ajax_chat_lang=en; expires=Sun, 25-Jun-2017 01:06:08 GMT; Max-Age=31536000; path=/ Content-Encoding: gzip Content-Length: 6342 Keep-Alive: timeout=2, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
No console errors. No network errors.

Thanks!

Shane Wilson

unread,
Jun 25, 2016, 10:40:00 PM6/25/16
to AJAX-chat
I too am having the same problem(s) as noted above, installing the stand-alone in a separate directory works just fine, installing the integration anywhere just sits with a blank user-list and message/chat area and log out doesn't work.

Chat: 0.8.8 PHPBB 3.1.x
Forum: PHPBB 3.1.9


Looking at the inspector, everything seems to be working as should, no errors (status code 200).

Harald

unread,
Jun 29, 2016, 3:55:32 PM6/29/16
to AJAX-chat

I have the same Error too


Chat: 0.8.8 PHPBB 3.1.x
Forum: PHPBB 3.1.9

blank user-list and chat area

rich moore

unread,
Aug 13, 2016, 10:29:02 AM8/13/16
to AJAX-chat
Please help the rest of us...

Paul Anderson

unread,
Aug 22, 2016, 4:30:27 AM8/22/16
to rich moore, AJAX-chat
Hi Rich


I got it to work somewhat but it is still a bit dodgy:

install the normal version as usual,

maybe like this: /var/www/phpbb/chat

Install the standalone version somewhere nearby

maybe like this: /var/www/chat


you will need to fudge some files like config.php,
the standalone needs to know the database info

No database connection in the integrated version
and make sure the link to click on is the standalone version

The integrated version keeps the system aligned with PHPBB
but it is the standalone version that actually does the heavy lifting

It needs to popup to really work well.

I am running the newest ajaxchat-3.0.20 on version PHPBB 3.1.9
it lacks private rooms but it works well for a front end chat

I am running both chats at the same time, so users
can still have private chatrooms

I put the link in the ProSilver dialogue somewhere.


hope this helps - it is a real head breaker

cheers
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AJAX-chat" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ajax-chat/8yOag9jO2JQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ajax-chat+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

rich moore

unread,
Aug 27, 2016, 10:58:45 AM8/27/16
to AJAX-chat, rwh...@gmail.com
Thanks, Paul. This kind of works. The problem is that I still can't login from the standalone version with my user from the forum. If I'm logged into the forum, it goes into the standalone chat fine. The integrated chat is still blank.

Paul Anderson

unread,
Sep 7, 2016, 8:52:22 AM9/7/16
to rich moore, AJAX-chat
Hi Rich,

it depends on which Forum you are in when you login,
you really need the popup to keep it going.

It seems that the current session is being reset occasionally (random)
by the actual PHPBB session - it is very confusing how that works,
and I suspect that is why it is so hard to upgrade it for 3.1

wish I could add good news but nothing from this end
cheers
>> > ajax-chat+...@googlegroups.com <javascript:>.
Reply all
Reply to author
Forward
0 new messages