Coder Social home page Coder Social logo

Comments (8)

nvanheuverzwijn avatar nvanheuverzwijn commented on August 10, 2024

If you are working locally, shouldn't webmail.forest.wokingham.sch.uk be localhost ?

from php-ews.

arjunnaha avatar arjunnaha commented on August 10, 2024

I don't have a local Exchange server, so I'm using my companies.

from php-ews.

Garethp avatar Garethp commented on August 10, 2024

Have you got PHP Errors turned on? If so, is there an actual exception that you get?

from php-ews.

arjunnaha avatar arjunnaha commented on August 10, 2024

Yes, I've got this in my code
error_reporting(-1);
But I still get the same empty response error message from Chrome.

from php-ews.

Garethp avatar Garethp commented on August 10, 2024

What about ini_set('display_errors', 1);?

from php-ews.

arjunnaha avatar arjunnaha commented on August 10, 2024

Still doesn't seem to be working with error_reporting(-1); and/or ini_set('display_errors', 1);.

from php-ews.

nvanheuverzwijn avatar nvanheuverzwijn commented on August 10, 2024

If you are using a webserver to execute your request, you might want to check the logs for any error like in /etc/apache/error.log, assuming you are on Linux and using apache.
To test these kind of script, what you really want to do is a simple php script with the code you need, run it in command line like php myscript.php and see what happens.

Most likely, your exchange server might not even have the API enabled. The error you seem to have does not seem to be a PHP error but looks like a socket error like your server does not route on the internet.

from php-ews.

Garethp avatar Garethp commented on August 10, 2024

Unfortunately, as mentioned, this does look like a web server error as opposed to an error with my library. Without an exception or PHP error message, it's not something I can help with

from php-ews.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.