使用PHP Outlook Web Access时出错:通过OWA API访问Microsoft Exchange Web服务
我使用的是PHP Outlook Web Access:通过OWA API访问Microsoft Exchange Web服务的唯一目的是访问用户的日历约会。所有用户都可以正常工作,但对于某个特定用户,错误显示为:使用PHP Outlook Web Access时出错:通过OWA API访问Microsoft Exchange Web服务,php,outlook,Php,Outlook,我使用的是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
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的链接。为什么会这样?是配置问题还是我做错了什么
欢迎提供任何帮助/建议。提前感谢。伙计们发现了问题区域,问题是用户存储在两个单独的exchange帐户中,我只使用其中一个,而不使用另一个。Hi@sammy我正在尝试集成PHP Outlook web access,但出现440登录超时错误。您是否有仅用于验证用户身份的示例代码??请让我知道