BrainCMS - This username does not exist! [Help Me]

Results 1 to 3 of 3
  1. #1
    Member Shokkato is offline
    MemberRank
    Feb 2018 Join Date
    localhost/Location
    79Posts

    angry BrainCMS - This username does not exist! [Help Me]

    Good morning,I installed BrainCMS 1.8.8 importing the supplied database plus that of Arcturus 1.14.0Everything works at the time of registration.when I log out and try to log in, it says that the user does not exist.in the users table exists.if I try to register an account with the same name during registration, it tells me that the name is already occupied.


  2. #2
    Apprentice Dropdown is offline
    MemberRank
    Apr 2018 Join Date
    5Posts

    Re: BrainCMS - This username does not exist! [Help Me]

    Same, also when I try some names I get the echo empty_username

  3. #3
    Lana Del Rey > Life. Rhys is offline
    MemberRank
    Jul 2008 Join Date
    AustraliaLocation
    308Posts

    Re: BrainCMS - This username does not exist! [Help Me]

    EDIT: Here's the actual sql for registration fix..
    PHP Code:
    ALTER TABLE users ADD google_secret_code VARCHAR(200NULL;
    ALTER TABLE users ADD 2fa_status int(1NOT NULL DEFAULT 0
    It's in the BrainSQL folder in "Update 1.8.0 to 1.8.8.sql".

    Sometimes it pays to have a closer look :p

    Quote Originally Posted by Dropdown View Post
    Same, also when I try some names I get the echo empty_username
    This is because the registration script makes sure it's a valid name, a valid name is MORE than 3 characters, but less than 12 & only contains letters and numbers.

    The default error reply is "empty_username".

    You can edit character amounts at system/app/classes/class.user.php and search for "validName($username)" you can also change the error it gives in the same file on by searching "echo 'empty_username';" there's 2, it's the one under "empty_password".
    Last edited by Rhys; 01-09-18 at 05:23 PM. Reason: Changed to actual SQL queries



Advertisement