[OpenID] cant find xml parser?

Jonathan Daugherty cygnus at janrain.com
Fri Feb 23 19:28:34 UTC 2007

# any thoughts?

My thoughts are still the same:

# > These are probably because you've included the library code in a
# > function.  (The fix is to require/include files at file scope.)

So somewhere, you probably have

class Work {
    function doIt() {
        require_once "Auth/OpenID/Consumer.php";

And the fix is to move the require_once (or require, include,
include_once) to file scope, i.e., outside of the method or function.

  Jonathan Daugherty
  JanRain, Inc.
  irc.freenode.net: cygnus in #openid

More information about the general mailing list