Session has expired error
Posted: Fri Dec 01, 2006 10:46 pm
Script URL: http://www2.midland.edu/projects (behind a firewall)
Version of script: 0.93 (patch 0.93.1)
Hosting company: Midland College
URL of phpinfo.php: behind firewall
URL of session_test.php: behind firewall
What terms did you try when SEARCHING for a solution: session has expired
I was receiving the message "Your session has expired, please login using the form below" when trying to login to the admin page. I've gotten it to work after following several of the suggestions in this forum. I thought it might help if I posted my system info and the steps I followed, just in case someone has a similar system.
OS: Fedora Core Release 5
Mysql: standard-5.0.19-linux-i686
PHP: php-5.1.2
Apache: httpd-2.2.0
1. I installed phpinfo.php and installed and ran the session test scripts, no errors.
2. In admin.php changed
to
(this was from Klemen's post at:
viewtopic.php?t=624&postdays=0&postorder=asc&start=45
No change, still received error.
3. From viewtopic.php?t=303&start=30
Open file "common.inc.php" inside the "inc" folder, find line 261:
change it to (add another line):
No change, still received error.
4. From dirko's post at:
viewtopic.php?t=303&start=30
changed line 62 in admin.php from:
to
This worked.
I changed items 2 and 3 back to their original code and it still works.
Thanks, looking forward to using the script!
Version of script: 0.93 (patch 0.93.1)
Hosting company: Midland College
URL of phpinfo.php: behind firewall
URL of session_test.php: behind firewall
What terms did you try when SEARCHING for a solution: session has expired
I was receiving the message "Your session has expired, please login using the form below" when trying to login to the admin page. I've gotten it to work after following several of the suggestions in this forum. I thought it might help if I posted my system info and the steps I followed, just in case someone has a similar system.
OS: Fedora Core Release 5
Mysql: standard-5.0.19-linux-i686
PHP: php-5.1.2
Apache: httpd-2.2.0
1. I installed phpinfo.php and installed and ran the session test scripts, no errors.
2. In admin.php changed
Code: Select all
session_regenerate_id();
Code: Select all
// session_regenerate_id();
viewtopic.php?t=624&postdays=0&postorder=asc&start=45
No change, still received error.
3. From viewtopic.php?t=303&start=30
Open file "common.inc.php" inside the "inc" folder, find line 261:
Code: Select all
function hesk_session_start() {
Code: Select all
function hesk_session_start() {
session_name('help_desk_funcis');
4. From dirko's post at:
viewtopic.php?t=303&start=30
changed line 62 in admin.php from:
Code: Select all
$_SESSION=hesk_dbFetchAssoc($result);
Code: Select all
$_SESSION+=hesk_dbFetchAssoc($result);
I changed items 2 and 3 back to their original code and it still works.
Thanks, looking forward to using the script!