From: Bernward T. <ber...@ku...> - 2004-01-12 08:18:24
|
Hallo, this was a standard problem discussed here in the past. There are slight different solutions, but the first I think was that of Andrew Walker. I use it, too. Change the top of the file includes/cookie.inc.php: // Modified by Andrew Walker (ajw...@ho...) # $time = mktime()+$g_cookietimeout; # $date = date("l, d-M-y H:i:s", ($time)); $date = time()+$g_cookietimeout; I hope it helps Bernward Tewes Kath. Universitaet Eichstaett-Ingolstadt > Hi all, > I just installed the lastest verion of phphelpdesk. Deleted the old DB > and imported the new just incase structure has changed. I'm on a Redhat 7.3 > system running ensinm 3.5.20 newly installed. PHP is the lastest version > and MySQL I think. Install location is var/www/ss/helpdesk Aliased as > /helpdesk/ in my virtual directory path. The last version was working just > fine. Helpdesk connects to the database and displays jobs but due to a > cookie issue i can't navigate. Attempts to navigate returns me to login > screen even when I'm showed as logged in. Here are the messages I receive. > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/virtual/site1/fst/var/www/ss/helpdesk/includes/cookie.inc.php on line > 8 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/virtual/site1/fst/var/www/ss/helpdesk/includes/cookie.inc.php on line > 9 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/virtual/site1/fst/var/www/ss/helpdesk/includes/cookie.inc.php on line > 10 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/virtual/site1/fst/var/www/ss/helpdesk/includes/cookie.inc.php on line > 11 > > Warning: setcookie() expects parameter 3 to be long, string given in > /home/virtual/site1/fst/var/www/ss/helpdesk/includes/cookie.inc.php on line > 12 > > > Clicking on any link returns me to the login screen with these errors and > shows me no longer logged in. Any ideas what I need to do to correct this. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Phphelpdesk-help mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phphelpdesk-help ********************************************** Dr. Bernward Tewes Kath. Universitaet Eichstaett-Ingolstadt Universitaetsrechenzentrum Tel. 08421/931667 Fax 08421/932745 ********************************************** |