1

我正在使用 PHP Outlook Web Access:通过 OWA API 访问 Microsoft Exchange Web 服务,其唯一目的是访问用户的日历约会。对所有用户来说一切正常,但对于一个特定用户,它显示错误为:

Message: Use of undefined constant _DEBUG_ - assumed '_DEBUG_'

Filename: classes/connection.php

Line Number: 51

There was a problem parsing your XML!

New http() object instantiated.

--------------------------------
fetch() called

url: https://exchange.icimod.org/Exchange/spandey/calendar/

getFromUrl() called
Authentication will be attempted

XML request will be sent

HTTP/1.1 302 Object Moved
Content-Length: 179
Content-Type: text/html
Location: https://exchange-1.icimod.org/Exchange/spandey/calendar/
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Tue, 08 Oct 2013 05:12:21 GMT
Connection: close


    Object Moved

This document may be found here
New xml() object instantiated.

fetch() called.

XML error: Invalid document end at line 2

         Select * 
                FROM Scope('SHALLOW TRAVERSAL OF "/Exchange/spandey/calendar/"')
                WHERE NOT "urn:schemas:calendar:instancetype" = 1
                AND "DAV:contentclass" = 'urn:content-classes:appointment'

                ORDER BY "urn:schemas:calendar:dtstart" ASC

在这里的链接中给出了outlook express的链接。为什么会这样?是配置问题还是我做错了什么?

欢迎任何帮助/建议。在此先感谢。

4

1 回答 1

0

伙计们发现了问题区域,问题是用户存储在 2 个单独的交换帐户中,我只使用一个而不使用另一个。

于 2013-10-09T10:39:40.727 回答