伙计们,我在一个新服务器上工作,起初,它看起来一切都很好。eJabberd webadmin 运行正常,我什至可以通过该界面创建用户。
情况是,通常在我以前的服务器上运行的同一应用程序在等待会话开始时冻结,代码:
$this->lnk->processUntil('session_start');
工作正常,$this->lnk->connect();
但似乎无法设置会话。关于我应该先去哪里或什么地方看的任何建议?
确认:
- XMPP 应用程序的设置方式与旧服务器中的设置方式相同。
这是整个代码:
$this->lnk = new XMPPHP_XMPP($this->config['host'],
$this->config['port'],
$this->config['username'],
$this->config['password'],
$this->config['service'],
$this->config['domain'],
$printlog = false,
$loglevel = XMPPHP_Log::LEVEL_VERBOSE);
$this->lnk->useEncryption(true);
$this->lnk->connect();
$this->lnk->processUntil('session_start');