1 (edited by kankan 2012-10-12 09:51)

Topic: New Password : "Please register to be able to view this page"

Greetings

When a user asks for a new password, he receives a mail with a tmp password and a link to activate a new password.

But, it appears that when the user clicks the link, the system returns the following message :

"Please register to be able to view this page"

I have worked on my profile.php few months ago (new fields in the profile page and registration process) but i am unable to find where the error occurs.

Hope you can help. You will find below my modified propfile.php

http://pastebin.com/9bSPXhJS

Thank you

Re: New Password : "Please register to be able to view this page"

Problem Fixed.

Re: New Password : "Please register to be able to view this page"

what did you do  to ix it?
Would be great to know smile

4 (edited by kankan 2012-10-15 16:44)

Re: New Password : "Please register to be able to view this page"

I quoted this line in my profile.php


if ($pun_user['g_read_board'] == '0' && ($action != 'change_pass' || !isset($_GET['key'])))
    message($lang_common['No view']);
//if ($pun_user['is_guest'])
//    message($lang_common['No permission']);