Yes, it's worked!!! Tqvm Robert for help me. =))
-Anwar
]]>It sounds like an issue with php and the empty() function - in older versions of php it has issues.
What you can do is go to line 1501 in the file at /var/www/html/mahara1610/auth/cas/CAS/CAS/Client.php
it should look like:
return !empty($SESSION->get('phpCAS/user'));
you can change this to:
$phpCASuser = $SESSION->get('phpCAS/user');
return !empty($phpCASuser);
And that should fix that problem.
You will also need to fix up lines 1530, 1554, 1569 as they will have the same problem.
So after this line (approx line 1527):
if ( $this->isProxy() ) {
Add this line
$phpCASpgt = $SESSION->get('phpCAS/pgt');
And change the places that have:
!empty($SESSION->get('phpCAS/pgt')
to be:
!empty($phpCASpgt);
Let me know if that all works for you
Cheers
Robert
]]>-Anwar
]]>