Php 远程服务器不喜欢whatsapi脚本行

Php 远程服务器不喜欢whatsapi脚本行,php,class,whatsapp,whatsapi,Php,Class,Whatsapp,Whatsapi,我刚刚在这个论坛上解决了一个whatsapi问题,现在又遇到了另一个问题 我通过调用whatsprot.class.php中的类来运行脚本。我可以在本地机器上运行所有脚本。但远程服务器不喜欢我脚本中的某一行,并且拒绝超出这一行 我的剧本是 require "src\whatsprot.class.php"; $username = "91xxxxxxxxxxx"; //Mobile Phone prefixed with country code so for india it will be

我刚刚在这个论坛上解决了一个whatsapi问题,现在又遇到了另一个问题

我通过调用whatsprot.class.php中的类来运行脚本。我可以在本地机器上运行所有脚本。但远程服务器不喜欢我脚本中的某一行,并且拒绝超出这一行

我的剧本是

require "src\whatsprot.class.php";

$username = "91xxxxxxxxxxx"; //Mobile Phone prefixed with country code so for india it will be 91xxxxxxxx
    $password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx";
$identity = strtolower(urlencode(sha1($username, true)));

$w = new WhatsProt($username, $identity, 'WhatsApp Messaging', true);
我的远程服务器没有跨越的界线是

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

我绝对是个业余爱好者。因此,请务必让我知道需要哪些其他信息才能揭开这个问题的神秘面纱……

最后,错误日志告诉我库中存在一些路径问题。当我将执行文件移动到“src”目录whatsprot.class.php所在的位置,瞧,脚本开始工作了

您可以添加服务器的错误消息吗?请显示您的错误消息抱歉,@seb,GottZ。。无法获取服务器的错误日志,因为服务器上所有我的域都存在一些cpanel问题,无法查看日志。。。或者任何关于cpanel的事情…:(