django-chatrooms
django-chatrooms copied to clipboard
get_messages and get_users_list generating errors not loading
Hi,
Have been trying to install the chatrooms app. Have followed the instructions for installation via PIP. However the http://127.0.0.1:8000/chat/room/testroom1/ page is not loading correctly, no connected users, and the main html div id=chatText displays a balnk grey backround... My server is generating the following errors
[19/Jul/2016 15:49:43] "GET /chat/room/testroom1/ HTTP/1.1" 200 1271 [19/Jul/2016 15:49:43] "GET /static/js/jquery_csrf_ajax.js HTTP/1.1" 304 0 [19/Jul/2016 15:49:43] "GET /static/js/room.js HTTP/1.1" 304 0 [19/Jul/2016 15:49:43] "GET /static/css/room.css HTTP/1.1" 304 0 [19/Jul/2016 15:49:44] "GET /chat/get_latest_msg_id/?room_id=1 HTTP/1.1" 200 10 [19/Jul/2016 15:49:44] "POST /chat/notify_users_list/ HTTP/1.1" 200 9 _
[19/Jul/2016 15:49:44] "GET /chat/get_users_list/?=1468943384225&room_id=1 HTTP/1.1" 500 13775 [19/Jul/2016 15:49:44] "GET /chat/get_messages/?=1468943384219&room_id=1&latest_message_id=-1 HTTP/1.1" 500 14102
Also the message objects are created when a message is sent via the browser .. So from the context of the admin site, all works fine.. Chat rooms can be created. Messages sent via the browser between users are created and populated to http://127.0.0.1:8000/admin/chatrooms/message/...
any suggestions would be a great help thks in advance paddy