Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 1.9
-
Component/s: Authentication
-
Labels:None
-
Environment:HideRHE 5.0
php-pear-1.4.9-4
php-cli-5.1.6-15.el5
php-mysql-5.1.6-15.el5
php-common-5.1.6-15.el5
php-ldap-5.1.6-15.el5
php-pdo-5.1.6-15.el5
php-imap-5.1.6-15.el5
php-gd-5.1.6-15.el5
php-odbc-5.1.6-15.el5
php-pgsql-5.1.6-15.el5
php-mbstring-5.1.6-15.el5
php-devel-5.1.6-15.el5
php-xmlrpc-5.1.6-15.el5
php-5.1.6-15.el5
php-xml-5.1.6-15.el5
php-mysql-5.1.6-15.el5
libdbi-dbd-mysql-0.8.1a-1.2.2
mod_auth_mysql-3.0.0-3.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-5.0.22-2.2.el5_1.1
mysql-5.0.22-2.2.el5_1.1
mysql-bench-5.0.22-2.2.el5_1.1
mysql-devel-5.0.22-2.2.el5_1.1
httpd-2.2.3-11.el5_1.3
ShowRHE 5.0 php-pear-1.4.9-4 php-cli-5.1.6-15.el5 php-mysql-5.1.6-15.el5 php-common-5.1.6-15.el5 php-ldap-5.1.6-15.el5 php-pdo-5.1.6-15.el5 php-imap-5.1.6-15.el5 php-gd-5.1.6-15.el5 php-odbc-5.1.6-15.el5 php-pgsql-5.1.6-15.el5 php-mbstring-5.1.6-15.el5 php-devel-5.1.6-15.el5 php-xmlrpc-5.1.6-15.el5 php-5.1.6-15.el5 php-xml-5.1.6-15.el5 php-mysql-5.1.6-15.el5 libdbi-dbd-mysql-0.8.1a-1.2.2 mod_auth_mysql-3.0.0-3.1 mysqlclient10-3.23.58-4.RHEL4.1 mysql-server-5.0.22-2.2.el5_1.1 mysql-5.0.22-2.2.el5_1.1 mysql-bench-5.0.22-2.2.el5_1.1 mysql-devel-5.0.22-2.2.el5_1.1 httpd-2.2.3-11.el5_1.3
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
Upgraded from 1.9 Beta 1 to 1.9 Beta 4. Upgrade went smoothly.
Upon completion of upgrade logged out. Logged in again as user, and then logout:
One second login after upgrade:
"A server error that affects your login session was detected. Please login again or restart your browser."
Resolutions Attempted:
Changed system to database sessions - Same Error
Removed sessions directory - Same Error after a login
Chowned ownership of <data directory> to apache, and permissions to 777 - Same Error
Restarted browser - Tried on IE, Firefox, Opera - Same Error
Roamed the forums, and found that this was an issue in 1.7, but none of their solutions worked. I have since rolled back to a backup, but have the broken instance at my disposal if you have any questions.
Here are the apache log files from when the errors were being displayed:
[Wed Feb 27 11:07:19 2008] [error] [client 70.66.16.35] PHP Warning: Wrong parameter count for session_set_cookie_params() in /data/public/ADMIN_Moodle/lib/setup.php on line 520, referer: http://portal.itas.ca/login/index.php
[Wed Feb 27 11:07:19 2008] [error] [client 70.66.16.35] PHP Warning: setcookie() expects at most 6 parameters, 7 given in /data/public/ADMIN_Moodle/lib/moodlelib.php on line 7754, referer: http://portal.itas.ca/login/index.php