google-code-export / zfdebug

Automatically exported from code.google.com/p/zfdebug
Other
1 stars 1 forks source link

html plugin throws error when not logged in #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. logout of Zend_Auth
2. open any page

What is the expected output? What do you see instead?
The expected output is the page that i try to open. Instead i see:
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied 
as input in 
/home/dev.zmuek.de/svn/trunk/library/ZFDebug/Controller/Plugin/Debug/Plugin/Html
.php  on line 83

Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied 
as input in 
/home/dev.zmuek.de/svn/trunk/library/ZFDebug/Controller/Plugin/Debug/Plugin/Html
.php on line 83

Fatal error: Uncaught exception 'Zend_Controller_Response_Exception' with 
message 'Cannot send headers; headers already sent in 
/home/dev.zmuek.de/svn/trunk/library/ZFDebug/Controller/Plugin/Debug/Plugin/Html
.php, line 83' in 
/home/dev.zmuek.de/svn/trunk/library/Zend/Controller/Response/Abstract.php:321 
Stack trace: #0 
/home/dev.zmuek.de/svn/trunk/library/Zend/Controller/Response/Abstract.php(339):
 Zend_Controller_Response_Abstract->canSendHeaders(true) #1 
/home/dev.zmuek.de/svn/trunk/library/Zend/Controller/Response/Abstract.php(766):
 Zend_Controller_Response_Abstract->sendHeaders() #2 
/home/dev.zmuek.de/svn/trunk/library/Zend/Controller/Front.php(992): 
Zend_Controller_Response_Abstract->sendResponse() #3 
/home/dev.zmuek.de/svn/trunk/library/Zend/Application/Bootstrap/Bootstrap.php(97
): Zend_Controller_Front->dispatch() #4 
/home/dev.zmuek.de/svn/trunk/library/Zend/Application.php(366): 
Zend_Application_Bootstrap_Bootstrap->run() #5 
/home/dev.zmuek.de/svn/trunk/public/index.php(26): Zend_Application->run() #6 
{main} thr in 
/home/dev.zmuek.de/svn/trunk/library/Zend/Controller/Response/Abstract.php on 
line 3

What version of the product are you using? On what operating system?
We use the actual svn version of zfdebug on lenny debian.
(Also happens under ubuntu 10.04)

Please provide any additional information below.
Disabling the 'Html' Plugin resolves this error.

Original issue reported on code.google.com by sver...@googlemail.com on 21 Jun 2010 at 8:31