Project

General

Profile

Bug #8097

Error on BBB

Added by Marcel Aniceto almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected - Abandoned
Priority:
Low
Assignee:
-
Category:
Plugins
Target version:
Start date:
19/02/2016
Due date:
% Done:

0%

Estimated time:
2.00 h
Complexity:
Challenging
SCRUM pts - complexity:
?

Description

Still getting the following errors on test mode:

( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and body in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1583 4480792 bbb->getMeetingInfo( ) ../bbb.lib.php:382
    4 0.1583 4481240 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1583 4482400 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1803 4483848 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): </p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body> in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1583 4480792 bbb->getMeetingInfo( ) ../bbb.lib.php:382
    4 0.1583 4481240 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1583 4482400 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1803 4483848 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): ^ in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1583 4480792 bbb->getMeetingInfo( ) ../bbb.lib.php:382
    4 0.1583 4481240 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1583 4482400 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1803 4483848 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and html in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1583 4480792 bbb->getMeetingInfo( ) ../bbb.lib.php:382
    4 0.1583 4481240 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1583 4482400 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1803 4483848 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag body line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1583 4480792 bbb->getMeetingInfo( ) ../bbb.lib.php:382
    4 0.1583 4481240 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1583 4482400 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1803 4483848 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag html line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1583 4480792 bbb->getMeetingInfo( ) ../bbb.lib.php:382
    4 0.1583 4481240 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1583 4482400 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1803 4483848 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and body in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1885 4482168 bbb->getMeetingInfo( ) ../bbb.lib.php:392
    4 0.1885 4482168 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1885 4482376 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1942 4483824 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): </p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body> in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1885 4482168 bbb->getMeetingInfo( ) ../bbb.lib.php:392
    4 0.1885 4482168 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1885 4482376 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1942 4483824 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): ^ in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1885 4482168 bbb->getMeetingInfo( ) ../bbb.lib.php:392
    4 0.1885 4482168 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1885 4482376 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1942 4483824 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and html in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1885 4482168 bbb->getMeetingInfo( ) ../bbb.lib.php:392
    4 0.1885 4482168 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1885 4482376 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1942 4483824 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag body line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1885 4482168 bbb->getMeetingInfo( ) ../bbb.lib.php:392
    4 0.1885 4482168 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1885 4482376 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1942 4483824 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag html line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.1885 4482168 bbb->getMeetingInfo( ) ../bbb.lib.php:392
    4 0.1885 4482168 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.1885 4482376 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.1942 4483824 __construct ( ) ../bbb_api.php:77
( ! ) Notice: Undefined index: returncode in /var/www/html/ead/plugin/bbb/lib/bbb.lib.php on line 400
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
( ! ) Notice: Undefined index: userId in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 216
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.1579 4476472 bbb->getCourseMeetings( ) ../listing.php:101
    3 0.2064 4487456 BigBlueButtonBN->getJoinMeetingURL( ) ../bbb.lib.php:610
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and body in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2075 4487600 bbb->getMeetingInfo( ) ../bbb.lib.php:705
    4 0.2075 4487600 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2075 4487752 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2130 4489200 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): </p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body> in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2075 4487600 bbb->getMeetingInfo( ) ../bbb.lib.php:705
    4 0.2075 4487600 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2075 4487752 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2130 4489200 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): ^ in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2075 4487600 bbb->getMeetingInfo( ) ../bbb.lib.php:705
    4 0.2075 4487600 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2075 4487752 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2130 4489200 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and html in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2075 4487600 bbb->getMeetingInfo( ) ../bbb.lib.php:705
    4 0.2075 4487600 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2075 4487752 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2130 4489200 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag body line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2075 4487600 bbb->getMeetingInfo( ) ../bbb.lib.php:705
    4 0.2075 4487600 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2075 4487752 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2130 4489200 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag html line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2075 4487600 bbb->getMeetingInfo( ) ../bbb.lib.php:705
    4 0.2075 4487600 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2075 4487752 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2130 4489200 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and body in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2203 4487568 bbb->getMeetingInfo( ) ../bbb.lib.php:715
    4 0.2203 4487568 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2204 4487776 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2288 4489224 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): </p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.52 (Ubuntu)</h3></body> in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2203 4487568 bbb->getMeetingInfo( ) ../bbb.lib.php:715
    4 0.2203 4487568 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2204 4487776 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2288 4489224 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): ^ in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2203 4487568 bbb->getMeetingInfo( ) ../bbb.lib.php:715
    4 0.2203 4487568 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2204 4487776 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2288 4489224 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Opening and ending tag mismatch: HR line 1 and html in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2203 4487568 bbb->getMeetingInfo( ) ../bbb.lib.php:715
    4 0.2203 4487568 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2204 4487776 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2288 4489224 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag body line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2203 4487568 bbb->getMeetingInfo( ) ../bbb.lib.php:715
    4 0.2203 4487568 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2204 4487776 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2288 4489224 __construct ( ) ../bbb_api.php:77
( ! ) Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Premature end of data in tag html line 1 in /var/www/html/ead/plugin/bbb/lib/bbb_api.php on line 77
Call Stack
  1. Time Memory Function Location
    1 0.0009 282704 {main}( ) ../listing.php:0
    2 0.2070 4483944 bbb->getUsersOnlineInCurrentRoom( ) ../listing.php:105
    3 0.2203 4487568 bbb->getMeetingInfo( ) ../bbb.lib.php:715
    4 0.2203 4487568 BigBlueButtonBN->getMeetingInfoWithXmlResponseArray( ) ../bbb.lib.php:353
    5 0.2204 4487776 BigBlueButtonBN->_processXmlResponse( ) ../bbb_api.php:381
    6 0.2288 4489224 __construct ( ) ../bbb_api.php:77

BBB had been updating recently and I maybe they changed some os its API.
But I don't have the Knowledge to fix it.

It was working 2 weeks ago, but now....

What happens: I have 2 servers,1 for chamilo and other for BBB, both Cloud VPS.

- BBB salt and IP set ok, but when on course, on the videoconference tool, I click on Enter de Videoconference, it shows that one room is now open, but I or none can't get in or close the room. The most I get is a blank page or a 500 error on chrome. On test mode it shows this warnings)

- The BBB acessed directly and its demos are working like a charm.

History

#1

Updated by Marcel Aniceto almost 4 years ago

Hi, digging more into the issue,

wordpress BBB plugin worked so it must be a chamilo issue.

As I researched, I saw that the error must be or the File encoding on XML or some error in Curl or yet some error in the plugin configuration page.

I solved it.
Chamilo is very very very delicate when it come to XML parsing.
I needed to remove the last bracket "/" after the IP/host of my server, as well as the bigbluebutton indicated on bbb-conf --salt.

I would suggest a review in the code, since its more than 9 months without a change, the documentation is poor and outdated to 1.8.
So please disregard as a bug an set this a suggestion to documentation and code review.

Best regards

#2

Updated by Yannick Warnier almost 4 years ago

  • Priority changed from High to Low

I could argue that the English, French and Spanish explanations below the field "BBB host" in the admin section very specifically indicates an example without a slash, but I'm sure we can do something about it.

Feel free to send a Pull Request on Github https://guides.github.com/activities/contributing-to-open-source/#contributing if you would like to speed this up.

#3

Updated by Yannick Warnier almost 4 years ago

  • Status changed from New to Rejected - Abandoned

Also available in: Atom PDF