Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17351

phpBB2 password hashes incorrectly handled during rehash cron

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0-a1, 3.3.13-RC1
    • 3.3.12
    • Cron
    • None
    • PHP ver 8.3.4
      PHPBB 3.3.12
      Almalinux 8.10

      Recently, I installed a ext Cron status and view that, every x time (I don't know how time) the task cron.task.core.update_hashes its locked, and this, cause others cron not runing.
      If I click in unloked, this is unlocked and the others cron run at the moment.

      I notice that, once said cron is blocked, others that have to be executed are blocked (as the screenshot of the first post shows).
      This is the php log:

      [25-Jun-2024 04:10:42] NOTICE: fpm is running, pid 677 [25-Jun-2024 04:10:42] NOTICE: ready to handle connections [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_prefix() on false in /home/mydomain/public_html/phpbb/passwords/manager.php:350" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "Stack trace:" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#0 /home/mydomain/public_html/phpbb/passwords/manager.php(236): phpbb\passwords\manager->combined_hash_password()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#1 /home/mydomain/public_html/phpbb/cron/task/core/update_hashes.php(110): phpbb\passwords\manager->hash()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#2 [internal function]: phpbb\cron\task\core\update_hashes->run()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#3 /home/mydomain/public_html/phpbb/cron/task/wrapper.php(139): call_user_func_array()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#4 /home/mydomain/public_html/phpbb/cron/event/cron_runner_listener.php(86): phpbb\cron\task\wrapper->__call()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#5 /home/mydomain/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(214): phpbb\cron\event\cron_runner_listener->on_kernel_terminate()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#6 /home/mydomain/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()" [25-Jun-2024 05:13:26] WARNING: [pool mydomain] child 6118 said into stderr: "#7 /home/mydomain/public_html/phpbb/event/dispatcher.php(..." [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Cannot load XML: EntityRef: expecting ';'" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: " in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php:46" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "Stack trace:" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "#0 /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderers/PHP.php(303): s9e\TextFormatter\Renderer->loadXML()" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "#1 /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php(66): s9e\TextFormatter\Renderers\PHP->renderRichText()" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "#2 /home/mydomain/public_html/phpbb/textformatter/s9e/renderer.php(250): s9e\TextFormatter\Renderer->render()" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "#3 /home/mydomain/public_html/includes/functions_content.php(600): phpbb\textformatter\s9e\renderer->render()" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "#4 /home/mydomain/public_html/viewtopic.php(1763): generate_text_for_display()" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: "#5

      ??

      {main}" [25-Jun-2024 05:37:28] WARNING: [pool mydomain] child 8224 said into stderr: " thrown in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php on line 46" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_prefix() on false in /home/mydomain/public_html/phpbb/passwords/manager.php:350" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "Stack trace:" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#0 /home/mydomain/public_html/phpbb/passwords/manager.php(236): phpbb\passwords\manager->combined_hash_password()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#1 /home/mydomain/public_html/phpbb/cron/task/core/update_hashes.php(110): phpbb\passwords\manager->hash()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#2 [internal function]: phpbb\cron\task\core\update_hashes->run()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#3 /home/mydomain/public_html/phpbb/cron/task/wrapper.php(139): call_user_func_array()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#4 /home/mydomain/public_html/phpbb/cron/event/cron_runner_listener.php(86): phpbb\cron\task\wrapper->__call()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#5 /home/mydomain/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(214): phpbb\cron\event\cron_runner_listener->on_kernel_terminate()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#6 /home/mydomain/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()" [25-Jun-2024 06:25:17] WARNING: [pool mydomain] child 8216 said into stderr: "#7 /home/mydomain/public_html/phpbb/event/dispatcher.php(..." [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Cannot load XML: EntityRef: expecting ';'" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: " in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php:46" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "Stack trace:" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "#0 /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderers/PHP.php(303): s9e\TextFormatter\Renderer->loadXML()" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "#1 /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php(66): s9e\TextFormatter\Renderers\PHP->renderRichText()" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "#2 /home/mydomain/public_html/phpbb/textformatter/s9e/renderer.php(250): s9e\TextFormatter\Renderer->render()" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "#3 /home/mydomain/public_html/includes/functions_content.php(600): phpbb\textformatter\s9e\renderer->render()" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "#4 /home/mydomain/public_html/viewtopic.php(1763): generate_text_for_display()" [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: "#5 {main}??

      " [25-Jun-2024 06:45:20] WARNING: [pool mydomain] child 8238 said into stderr: " thrown in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php on line 46" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Cannot load XML: EntityRef: expecting ';'" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: " in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php:46" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "Stack trace:" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "#0 /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderers/PHP.php(303): s9e\TextFormatter\Renderer->loadXML()" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "#1 /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php(66): s9e\TextFormatter\Renderers\PHP->renderRichText()" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "#2 /home/mydomain/public_html/phpbb/textformatter/s9e/renderer.php(250): s9e\TextFormatter\Renderer->render()" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "#3 /home/mydomain/public_html/includes/functions_content.php(600): phpbb\textformatter\s9e\renderer->render()" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "#4 /home/mydomain/public_html/viewtopic.php(1763): generate_text_for_display()" [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: "#5
      ??{main}

      ??

      " [25-Jun-2024 06:52:35] WARNING: [pool mydomain] child 8210 said into stderr: " thrown in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php on line 46" [25-Jun-2024 07:20:41] WARNING: [pool mydomain] child 8173 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Cannot load XML: EntityRef: expecting ';'" [25-Jun-2024 07:20:41] WARNING: [pool mydomain] child 8173 said into stderr: " in /home/mydomain/public_html/vendor/s9e/text-formatter/src/Renderer.php:46"

            Marc Marc
            wonder_wonder wonder_wonder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: