Whenever I try to test my first connection I get this error message:

The connection could not be established correctly. The server response was: No response.

I also get at the Watchdog the message "

stdClass Object ( ) 

"

I tried both last dev version and beta1 and I cannot connect to my server at http://faberludens.no-ip.org/ (it will be probably offline when you read this, but it is just to emphasize that BBB is in a different server than the drupal website).

I tried all kind of combinations for the url, with slashes, without slashes, with ports, without, everything!

When I go to the http://faberludens.no-ip.org/bigbluebutton/api/ I get an XML saying that the connection succeded. I also can do it through Moodle and the Chrome extension.

My drupal version is 6.25.

How can I fix this? It seems simple but I don't have a clue. I tried checking the code at pages.bbb.inc line 113 where the XML is loaded and it seems that everything is perfect...

Comments

amstel’s picture

I found the problem. In line 113 of pages.bbb.inc there was a @ that prevented PHP to return erros on loading the API xml file.

$xml = simplexml_load_file($request);

After removing it, I saw this problem in the drupal watchdog:

URL file-access is disabled in the server configuration

Then it was easy to find the solution: changing in PHP.ini to:

allow_url_fopen = On

Maybe this module could warn users about this possibility and also return the erros at the watchdog would be much better to debug it at different server conditions such as mine.

Jeryn’s picture

Hi Amstel,

I recently had BB added into Drupal and am currently having the same issue as you. However, I can't seem to find the items you changed to resolve the issue. I found the Pages.bbb.inc but could not find the $xml = simplexml_load_file($request); line that you mentioned.

I then started looking for the PHP.ini files, but I cant seem to find that files all together. Is there something I'm missing? Where should that file be located at?

EDIT: This might be the issue. Just realized you were using drupal 6 and I'm on Drupal 7. I'm also using the BBB module version 7.x-1.x.

EDIT 2: Was able to mess around with the URL and security salt and was able to get a successfully test the connection by editing the URL a bit and entering the correct salt.

"The connection has been established succesfully. Please save your settings now."

Now however, when I go to the link http://URL/bigbluebutton it gives me a

"This page is no longer available, please use the api."

if I use the http://URL/bigbluebutton/api I get:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<response>
<returncode>SUCCESS</returncode>
<version>0.8</version>
</response>

Any help with this would be great, not to sure where to go from here.

Thanks,
Jeryn

amstel’s picture

Jeryen, did you changed your settings in php.ini? This has nothing to do with Drupal and if you use a shared server it is possible that you can't actually edit it. Look at your server documentation.

If you got the connection established message, it means that everything is ok and you are now able to edit one of your content-types and add the BBB functionality. Did you already tried this?

The messages you are getting from BBB are pretty normal.

sanduhrs’s picture

Issue summary: View changes
Status: Active » Closed (outdated)