Gabe, I would recommend first put up the simple example app from the wiki, just to verify you have the php library installed correctly (and are talking to CAS with the right parameters). Just copy paste the example into a new testwhatever.php file (rather than trying to add the sample code to an existing file... which is what I think you said below), then edit it to point to your cas server. Then load the file with a browser and you'll see 'success' if it worked. If not, 1) post config section of the example with you config in it and 2) post the path to CAS.php and the CAS library folder that you installed on your server. Then it will be easier to advise.
Once you are able to verify phpcas is operational, you are ready to tackle your app. KC On May 14, 2010, at 2:42 AM, Gabi Teris wrote: > I am struggling to casify a php application (dokeos), and followed the mini > instalation guide (that told me to unpack the distribution). Then I followed > an example that told me how to initialize cas in php, but it didn't work (the > page doesn't show anymore). > Did anyone tried to casify dokeos before? Or just any other php application, > I am a Java developer and I don't know quite all php ways > -- > 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 -- 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
