Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3289

Adobeconnect module's 'test meeting' stops at '"successfully created meeting testmeetingtest scoid: xxxxx" in PHP 5.1.6. (Solution provided)



    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.15
    • Fix Version/s: 1.9.16
    • Component/s: Module: Adobeconnect
    • Labels:
    • Environment:
      PHP 5.1.6.
    • Database:
    • Affected Branches:
    • Fixed Branches:


      Description of the issue
      Going to Site Administration|Modules|Activities|Adobe Connect and clicking 'Test Connection' in a production environment (no debugging on) stops after creating the 'testmeetingtest' meeting, but never gets any further and at a glance, you might not realise that not all the tests completed (see attachment 1. ac-testconnection-nodebugging.png). This results in a 'testmeetingtest' meeting on the Adobe Connect server (which will need to be manually deleted - otherwise the 'test connection' will fail the next time as it tries to create a duplicate testmeetingtest meeting on the server) and the remaining test tasks do not complete.

      If you delete 'testmeetingtest' manually and rerun the test connection script, you will see that there is a PHP error (see attachment 2. ac-testconnection-alldebugging.png).

      Expected Behaviour

      • Successfully complete 'test connection' (including creating AND deleting 'testmeetingtest' meeting on the server)

      To resolve the issue, delete 'testmeetingtest' from the Adobe Connect server (if it exists) and apply the patch from http://tracker.moodle.org/browse/CONTRIB-3288 (see attachment 3. success.png).

      This issue is caused by the same PHP 5.1.6 bug which caused the issue described in http://tracker.moodle.org/browse/CONTRIB-3288

      The answer lies here: https://bugs.php.net/bug.php?id=42082

      If a node list has no elements, $nodelist->length evaluates to int(0). If this is the case, in PHP 5.1.6, empty($nodelist->length) incorrectly evaluates to false, hence the !empty check failing....

      This won't be an issue for Moodle 2.x as the minimum required version of PHP for Moodle 2.X is PHP 5.1.6. according to http://docs.moodle.org/20/en/Installing_Moodle#Requirements

      Patch and github repo
      Please see http://tracker.moodle.org/browse/CONTRIB-3288 for a patch and link to a github repo


        1. 1. ac-testconnection-nodebugging.png
          32 kB
          Jennifer Edmondson
        2. 2. ac-testconnection-alldebugging.png
          31 kB
          Jennifer Edmondson
        3. 3. success.png
          37 kB
          Jennifer Edmondson

          Issue Links



              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created:
                  Fix Release Date: