Answering to myself. Tweaking the logging options in php.ini solved the problem:
display_errors = Off log_errors = stderr error_log = "/var/log/php-error_log" Ciao, Michael. Michael Ströder wrote: > HI! > > phpCAS 1.0.0 is running fine on openSUSE 11.0 with Apache. But it fails > on Apache2 default installation on Debian Linux Lenny. Note that I'm > using the very same PHP code at both sites. > > On Debian Linux the Apache returns the messages appended below within > the web page and it seems the PHP session is not properly authenticated > because the browser is sent to CAS next time hitting the page. > > Further examination shows that the session ID seems to be derived from > the CAS service ticket and therefore contains dots "." which seems not > to be allowed. The first message about illegal characters in the session > ID also turns up in the Apache error_log at the openSUSE-based > installation which might indicate a logical error. But the session > handling works there with all browsers. > > Any clue? > > Ciao, Michael. > > -------------------------------- snip -------------------------------- > Warning: session_start() [function.session-start]: The session id > contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' > in /var/www/castest2/CAS/client.php on line 521 > > Warning: session_start() [function.session-start]: Cannot send session > cookie - headers already sent by (output started at > /var/www/castest2/CAS/client.php:521) in > /var/www/castest2/CAS/client.php on line 521 > > Warning: session_start() [function.session-start]: Cannot send session > cache limiter - headers already sent (output started at > /var/www/castest2/CAS/client.php:521) in > /var/www/castest2/CAS/client.php on line 521 _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
