So I mostly had that:
phpCAS::client(CAS_VERSION_2_0,'cas-stg.byu.edu/cas/login',443,'');
but what I needed to do was change it to this:
phpCAS::client(CAS_VERSION_2_0,'cas-stg.byu.edu ',443,'cas');

You really pointed me in the right direction.
THANKS!

Sherwin Harris
Brigham Young University
Office of Information Technology
IT Engineer
Sherwin at byu dot edu
-----Original Message-----
From: Guss, Erik [mailto:[EMAIL PROTECTED]
Sent: Monday, April 07, 2008 2:04 PM
To: Sherwin M. Harris
Subject: RE: phpCAS error

 Hi,
In the phpCAS examples, this code:
// initialize phpCAS
phpCAS::client(CAS_VERSION_2_0,'sso-cas.univ-rennes1.fr',443,'');


for yours try:

// initialize phpCAS
phpCAS::client(CAS_VERSION_2_0,'cas-stg.byu.edu',443,'cas');


I had the same problem.

Erik Guss MSU-Bozeman


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Sherwin M. Harris
Sent: Monday, April 07, 2008 12:14 PM
To: [email protected]
Subject: phpCAS error

We are trying to use the phpCAS client to authenticate against our cas
installation. The error we get is:

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML
<http://localhost/cas/function.DOMDocument-loadXML> ]: Empty string
supplied as input in C:\apache2.2\htdocs\cas\CAS\domxml-php4-php5.php on
line 43

And the bottom of the page says

phpCAS 0.5.1-1 using server https://cas-stg.byu.edu/cas/login:443/ (CAS
2.0)

which leads me to believe that the client code is putting the port
number even though it is 443 and shouldn't be added.

Ideas?

Sherwin Harris
Brigham Young University
Office of Information Technology
IT Engineer
sherwin at byu dot edu





_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to