Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-17002

Fresh Install 3.3.7: password lockout

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Resolved
    • 3.3.7
    • None
    • None

    Description

      On Gentoo Linux, I installed:

      [I] www-apps/phpBB
           Available versions:  (3.3.7) (~)3.3.7
             {ftp gd mssql mysqli postgres sqlite vhosts zlib}
           Installed versions:  3.3.7(3.3.7)(23:46:32 04/16/22)(ftp gd mysqli postgres sqlite vhosts zlib -mssql)
           Homepage:            https://www.phpbb.com/
           Description:         An open-source PHP-based bulletin board package

      My PHP is set to 8.0, see environment below.

      I do have the package configured so I can use mysqli postgres later on; I wanted to start with SQLIte to keep this simple.

      When I performed the install, I did not has "sodium" specified as a USE flag, so the PHP 8.0 operative during the installation of phpBB was without "sodium".  I am inferring sodium is some sort of salting routine for encrypted passwords.

      I was able to create a user admin account and password and proceeded with configuring my site, e.g. create new forums.  24 hours later I return and tried to log in and could not, returned in red after each attempt is "The submitted form was invalid. Try submitting again".

      I recall seeing error messages about no database or SQLite issues, but the installation continued on and completed, so I assumed those were status messages and the installer rectified, e.g. by creating new tables &etc.

      So I moved the install directory to de-activate it and tried logging in, but could not.  I restored the install directory and cannot seem to find a way to access the Administrative Control Panel (aka "ACP").

      As root, I logged into the SQLite3 database and created an entry as follows:

           INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_jabber, user_actkey, user_newpasswd) VALUES (3, 5, 'Admin1', 'admin1', 0, '21232f297a57a5a743894a0e4a801fc3', 'admin@example.com', 'en', 1, 1, 'AA0000', 1, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '');

      This work-around of adding an entry in phpbb_users comes from:   https://www.phpbb.com/community/viewtopic.php?t=2573941

      I have attempted to login with Admin1/admin1 and get the same error message.

      I recompiled php 8.0 adding sodium as a "USE" item and restarted apache and my login attempts continue to fail.

       

      I've been blocked for over two hours on this.  What can I do to move forward?

      Attachments

        Activity

          People

            Unassigned Unassigned
            JohnPoole JohnPoole [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: