Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentednope, no ideas at all.
can you get access to the php error message?
Comment #2
jacobpov CreditAttribution: jacobpov commented"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
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedhave you updated to the latest code?
Comment #4
jacobpov CreditAttribution: jacobpov commentedYes using the latest one
Comment #5
jacobpov CreditAttribution: jacobpov commentedTested on different severs always the same thing , I have no idea how other got this to work :(.
Comment #6
blackclover CreditAttribution: blackclover commentedIf 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.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedoh! thanks blackclover, that sounds like something i can reproduce, so it should be fixable.
Comment #8
blackclover CreditAttribution: blackclover commentedYour 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
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedok, 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!
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedalso, i created #1783218: Make the chatroom field available in rules to add rules support.
Comment #11
blackclover CreditAttribution: blackclover commentedNice job beejeebus!
Fixed the issue for me. Really appreciate your quick response.
Cheers