« Return to Thread: Patch egw 1.4

Re: Patch pour CASification - Was: Re: Patch egw 1.4.004 AVEC : mode client et vérification du certificat SSL

by jdef :: Rate this Message:

Reply to Author | View in Thread

J'ai tenté cette modification. Pour ma part, j'ai toujours les messages s'erreurs suivants qui s'affichent à l'écran. A savoir :

Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in C:\xampp\htdocs\egroupware\CAS\CAS\client.php on line 506

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\egroupware\CAS\CAS\client.php:506) in C:\xampp\htdocs\egroupware\CAS\CAS\client.php on line 517

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\egroupware\CAS\CAS\client.php:506) in C:\xampp\htdocs\egroupware\CAS\CAS\client.php on line 522

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in C:\xampp\htdocs\egroupware\phpgwapi\inc\class.egw_session.inc.php on line 510

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\egroupware\CAS\CAS\client.php:506) in C:\xampp\htdocs\egroupware\phpgwapi\inc\class.egw.inc.php on line 426

J'ai en conséquences créé un topic propre à la version 1.6 d'EGW, de manière à ce qu'il n'y ait pas de confusion avec ce topic. Et sur lequel je détaille mon problème.

http://www.nabble.com/Probl%C3%A8me-de-connexion-eGroupWare-1.6-%2B-CAS-td21452189s3741.html

Merci d'avance pour toute info qui pourrait me faire avancer :)

Julien




Olivier Berger wrote:
coai wrote:
Bonjour
J'ai trouvé pourquoi le ticket n'était pas enregistré dans les infos de session! si dans login.php on remplace :
    $GLOBALS['sessionid'] = $GLOBALS['egw']->session->create($login,$password,'text','u');
par:
    $GLOBALS['sessionid'] = $GLOBALS['egw']->session->create($login,$password,'text');

cela marche.(beaucoup de changements concernant les sessions dans le changelog..)

C'est pareil pour vous?
Pour info, j'ai saisi un bug dans le bugtracker egw à ce sujet.

http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=1891

Je vous laisse compléter.

 « Return to Thread: Patch egw 1.4