Vahn84 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Fatal error: Cannot access protected property XMPPHP_XMPP::$use_encryption #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
    $conn = new XMPPHP_XMPP($server, $port, $user, $pass, 'sitelogin', $domain, $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO);

    try
    {
        $conn->use_encryption = false; //disabled when live
        $conn->connect();
        $conn->processUntil('session_start');
        $conn->disconnect();
        die('logged in');
    }
    catch(XMPPHP_Exception $e)
    {
        die('Bad username or password');
    }

Fatal error: Cannot access protected property XMPPHP_XMPP::$use_encryption

Original issue reported on code.google.com by ghg4q...@srasg.com on 19 Jun 2010 at 4:22

GoogleCodeExporter commented 9 years ago
use
$conn->useEncryption(False)

Original comment by Dmitriy....@gmail.com on 27 Sep 2010 at 3:58