List Info

Thread: User password change not working




User password change not working
user name
2006-10-31 13:38:11
Hello,

Forgive me if this is something simple, but I searched the
manual and
the mailing lists and couldn't  find anything. I want users
(e.g.
journalists, photographers) with only very basic permissions
(add
articles, images) to be able to change their own passwords.
When I log
in as one of these, I see the "Change your
password" link in the menu,
but clicking it just results in "You do not have the
right to change
user account permissions."

Is it supposed to be like this? "User may add/change
staff accounts
and passwords" is the only related permission that I
can find, but I
want them to be able to change only their own.

This is with Campsite 2.6.2 (and FreeBSD 6.1, Apache 2.2.3,
PHP 4.4.4,
MySQL 4.1.18). Same problem on the demo site. Any help would
be
appreciated.

-- 
Anders Jensen-Urstad
http://x.unix.se
User password change not working
user name
2006-10-31 13:38:11
Hello,

Forgive me if this is something simple, but I searched the
manual and
the mailing lists and couldn't  find anything. I want users
(e.g.
journalists, photographers) with only very basic permissions
(add
articles, images) to be able to change their own passwords.
When I log
in as one of these, I see the "Change your
password" link in the menu,
but clicking it just results in "You do not have the
right to change
user account permissions."

Is it supposed to be like this? "User may add/change
staff accounts
and passwords" is the only related permission that I
can find, but I
want them to be able to change only their own.

This is with Campsite 2.6.2 (and FreeBSD 6.1, Apache 2.2.3,
PHP 4.4.4,
MySQL 4.1.18). Same problem on the demo site. Any help would
be
appreciated.

-- 
Anders Jensen-Urstad
http://x.unix.se
User password change not working
user name
2006-11-02 12:02:25
Hi,

Please copy the attached file (info.php) to
/usr/local/campsite/www-common/html/priv/users
directory.

Regards,
Mugur

--- Anders Jensen-Urstad <andersunix.se> wrote:
> Hello,
> 
> Forgive me if this is something simple, but I searched
the manual and
> the mailing lists and couldn't  find anything. I want
users (e.g.
> journalists, photographers) with only very basic
permissions (add
> articles, images) to be able to change their own
passwords. When I log
> in as one of these, I see the "Change your
password" link in the menu,
> but clicking it just results in "You do not have
the right to change
> user account permissions."
> 
> Is it supposed to be like this? "User may
add/change staff accounts
> and passwords" is the only related permission that
I can find, but I
> want them to be able to change only their own.
> 
> This is with Campsite 2.6.2 (and FreeBSD 6.1, Apache
2.2.3, PHP 4.4.4,
> MySQL 4.1.18). Same problem on the demo site. Any help
would be
> appreciated.
> 
> -- 
> Anders Jensen-Urstad
> http://x.unix.se
> 


 
____________________________________________________________
________________________
Access over 1 million songs - Yahoo! Music Unlimited 
(http://music.yahoo.c
om/unlimited)
User password change not working
user name
2006-11-02 12:47:03
> Please copy the attached file (info.php) to
/usr/local/campsite/www-common/html/priv/users

Thanks! The passwords are changed, however it also results
in this error:

Fatal error: Call to a member function on a non-object in
/usr/local/campsite/www-common/html/classes/User.php on line
652

line 652: if
($phorumUser->setPassword($this->m_data['Password'])
&&

Commenting out line 74 in
/usr/local/campsite/www-common/html/priv/users/do_edit.php,
$editUser->syncPhorumUser();, works as a workaround (as I
don't use
phorum).

-- 
Anders Jensen-Urstad
http://x.unix.se
User password change not working
user name
2006-11-02 14:40:47
Anders!

bug was already fixed. look at
http://code.campware.org/projects/campsite/changeset/61
00  or replace
do_edit.php for the attached file.

thanks!


On 11/2/06, Anders Jensen-Urstad <andersunix.se> wrote:
> > Please copy the attached file (info.php) to
/usr/local/campsite/www-common/html/priv/users
>
> Thanks! The passwords are changed, however it also
results in this error:
>
> Fatal error: Call to a member function on a non-object
in
> /usr/local/campsite/www-common/html/classes/User.php on
line 652
>
> line 652: if
($phorumUser->setPassword($this->m_data['Password'])
&&
>
> Commenting out line 74 in
>
/usr/local/campsite/www-common/html/priv/users/do_edit.php,
> $editUser->syncPhorumUser();, works as a workaround
(as I don't use
> phorum).
>
> --
> Anders Jensen-Urstad
> http://x.unix.se
>


-- 
/holman
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )