From: Corley K. <Cor...@ut...> - 2002-06-03 01:17:21
|
I just installed PHP 4.2.0 It seems there is a change in the setcookie function of PHP. To fix phphelpdesk to call the setcookie method correctly, just change the following: make a file called cookie.inc.diff in helpdesk/includes containing: 5c5,6 < $date = date("l, d-M-y H:i:s", ($time)); --- > #$date = date("l, d-M-y H:i:s", ($time)); > $date = $time; then apply the patch in that directory like so: patch -p0 < cookie.inc.diff cookie.inc.php I think this is probably needed for PHP >= 4.0.x Corley. -- Time keeps turning round, It knows little of its past, Stay upon your path. +----------------\ | Corley Kinnane, | Systems Administrator, | Faculty Of Science, | University Of Technology, | Sydney. Phone: x1742, (02) 9514 1742 | Homepage: http://orac.tripod.com/ 8^) +--------------------------------/ UTS CRICOS Provider Code: 00099F DISCLAIMER ======================================================================== This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. ======================================================================== |