Whatsapi仅在远程服务器上抛出500服务器错误

时间:2015-11-20 13:03:58

标签: php internal-server-error whatsapi

我的代码是

include "src\whatsprot.class.php"; 
$username = "91xxxxxxxxxxxx"; //Mobile Phone prefixed with country code so for india it will be 91xxxxxxxx 
$password = "password";
$identity = strtolower(urlencode(sha1($username, true)));
$w = new WhatsProt($username, $identity, "WhatsApp Messaging", true);

但这部分代码

$w = new WhatsProt($username, $identity, "WhatsApp Messaging", true);

仅在远程服务器上给出以下错误

“网站在检索http://www.domain.com/WAPP/Chat-API-master/code.php时遇到错误。它可能因维护失败或配置不正确。”

此代码在我的本地计算机上运行完美。

可能出现什么问题?

0 个答案:

没有答案