Bug found please help advice

ClassiBase classifieds script Forums General help Bug found please help advice

This topic contains 4 replies, has 2 voices, and was last updated by  Elite Tan 2 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1695 Reply

    Elite Tan
    Participant

    Dear Support, found a bug, when register a new user, I’ve recieved activation email, but I tried not clicking on activation to test user didn’t recieve email, so I went back to login and login again using same user account and click on send activation but it said see below error account not found, resend activation

    the link is
    http://abc.com/login/resendActivation//d41d8cd98f00b204e9800998ecf8427e/

    it should be /3/ but the 3 is missing assuming 3 is the user id
    to hear from you again on the solution, please let us know? Thanks alot……….

    I suspect is user.php line 255 code is typo please advice how to fix it?
    {
    $validation->set_message(‘_validate_user_email’, __(‘%s is already registered but not verified yet. Please check your email address for verification. If you did not receive verification email then click here to receive new one.’, array(‘{url}’ => User::urlResendVerification($user))));
    }

    #1698 Reply

    ClassiBase
    Keymaster

    We added fix to our next release, which will be available shortly.

    Thank you for reporting.

    #1699 Reply

    Elite Tan
    Participant

    Thanks alot Support, appreciate you tell me which code and file to modify for above fix so that I can fix it myself now as my site urgent, Thanks………

    #1700 Reply

    ClassiBase
    Keymaster

    Edit your /sys/app/controllers/LoginController.php file line 85-87. move $message = __('Your account is ... line above to AuthUser::logout(); line. Because message uses user object which is destroyed by logout. By switching their order (moving message before logout) message will generate code before destroying user.

    #1701 Reply

    Elite Tan
    Participant

    Great Thanks alot support! :):):)

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Bug found please help advice
Your information: