我正在使用 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的链接。为什么会这样?是配置问题还是我做错了什么?
欢迎任何帮助/建议。在此先感谢。