1

目前我正在使用 Drupal 7 和 Moodle2.3 集成,但出现错误“错误:尝试获取用户索引时出现问题!”

https://github.com/cannod/moodle-drupalservices/blob/a2c607368d7f2087e575c006425eb2da39bf02cb/README.md

== 编辑(作者添加的评论)==

我有机会查看该文件,因此它调用了 auth.php。

$drupal_users = $apiObj->Index('muser');
if (is_null($drupal_users) || empty($drupal_users)) { 
    die("ERROR: Problems trying to get index of users!\n");

并且,REST-API.php 文件中的函数调用索引...

$callerId = 'RemoteAPI->Index'; 
if (!$this->VerifyLoggedIn( $callerId )) { 
    return NULL; // error 
} 
$url = $this->gateway.$this->endpoint.'/'.$resourceType . $options;
4

1 回答 1

0

我也有类似的情况。我正在尝试使用 drupal 服务,但直到现在我无法成功设置它。我也想在这里问一个问题,但我注意到最近开发人员更新了他在 Github 上的 wiki 页面。因此,您可以在那里观看它的进展情况,也许您可​​以找到解决问题的方法。希望能帮助到你..

于 2012-10-26T08:42:57.657 回答