Hi,

There is an error that occurs when you attempt to attend a meeting that has not been started. If I create a meeting node. Then I try to attend it I get this error; however, if I open up the meeting as the moderator and then enter as an attendee it works. I think that you are missing a check to see if there is a meeting started and/or you should allow the person in to a meeting that the moderator has not entered.

Notice: Undefined property: stdClass::$attendeePW in bbb_meeting_attend() (line 656 of /var/www/sites/all/modules/bbb/bbb.module).

CommentFileSizeAuthor
#1 empty_meeting_error-1470624-1.patch456 bytesChipie

Comments

Chipie’s picture

Assigned: Unassigned » Chipie
Status: Active » Needs review
StatusFileSize
new456 bytes

Please test this patch.

earwax’s picture

Thanks! I also get this error on an empty meeting. I did not know what it meant until you clarified it.

niccolox’s picture

applied the patch now getting

<response>
<returncode>
FAILED
</returncode>
<messageKey>
invalidMeetingIdentifier
</messageKey>
<message>
The meeting ID that you supplied did not match any existing meetings
</message>
</response>
niccolox’s picture

actually, now this one

<response>
<returncode>FAILED</returncode>
<messageKey>invalidPassword</messageKey>
<message>
You either did not supply a password or the password supplied is neither the attendee or moderator password for this conference.
</message>
</response>

I am guessing I have some kind of BBB / Drupal config gray zone issue

Chipie’s picture

Are you using an old meeting? Please try to create a new meeting.

niccolox’s picture

within Drupal 7 I create a new meeting

message is "meeting is not started"

click through to Attend Meeting

get same error...

should I be doing something on BBB ? i.e. starting a meeting ? should I un-install the BBB demo ?

niccolox’s picture

just did a clean install of Drupal 7 Standard with a git clone and applied patch above

should I be doing something with passwords?

URL is below

/bigbluebutton/api/join?fullName=admin&meetingID=797510697109655482891006852888571775766906674741207511712250765251116805468871108770821189981563&password=&checksum=cee9ac7e7875f1f05232f03c6eeb9d35604778d7

niccolox’s picture

this is the URL format from a demo, its different to the URL constructed above

/bigbluebutton/api/join?meetingID=bbb%27s+meeting&fullName=bbb&password=mp&checksum=b6642fc53f44c95ec8878f7b1911cc17a18110c3

kdborg@gmail.com’s picture

With Drupal 7 and bbb-7.x-1.x-dev, I get these errors after creating a meeting and also while viewing a meeting content type:

Notice: Undefined property: stdClass::$meetingid in bbb_get_meeting() (line 542 of /home/kbrown/d7/sites/all/modules/bbb/bbb.module).
Notice: Undefined property: stdClass::$meetingid in bbb_get_meeting() (line 547 of /home/kbrown/d7/sites/all/modules/bbb/bbb.module).
Notice: Undefined property: stdClass::$attendeepw in bbb_get_meeting() (line 548 of /home/kbrown/d7/sites/all/modules/bbb/bbb.module).
Notice: Undefined property: stdClass::$meetingid in bbb_get_meeting() (line 554 of /home/kbrown/d7/sites/all/modules/bbb/bbb.module).
Notice: Undefined property: stdClass::$moderatorpw in bbb_get_meeting() (line 555 of /home/kbrown/d7/sites/all/modules/bbb/bbb.module).

Just to test, I created a 'Meeting' content type, then created a 'Meeting'.

eme’s picture

This post is a duplicate from #1561584: UPDATE NEEDED: Get Undefined Property Notices when I click on test connection : both tickets should be merged.

@niccolo : URL is correctly formatted. The order does not matter since these are GET parameters.

What I found fist is that with the last dev version, password are not saved any more when not defined.

In bbb_store_meeting, both passwords are empty at the beginning. If you do

unset($params['attendeePW']);
unset($params['moderatorPW']);

at the beginning, then they are stored again...

But even with that hack, it does not work and we have a password error although the password parameter is good (I checked).

eme’s picture

Tracking down the issue, it seems to come from bbb_api_create (in api.bbb.inc) : it should return informations but it does not (even though it seems to be successfull as meeting ID is correctly created).

So the first time, no return, and then error because the ID exists and the module is trying to create it again.

Not much of a help : should be debugged the BBB side now :(

anpolimus’s picture

As you cans see, you have wrong meetingID value

The reason is that on 709 line of bbb.module used "$meeting->meeteinid" unstead of "$meeting->meetingID"

valdo’s picture

I had the same issue and posted a patch here: http://drupal.org/node/1561584#comment-6766798

As eme says, this looks like a duplicate of #1561584: UPDATE NEEDED: Get Undefined Property Notices when I click on test connection

valdo’s picture

The patch has been commited, so this issue can be probably closed.

Status: Needs review » Needs work

The last submitted patch, empty_meeting_error-1470624-1.patch, failed testing.

scottm316’s picture

Status: Needs work » Closed (duplicate)

Yes this is a duplicate of http://drupal.org/node/1561584 and the code to correct this problem has been added to the module.