[Bug 269588] net-mgmt/icingaweb2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Feb 2023 15:18:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269588

            Bug ID: 269588
           Summary: net-mgmt/icingaweb2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: mail@henningkessler.de
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

Hello, I am trying to switch from icingaweb2-php74-2.8.2_1 to
icingaweb2-php81-2.8.2_1 (quarterly branch) I removed the icingaweb2-php74 and
installed icingaweb2-php81 after a restart when I try to access the site I get
a couple of "Deprecated" warnings and this fatal error:

Fatal error: Uncaught ErrorException: Uncaught
Zend_Controller_Response_Exception: Cannot send headers; headers already sent
in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action/HelperBroker/PriorityStack.php,
line 30 in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php:321
Stack trace: #0
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php(148):
Zend_Controller_Response_Abstract->canSendHeaders(true) #1
/usr/local/www/icingaweb2/library/Icinga/Web/Response.php(318):
Zend_Controller_Response_Abstract->setRedirect('/icingaweb2/aut...') #2
/usr/local/www/icingaweb2/library/Icinga/Web/Response.php(369):
Icinga\Web\Response->prepare() #3
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php(762):
Icinga\Web\Response->sendHeaders() #4
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Front.php(975):
Zend_Controller_Response_Abstract->sendResponse() #5
/usr/local/www/icingaweb2/library/Icinga/Application/Web.php(300):
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response)) #6
/usr/local/www/icingaweb2/library/Icinga/Application/webrouter.php(99):
Icinga\Application\Web->dispatch() #7
/usr/local/www/icingaweb2/public/index.php(4):
require_once('/usr/local/www/...') #8 {main} thrown in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php:321
Stack trace: #0 [internal function]:
Icinga\Application\Web->Icinga\Application\{closure}() #1 {main} Next
Zend_Controller_Exception: Uncaught Zend_Controller_Response_Exception: Cannot
send headers; headers already sent in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action/HelperBroker/PriorityStack.php,
line 30 in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php:321
Stack trace: #0
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php(148):
Zend_Controller_Response_Abstract->canSendHeaders(true) #1
/usr/local/www/icingaweb2/library/Icinga/Web/Response.php(318):
Zend_Controller_Response_Abstract->setRedirect('/icingaweb2/aut...') #2
/usr/local/www/icingaweb2/library/Icinga/Web/Response.php(369):
Icinga\Web\Response->prepare() #3
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Response/Abstract.php(762):
Icinga\Web\Response->sendHeaders() #4
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Front.php(975):
Zend_Controller_Response_Abstract->sendResponse() #5
/usr/local/www/icingaweb2/library/Icinga/Application/Web.php(300):
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response)) #6
/usr/local/www/icingaweb2/library/Icinga/Application/webrouter.php(99):
Icinga\Application\Web->dispatch() #7
/usr/local/www/icingaweb2/public/index.php(4):
require_once('/usr/local/www/...') #8 {main} thrown#0 [internal function]:
Icinga\Application\Web->Icinga\Application\{closure}() #1 {main} in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php:259
Stack trace: #0
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Front.php(906):
Zend_Controller_Plugin_Broker->routeShutdown(Object(Icinga\Web\Request)) #1
/usr/local/www/icingaweb2/library/Icinga/Application/Web.php(467):
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response)) #2 [internal function]:
Icinga\Application\Web->Icinga\Application\{closure}() #3 {main} thrown in
/usr/local/www/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on
line 259

Any ideas what might be wrong with my installation?

-- 
You are receiving this mail because:
You are the assignee for the bug.