Openmeetings
  1. Openmeetings
  2. OPENMEETINGS-190

Problem with language when invoking OM from Moodle module

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: Moodle-Plugin
    • Labels:
      None
    • Environment:
      Openmeetings_1_9_1_r4707, Moodle 2.2

      Description

      When entering openmeetings room from Moodle module, language used in OM room is always english. Changing language in OM module settings does not change anything.
      Even changing function from view.php from:

      $iframe_d = "http://".$CFG->openmeetings_red5host . ":" . $CFG->openmeetings_red5port .
      "/".$CFG->openmeetings_webappname."/?" .
      "secureHash=" . $returnVal .
      "&scopeRoomId=" . $scope_room_id .
      //"&swf=maindebug.swf8.swf" .
      "&language=" . $openmeetings->language .
      "&picture=" . $USER->picture .
      "&user_id=". $USER->id .
      "&moodleRoom=1" .
      "&wwwroot=". $CFG->wwwroot;

      to:

      $iframe_d = "http://".$CFG->openmeetings_red5host . ":" . $CFG->openmeetings_red5port .
      "/".$CFG->openmeetings_webappname."/?" .
      "secureHash=" . $returnVal .
      "&scopeRoomId=" . $scope_room_id .
      //"&swf=maindebug.swf8.swf" .
      "&language=" . '25' . //HERE IS 25 AS NUMBER FOR POLISH LANGUAGE
      "&picture=" . $USER->picture .
      "&user_id=". $USER->id .
      "&moodleRoom=1" .
      "&wwwroot=". $CFG->wwwroot;

      ..does not affect anything.

        Activity

        Hide
        SebastianWagner added a comment -

        Please try it out with the latest nightly build of Openmeetings from
        https://builds.apache.org/job/openmeetings/

        Show
        SebastianWagner added a comment - Please try it out with the latest nightly build of Openmeetings from https://builds.apache.org/job/openmeetings/
        Hide
        Lukasz added a comment -

        Thank You Sebastian for Your response.

        I maded completely new install of todays OM build. Alone, the aplication works fine, but now I cannot enter room from Moodle 1,9 and from Moodle 2.2.

        In moodle 1.9 there is such a error message:

        #START Moodle 1.9#
        Error

        HTTP Error: cURL ERROR: 28: connect() timed out!
        url: http://e-learning2.pwsz.krosno.pl:8080/openmeetings/services/UserService.UserServiceHttpSoap11Endpoint/
        content_type:
        http_code: 0
        header_size: 0
        request_size: 0
        filetime: -1
        ssl_verify_result: 0
        redirect_count: 0
        total_time: 30.119742
        namelookup_time: 0.011202
        connect_time: 0
        pretransfer_time: 0
        size_upload: 0
        size_download: 0
        speed_download: 0
        speed_upload: 0
        download_content_length: -1
        upload_content_length: -1
        starttransfer_time: 0
        redirect_time: 0
        certinfo: Array

        Could not login User to OpenMeetings, check your OpenMeetings Module Configuration
        #END Moodle 1.9#

        In Moodle 2.2 there is such a error message:

        #START Moodle 2.2#
        Error

        wsdl error: Getting http://e-learning2.pwsz.krosno.pl:5080/OpenMeetings PWSZ Krosno/services/UserService?wsdl - HTTP ERROR: Unsupported HTTP response status 505 HTTP Version Not Supported (soapclient->response has contents of the response)

        Could not login User to OpenMeetings, check your OpenMeetings Module Configuration
        #END Moodle 2.2#

        I double and triple checked IP address and password entered in Moodle modules. Of course I created user with "SOAP admin" privileges in OM server.

        Regards

        Show
        Lukasz added a comment - Thank You Sebastian for Your response. I maded completely new install of todays OM build. Alone, the aplication works fine, but now I cannot enter room from Moodle 1,9 and from Moodle 2.2. In moodle 1.9 there is such a error message: #START Moodle 1.9# Error HTTP Error: cURL ERROR: 28: connect() timed out! url: http://e-learning2.pwsz.krosno.pl:8080/openmeetings/services/UserService.UserServiceHttpSoap11Endpoint/ content_type: http_code: 0 header_size: 0 request_size: 0 filetime: -1 ssl_verify_result: 0 redirect_count: 0 total_time: 30.119742 namelookup_time: 0.011202 connect_time: 0 pretransfer_time: 0 size_upload: 0 size_download: 0 speed_download: 0 speed_upload: 0 download_content_length: -1 upload_content_length: -1 starttransfer_time: 0 redirect_time: 0 certinfo: Array Could not login User to OpenMeetings, check your OpenMeetings Module Configuration #END Moodle 1.9# In Moodle 2.2 there is such a error message: #START Moodle 2.2# Error wsdl error: Getting http://e-learning2.pwsz.krosno.pl:5080/OpenMeetings PWSZ Krosno/services/UserService?wsdl - HTTP ERROR: Unsupported HTTP response status 505 HTTP Version Not Supported (soapclient->response has contents of the response) Could not login User to OpenMeetings, check your OpenMeetings Module Configuration #END Moodle 2.2# I double and triple checked IP address and password entered in Moodle modules. Of course I created user with "SOAP admin" privileges in OM server. Regards
        Hide
        SebastianWagner added a comment -

        I have been successfully testing latest OpenMeetings NIghtly Build with latest Moodle 2.2++

        But you should download a copy from the latest Moodle Plugin from our SVN and use that.
        http://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/moodle_plugin/

        Show
        SebastianWagner added a comment - I have been successfully testing latest OpenMeetings NIghtly Build with latest Moodle 2.2++ But you should download a copy from the latest Moodle Plugin from our SVN and use that. http://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/moodle_plugin/
        Hide
        Lukasz added a comment -

        Problem is solved with latest moodle plugin version.
        Thank You, regards

        Show
        Lukasz added a comment - Problem is solved with latest moodle plugin version. Thank You, regards
        Hide
        Maxim Solodovnik added a comment -

        Closing all old 'Resolved' issues

        Show
        Maxim Solodovnik added a comment - Closing all old 'Resolved' issues

          People

          • Assignee:
            Maxim Solodovnik
            Reporter:
            Lukasz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development