From: Paul Y. <yue...@ps...> - 2005-07-01 23:31:57
|
Hello, I am using an older version of of the PHP Helpdesk that our previous webmaster installed and when I moved it to a new server Firefox was working absolutely fine but IE kept on dropping me back to the Login Page after I had logged in. I checked the forums and found that other people were having the same problem...however, it was working fine on the previous box and it looks like the cookie and logout files were updated. if anyone could offer any help i would greatly appreciate it. I've included the contents of phpinfo on both servers and the cookie, logout and general config pages, thanks Paul php info on my old server where PHP Helpdesk is working http://psychnet.psych.ucla.edu/info.php php info on my new(XAMPP) server where PHP Helpdesk is NOT working http://newpsychnet.psych.ucla.edu/info.php cookie.inc.php <?php // Modified by Andrew Walker (ajw...@ho...) // modified by Brent from code submitted to CVS on sourceforge $date = time()+$g_cookietimeout; if (isset($authentication)) { setcookie("status", $status, $date); setcookie("user", $user, $date); setcookie("group", $group, $date); setcookie("authentication", $authentication, $date); setcookie("laston", $laston, $time); } else { setcookie("status", "Logged In", $date); setcookie("user", $txtUsername, $date); setcookie("group", $row[4], $date); setcookie("authentication", "YES", $date); setcookie("laston", $row[6], $date); } ?> logout.inc.php <?php //Logout script created by Seek3r setcookie("status", "",time()+$g_cookietimeout); setcookie("user", "", time()+$g_cookietimeout); setcookie("group", "", time()+$g_cookietimeout); setcookie("authentication", "",time()+$g_cookietimeout); setcookie("laston", "", time()+$g_cookietimeout); unset($status); unset($user); unset($authentication); unset($laston); unset($logout); ?> <?php //general configuration $version = " "; //Version Number $g_title = "UCLA Psych Helpdesk"; //Title of your helpdesk $g_helpdesk_email = "sol...@ps..."; //Email of your helpdesk $g_mailservername = "protos.lifesci.ucla.edu"; //Mail server $g_domainmailfrom = ""; //Unless you need this program to send out //mail and make it look as if its coming from //another server, then leave this empty. $g_language = "english"; //choose from languages in the /languages/ directory. //You would put whatever goes before .lang.php. //So for the swedish.lang.php file, you would just type //in swedish between the quotes. //Currently Included: // brazilianportuguese, dutch, english, french, // german, italian, norwegian, spanish, and // swedish is almost finished $g_refreshtime = "1200"; //View Jobs refresh rate in seconds $g_cookietimeout = "28800"; //Timout for cookies $g_enable_javascript = 1; //1 = enable, 0 = don't enable $g_dept_or_comp = 0; //This depends on what you are using phphelpdesk for. //0 = department. This would be used if you have // multiple departments that you would like to track // helpdesk tickets for. //1 = company. This would be used if you had multiple // companies that you wanted to track trouble tickets for. /* If you are using http://someaddress.com/phphelpdesk, then you must set the base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the end you must put that in there. If you are using a virtual host such as http://phphelpdesk.somecompany.com, then you can just leave it empty with the quotes touching ""; */ $g_base_url = "http://newpsychnet.psych.ucla.edu/helpdesk"; //base url location // you HAVE to set your domain name here, with no HTTP: // or / at the end or anything... $g_domain = "newpsychnet.psych.ucla.edu"; // this is the path from the last part of the $g_base_url // parameter. If there is no path, set this to "/"; NOTICE // THE BEGINNING AND ENDING /'s!! $g_base_path = "/"; /* If you plan on using the reporting features, then you should probably change these to the correct hours (in 24 hour time) for your businesses start and stop times */ $g_bus_start_hour = "08"; // This would mean 8AM. If you want it at 1 o'clock // then you would change this to 13. $g_bus_stop_hour = "17"; // This would mean 5PM. $g_include_saturdays = "0";// Does your business operate on Saturdays? $g_include_sundays = "0"; // Does your business operate on Sundays? $debug = 0; // SQL Debugging Info 1=on, 0=off ?> + + + + + + + + + + + + + + + + + + + + + p a u l y u e r g e n s w e b m a s t e r U C L A P s y c h o l o g y yue...@ps... |