From: Matt I. <mi...@cb...> - 2006-03-30 14:58:32
|
nevermind... turning off the debugging fixed the problem. Matt. Matt Ingram wrote: > After some modifications to get change_sqlpass to work, when I try to > change a users password I get this: > > *Warning*: Cannot modify header information - headers already sent by > (output started at > /srv/www/htdocs/squirrelmail-1.4.6/plugins/change_sqlpass/functions.php:619) > in > */srv/www/htdocs/squirrelmail-1.4.6/plugins/compatibility/includes/1.4.6/global.php* > on line *88* > > *Warning*: Cannot modify header information - headers already sent by > (output started at > /srv/www/htdocs/squirrelmail-1.4.6/plugins/change_sqlpass/functions.php:619) > in > */srv/www/htdocs/squirrelmail-1.4.6/plugins/change_sqlpass/functions.php* > on line *943 > > *And then I'm forced to log out, with an Incorrect username or > password message. When I log back in the password is still the > original one, and hasn't been changed. > > I'm using change_sqlpass ver 3.3. and Compatibility 2.0.4. > > Any ideas ? > > > here;s the config.php for change_sqlpass > > $lookup_password_query = 'SELECT count(*) FROM user WHERE username = > "%1" AND password = %4'; > $password_update_queries = array( > 'UPDATE user SET password = %4 WHERE username = "%1"', > ); > $force_change_password_check_query = ''; > $password_encryption = 'PHPCRYPT'; > $csp_salt_query = 'SELECT LEFT(password, 2) FROM user WHERE username > = "%1"'; > $csp_secure_port = 443; > $csp_non_standard_http_port = 0; > $min_password_length = 6; > $max_password_length = 0; > $include_digit_in_password = 0; > $include_uppercase_letter_in_password = 0; > $include_lowercase_letter_in_password = 0; > $include_nonalphanumeric_in_password = 0; > $csp_delimiter = '.'; > > $csp_debug = 1; > -- Matt Ingram Intermediate Unix Administrator, IS Canadian Bank Note Company, Limited \m/ |