Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter spooky_jack

    (@spooky_jack)

    Hello again,

    I checked the newer version and it now returns some results. However, those were only for one of the rooms and they are 15 (they were supposed to be that many), so there is no pagination shown, if it was meant to be shown that is.
    $listOfMeetings and $meetingIDs looked normal, so I went to BigBlueButton::getRecordingsArray that didn’t work for me.

    I assigned various values to $pagesize to see if there was any difference and there was. My problem is that although there is a cron job that deletes recordings older than 3 months, there are values remaining in bigbluebutton and bigbluebutton_logs, so I have to go beyond the first 100 results to see more meetings. I’ll manually clear some old entries anyway to get results earlier. So, at a glance, it seems to work.

    My question is how the paginated results and the pagination itself are supposed to work, since I seem to be getting the correct results with the right entry, but I can’t toggle between the pages.

    Btw:
    1. You have declared $listOfRecordings twice (not that it makes any difference)
    2. The delete function works for me (no test-install though)

    Thread Starter spooky_jack

    (@spooky_jack)

    My $sql query at the bigbluebutton_list_recordings function is this:
    SELECT DISTINCT meetingID FROM wp_bigbluebutton_logs WHERE recorded = 1 AND ( meetingID=” ) ORDER BY timestamp;

    Thread Starter spooky_jack

    (@spooky_jack)

    Unfortunately I’m getting a “There are no recordings available.” message. Didn’t get the chance yet to look more into it, though.

    Thread Starter spooky_jack

    (@spooky_jack)

    Thanks for your time!

    Thread Starter spooky_jack

    (@spooky_jack)

    Hello again,

    I printed the $meetingID passed as a parameter at the getRecordingsURL. I copied it and then I assigned to the $meetingID subsets of the meeting ids of the original value to find which of the meeting ids had the problem. For each subset though, I saw the expected error-free output. Could it just be that there are too many recordings to show? They are 211 right now. For up to 185 meetings it shows the recordings table. For up to 187 it starts breaking somehow and it show a message that there are no recordings and after that it gives me the error (obviously I made various changes to the order of the meeting ids to make sure that it wasn’t the 186th or the 188th that caused the problem).

    Thread Starter spooky_jack

    (@spooky_jack)

    1. getRecordings returns success and a correct xml file underneath with all the recordings seemingly in a similar state
    2. Changing the configuration to use test-install generates the same error
    3. Moving the entire plugin from the working website to the problematic one still generates the same error
    4. Log files contain errors such as those:
    [error] 25231#0: *74365 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in /…/bigbluebutton/php/bbb_api.php:46
    Stack trace:
    #0 /…/bigbluebutton/php/bbb_api.php(46): SimpleXMLElement->__construct(‘<html>??<head><…’)
    #1 /…/bigbluebutton/php/bbb_api.php(426): bbb_wrap_simplexml_load_file(‘https://…&#8217;)
    #2 /…/bigbluebutton/bigbluebutton-plugin.php(1274): BigBlueButton::getRecordingsArray(‘6853b8bc0c30fee…’, ‘https://…&#8217;, ’46dac3c025efbbf…’)
    #3 /…/bigbluebutton/bigbluebutton-plugin.php(749): bigbluebutton_list_recordings(‘List of Recordi…’)
    #4 [internal function]: bigbluebutton_general_options(”)
    #5 /…/wp-includes/plugin.php(524): call_user_func_array(‘bigbluebutton_g…’, Array)
    #6 /…” while reading response header from upstream, client: ***.***.***.***, server: *****.***, request: “GET /wp-admin/options-general.php?page=bigbluebutton_general HTTP/1.1”, upstream: “fastcgi://unix:/***/php5-fpm.sock:”, host: “www.*****.***”

    [error] 1240#0: *1077925 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in /…/bigbluebutton/php/bbb_api.php:46
    Stack trace:
    #0 /…/bigbluebutton/php/bbb_api.php(46): SimpleXMLElement->__construct(‘<html>??<head><…’)
    #1 /…/bigbluebutton/php/bbb_api.php(426): bbb_wrap_simplexml_load_file(‘https://…&#8217;)
    #2 /…/bigbluebutton/bigbluebutton-plugin.php(1249): BigBlueButton::getRecordingsArray(‘6853b8bc0c30fee…’, ‘https://…&#8217;, ’46dac3c025efbbf…’)
    #3 /…/bigbluebutton/bigbluebutton-plugin.php(379): bigbluebutton_list_recordings(NULL)
    #4 [internal function]: bigbluebutton_recordings_shortcode(”, ”, ‘bigbluebutton_r…’)
    #5 /…/wp-includes/shortcodes.php(326): call_user_func(‘bigbluebutton_r…’, ”, ”, ‘bigbluebutton” while reading response header from upstream, client: ***.***.***.***, server: *****.***, request: “GET /…/recordings/ HTTP/1.1”, upstream: “fastcgi://unix:/…/php5-fpm.sock:”, host: “www.*****.***”, referrer: “https://www.*****.***/wp-admin/post.php?post=***&action=edit&#8221;

    Thread Starter spooky_jack

    (@spooky_jack)

    Hello,

    I checked bbb-record –debug but I couldn’t find anything. I also checked the recordings with dates prior to the appearance of the error at the api-mate, but I didn’t see anything weird. All of them seem published and with similar information. Is there a way to get more information on the error to help me understand where to look?

    Thread Starter spooky_jack

    (@spooky_jack)

    I have my own server and BBB v1.0. I don’t think it is a communication error because I see every other information on the back end except for the recordings. It could be a broken recording. I’ll check and inform you.

    Thread Starter spooky_jack

    (@spooky_jack)

    Thank you, that answered my question

    Thread Starter spooky_jack

    (@spooky_jack)

    Hi again,

    I spoke too soon. The first person connected again through the plugin on Chrome to the same room as me and we both saw an empty room (we were both on the same room). We immediately after connected to our demo (without the plugin) and we could see each other normally there. The other person then resetted his Chrome settings and it worked like a charm. It seems that the problem is a combination of the settings Windows 10 gives to Chrome and this plugin…

    Thread Starter spooky_jack

    (@spooky_jack)

    Hello,

    One of the 2 people that reported this problem had already reinstalled Chrome, before posting here (his Chrome version was 52.0.2743.116 and he reinstalled the same version) and had this resolved. The second’s Chrome (52.0.2743.82) was updated automatically over the last few days to version 52.0.2743.116 and the problem seems solved now. So, until I run into this problem again for further testing, I won’t know what could have caused it.

    Thread Starter spooky_jack

    (@spooky_jack)

    Thanks for the response

    Thread Starter spooky_jack

    (@spooky_jack)

    Sorry for taking so long to reply, but I didn’t have time to deal with this problem ’till now.
    I found what was causing my issue: I was using the various pages created by this plugin as subpages of others, for example the “edit-schedule” page’s path would be https://www.mywebsite.com/randompage/edit-schedule. So, at the “special pages” section at wp-admin at the “Edit schedule(by teacher) page” field I entered “randompage/edit-schedule”.
    I changed it to just “edit-schedule” and it now works fine.

    Thread Starter spooky_jack

    (@spooky_jack)

    Ok, after struggling for a day, I figured it out
    On modules/file.php there’s this code:
    $htaccess_file = trailingslashit( $dir ) . '.htaccess';
    if ( file_exists( $htaccess_file ) )
    return;

    if ( $handle = @fopen( $htaccess_file, 'w' ) ) {
    fwrite( $handle, "Deny from all\n");
    fclose( $handle );
    }
    I had commented it, but, the .htaccess file was already created the first time I used the form as was originally. So, by deleting the .htaccess file, everything worked as required ??

Viewing 14 replies - 16 through 29 (of 29 total)