View Issue Details

IDProjectCategoryView StatusLast Update
0007862Kali LinuxKali Package Bugpublic2022-09-09 16:28
Reporteronillap Assigned Toarnaudr  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2022.3 
Summary0007862: xplico 1.2.2 does not run and crashes upon startup
Description

I installed xplico 1.2.2 from the kali repositories (xplico_1.2.2-0kali4+b1_amd64) and the installation ends correctly, but then it does not work probably because of some problem in the php Cake utility.
I read that an older version of xplico (1.2.1-0kali1) already had a similar error and it was fixed in 1.2.1-0kali2:
https://bugs.kali.org/view.php?id=4560

I tried to remove, purge and reinstall xplico and apache2 but it still doesn't work.
I also tried manually installing cakephp and cakephp-scripts packages but nothing has changed.

Steps To Reproduce

I installed xplico 1.2.2 from the kali repositories and the installation ends correctly.
Then I did:
service apache2 restart
service xplico start
(no errors printed on the console)
I point my browsers (both chromium and firefox) to localhost:9876 but in both cases there is a blank page and this error:
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500

Additional Information

Here are errors from /var/log/apache2/xplico_error.log:
[Thu Aug 11 17:46:46.728542 2022] [php:error] [pid 7092] [client 127.0.0.1:39696] PHP Fatal error: Uncaught Error: Unknown named parameter $subject in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129\nStack trace:\n#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()\n#1 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()\n#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()\n#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()\n#4 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->construct()\n#5 [internal function]: ErrorHandler::handleException()\n#6 {main}\n thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
[Thu Aug 11 17:46:46.728910 2022] [php:error] [pid 7092] [client 127.0.0.1:39696] PHP Fatal error: Uncaught Error: Unknown named parameter $subject in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129\nStack trace:\n#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()\n#1 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()\n#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()\n#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()\n#4 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->construct()\n#5 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException()\n#6 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError()\n#7 /opt/xplico/xi/lib/Cake/Core/App.php(970): ErrorHandler::handleError()\n#8 /opt/xplico/xi/lib/Cake/Core/App.php(943): App::_checkFatalError()\n#9 [internal function]: App::shutdown()\n#10 {main}\n thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
[Thu Aug 11 17:46:47.649015 2022] [php:error] [pid 7093] [client 127.0.0.1:39704] PHP Fatal error: Uncaught Error: Unknown named parameter $subject in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129\nStack trace:\n#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()\n#1 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()\n#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()\n#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()\n#4 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->
construct()\n#5 [internal function]: ErrorHandler::handleException()\n#6 {main}\n thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
[Thu Aug 11 17:46:47.649608 2022] [php:error] [pid 7093] [client 127.0.0.1:39704] PHP Fatal error: Uncaught Error: Unknown named parameter $subject in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129\nStack trace:\n#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()\n#1 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()\n#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()\n#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()\n#4 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->
construct()\n#5 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException()\n#6 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError()\n#7 /opt/xplico/xi/lib/Cake/Core/App.php(970): ErrorHandler::handleError()\n#8 /opt/xplico/xi/lib/Cake/Core/App.php(943): App::_checkFatalError()\n#9 [internal function]: App::shutdown()\n#10 {main}\n thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
[Thu Aug 11 17:46:48.466031 2022] [php:error] [pid 7094] [client 127.0.0.1:39706] PHP Fatal error: Uncaught Error: Unknown named parameter $subject in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129\nStack trace:\n#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()\n#1 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()\n#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()\n#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()\n#4 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct()\n#5 [internal function]: ErrorHandler::handleException()\n#6 {main}\n thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
[Thu Aug 11 17:46:48.466467 2022] [php:error] [pid 7094] [client 127.0.0.1:39706] PHP Fatal error: Uncaught Error: Unknown named parameter $subject in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129\nStack trace:\n#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()\n#1 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()\n#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()\n#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()\n#4 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct()\n#5 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException()\n#6 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError()\n#7 /opt/xplico/xi/lib/Cake/Core/App.php(970): ErrorHandler::handleError()\n#8 /opt/xplico/xi/lib/Cake/Core/App.php(943): App::_checkFatalError()\n#9 [internal function]: App::shutdown()\n#10 {main}\n thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129

Attached Files
error page.jpg (39,015 bytes)   
error page.jpg (39,015 bytes)   

Activities

arnaudr

arnaudr

2022-09-09 09:22

manager   ~0016715

Last edited: 2022-09-09 09:23

Thanks for the report. I'm having a look.

Error with newlines, for readability:
<pre>
[Fri Sep 09 08:35:32.182585 2022] [php:error] [pid 11356] [client 127.0.0.1:60674] PHP Fatal error: Uncaught Error: Unknown named parameter in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129
Stack trace:
#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()
0000001 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()
#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()
#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()
0000004 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct()
0000005 [internal function]: ErrorHandler::handleException()
0000006 {main}
thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
[Fri Sep 09 08:35:32.183051 2022] [php:error] [pid 11356] [client 127.0.0.1:60674] PHP Fatal error: Uncaught Error: Unknown named parameter in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php:129
Stack trace:
#0 /opt/xplico/xi/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger()
0000001 /opt/xplico/xi/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()
#2 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()
#3 /opt/xplico/xi/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController()
0000004 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct()
0000005 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException()
0000006 /opt/xplico/xi/lib/Cake/Error/ErrorHandler.php(212): ErrorHandler::handleFatalError()
0000007 /opt/xplico/xi/lib/Cake/Core/App.php(970): ErrorHandler::handleError()
0000008 /opt/xplico/xi/lib/Cake/Core/App.php(943): App::_checkFatalError()
0000009 [internal function]: App::shutdown()
0000010 {main}
thrown in /opt/xplico/xi/lib/Cake/Utility/ObjectCollection.php on line 129
</pre>

arnaudr

arnaudr

2022-09-09 16:28

manager   ~0016718

I uploaded a tentative fix, it should be available on Kali mirrors next week. Please update your system and watch for version 1.2.2-0kali5 of the xplico package.

I'm closing the ticket, but feel free to re-open if ever the new package doesn't work. Thanks!

Issue History

Date Modified Username Field Change
2022-08-11 16:20 onillap New Issue
2022-08-11 16:20 onillap File Added: error page.jpg
2022-09-02 12:52 sbrun Assigned To => sbrun
2022-09-02 12:52 sbrun Status new => assigned
2022-09-09 09:22 arnaudr Note Added: 0016715
2022-09-09 09:23 arnaudr Note Edited: 0016715
2022-09-09 16:28 arnaudr Note Added: 0016718
2022-09-09 16:28 arnaudr Assigned To sbrun => arnaudr
2022-09-09 16:28 arnaudr Status assigned => resolved
2022-09-09 16:28 arnaudr Resolution open => fixed