Hm.
Well, I just reinstalled everything. Completely fresh start. Newest versions of everything. Same problem - a user changes their password, expiration date gets set to 0000-00-00 00:00:00.
Anyone out there have the same problem???
Frontend Users - can't modify user expiration date
Re: Frontend Users - can't modify user expiration date
Last edited by pgoneill on Thu Jun 01, 2006 7:10 pm, edited 1 time in total.
Re: Frontend Users - can't modify user expiration date
OK I've made some form of progress.
Instead of going on localhost, I've installed the modules and a test page on our live server. When I go to change the password on the live server, it spits out:
"Incorrect datetime value: ''2016-06-01 00:00:00'' for column 'expires' at row 1"
Only thing is there's no form control for that...I'm guessing this is somehow related to the expiration date being reset.
Why, on the user's change settings page would it care if there were a correct "datetime value for column 'expires' at row 1"?
Instead of going on localhost, I've installed the modules and a test page on our live server. When I go to change the password on the live server, it spits out:
"Incorrect datetime value: ''2016-06-01 00:00:00'' for column 'expires' at row 1"
Only thing is there's no form control for that...I'm guessing this is somehow related to the expiration date being reset.
Why, on the user's change settings page would it care if there were a correct "datetime value for column 'expires' at row 1"?
Last edited by pgoneill on Thu Jun 01, 2006 9:08 pm, edited 1 time in total.
Re: Frontend Users - can't modify user expiration date
No one?
Oh, well. I just hope I don't get fired.
Oh, well. I just hope I don't get fired.

-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Frontend Users - can't modify user expiration date
I made a one line change in feusers last night, that should solve the problem. Essentially, you take the last parameter out of the call to SetUser(...) in the _DoChangeUserSettings function.
it's checked into svn and will be available with the next release of feusers for the 0.14 series.
it's checked into svn and will be available with the next release of feusers for the 0.14 series.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Frontend Users - can't modify user expiration date
Thanks for the effort. 
edit: found the function...

edit: found the function...
Last edited by pgoneill on Fri Jun 02, 2006 3:07 pm, edited 1 time in total.
Re: Frontend Users - can't modify user expiration date
Huzzah, it works! 
FYI, in the interim, for anyone else experiencing the same problem I detailed above open your FrontEndUsers.module.php, and remove the highlighted from line 2193:
$result = $this->SetUser( $uid, $uinfo['username'], $password, $uinfo['expires'] );
Big thanks to calguy, as always.

FYI, in the interim, for anyone else experiencing the same problem I detailed above open your FrontEndUsers.module.php, and remove the highlighted from line 2193:
$result = $this->SetUser( $uid, $uinfo['username'], $password, $uinfo['expires'] );
Big thanks to calguy, as always.