Hi, > I?m using phpCAS in a CI app, it forwards to CAS as expected, I enter the > credentials and it forwards back to phpCAS and gives me this: > > exception 'Exception' with message 'Class CAS_Request_CurlRequest was not > present in /var/www/ciapp/libraries/CAS/CAS/Request/CurlRequest.php > [CAS_autoload]' in /var/www/ciapp/libraries/CAS/CAS/Autoload.php:47 Stack > trace: > (...) > I can verify that I have ?/CAS/CAS/Request/CurlRequest.php which contains > class CAS_Request_CurlRequest
I believe this error is caused by PHP not being able to load CAS_Request_AbstractRequest or CAS_Request_RequestInterface, which are needed by CAS_Request_CurlRequest. You are not seeing this error earlier because CAS_Client is a standalone class. CAS_autoload is trying to guess the $include_path value if not set, but it's only used to include the main .php file, not its dependencies. You should try to add "." to the global PHP include_path or at least set it in your CI app. Cheers, Borys -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
