Patch is for standard SquirrelMail 1.5.1 functions/global.php file. tomas@hermija:/some-path/sm151/functions$ zcat global.php.diff.gz | patch -p 0 patching file global.php tomas@hermija:/some-path/sm151/functions$ sqsetcookie function is available only in SquirrelMail 1.5.1 and later versions. Current 1.5.2cvs does not have issues with PHP 5.1.2+, but it is too unstable and I don't recommend upgrading to current 1.5.2cvs snapshot. setcookie function is not part of SquirrelMail. It is standard PHP function. If you don't use SquirrelMail 1.5.1, please show your PHP display_errors, error_reporting, session.save_handler, session.save_path, session.use_trans_sid, session.use_only_cookies and session.use_cookies settings. If you use custom SquirrelMail 1.5.1 version, show all changes made in SquirrelMail or contact your SquirrelMail packager. > Thanks very much for the quick reply. > > Your attached file contained a diff to the function sqsetcookie which > couldn't not be found in the version of squirrelmail I have. It probably > has been renamed to setcookie which has slightly different structure > compared to that in diff. > > Would it be a good thing to do if I downgrade php5 or squirrel mail (not > sure which, probably php i guess) to get the things working ? I would > really appreciate, if you could hint me at the versions of squirrel mail > and php that work without any problems. > > Thanks again. > > Kevin > > ----- Original Message ---- > From: Tomas Kuliavas <tokul@xxxxxxxxxxxxxxxxxxxxx> > To: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > Sent: Thursday, October 5, 2006 2:43:29 PM > Subject: Re: Login successful but, logsout immediately > >> I have successfully installed squirrelmail version 1.5.1 alongwith >> courier-imap-4.1.1, courier-authlib-0.58, php-5.1.6 on SuSE 10.1 with >> 2.6.18. >> >> I have configured postfix-2.3 to use TLS/SSL and have been able to >> telnet >> and authenticate successfully. >> >> When I use the squirrelmail web interface to login, from the logs I can >> see that login has been successful only to be logged out immediately. >> Squirrelmail web interface displays "You must be logged in to access >> this >> page. Go To The Login Page" !! > > SquirrelMail 1.5.1 has known issues in PHP 5.1.2+ and 4.4.2+. Custom > cookie handling code is broken due to changes in PHP header function. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users