Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51161

zend XMLRPC client shows deprecation notices in PHP 5.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.8.7, 2.9
    • None
    • MOODLE_28_STABLE, MOODLE_29_STABLE

      ( ! ) Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in /private/srv/www/loganberry.local/data/sm/moodle/lib/zend/Zend/XmlRpc/Client.php on line 260
      

      http://php.net/manual/en/iconv.configuration.php

      Seen when viewing admin/registration. The library is used by the webservices client:

      webservice/xmlrpc/lib.php:class webservice_xmlrpc_client extends Zend_XmlRpc_Client {
      webservice/xmlrpc/locallib.php:        $client = new Zend_XmlRpc_Client($serverurl);
       
      2059 sm:MDL-33365-master-2> gg webservice_xmlrpc_client
      admin/registration/forms.php:        $xmlrpcclient = new webservice_xmlrpc_client($serverurl, 'publichubdirectory');
      admin/registration/index.php:            $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $hub->token);
      admin/registration/index.php:        $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $hub->token);
      admin/registration/lib.php:                $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $hub->token);
      admin/registration/register.php:    $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $registeredhub->token);
      blocks/community/communitycourse.php:    $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $token);
      blocks/community/forms.php:        $xmlrpcclient = new webservice_xmlrpc_client($serverurl, 'publichubdirectory');
      course/publish/forms.php:            $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $registeredhub->token);
      course/publish/index.php:            $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $hub->token);
      course/publish/index.php:            $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $registeredhub->token);
      course/publish/metadata.php:    $xmlrpcclient = new webservice_xmlrpc_client($serverurl, $registeredhub->token);
      lib/upgrade.txt:* \webservice_xmlrpc_client now respects proxy server settings. If your XMLRPC server is available on your local network and not via your proxy server, you may need to add it to the list of proxy
      webservice/xmlrpc/lib.php:class webservice_xmlrpc_client extends Zend_XmlRpc_Client {
      

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.