I installed the chatroom-7.x-2.0-alpha1
after added chatroom field to neccesary content type.
When i try to open node with chatroom field white screen page appear.

conditions: i use win hosting and clear URLs are switched off.

have you got any ideas where it is neccesary to fix the issue?

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

nope, no ideas at all.

can you get access to the php error message?

jacobpov’s picture

"PHP message: PHP Fatal error: Call to a member function get() on a non-object in /var/www/sites/all/modules/chatroom/chatroom.module on line 295"

This is what I get + blank page

Anonymous’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.x-dev

have you updated to the latest code?

jacobpov’s picture

Yes using the latest one

jacobpov’s picture

Tested on different severs always the same thing , I have no idea how other got this to work :(.

blackclover’s picture

If you have existing nodes with data and add the chat room field to that content type after the nodes where created you will need to go in and edit them before you can view them. Once I went into each node in edit mode, edited the chat room field and saved the node I was able to view it without getting the white screen.
Hope this helps.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

oh! thanks blackclover, that sounds like something i can reproduce, so it should be fixable.

blackclover’s picture

Your welcome beejeebus. I actually create the nodes and set the data fields with rules. Unfortunately I cannot access chatroom type fields in rules. Do you have any plans on making the chatroom field available in rules so we can use the set data action on them.
Great work!
Cheers

Anonymous’s picture

Status: Active » Fixed

ok, committed a fix here:

http://drupalcode.org/project/chatroom.git/commit/fb368a3

blackclover - can you check that commit fixes your issue? if it does, i'll roll a 7.x-2.1. thanks!

Anonymous’s picture

also, i created #1783218: Make the chatroom field available in rules to add rules support.

blackclover’s picture

Nice job beejeebus!
Fixed the issue for me. Really appreciate your quick response.
Cheers

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.