TPhpErrorException

Description

[Warning] DOMDocument::loadXML() [<a href='domdocument.loadxml'>domdocument.loadxml</a>]: Premature end of data in tag application line 3 in Entity, line: 76 (@line 368 in file /var/www/prado_mod/framework/Xml/TXmlDocument.php).

Source File

/var/www/prado_mod/framework/Xml/TXmlDocument.php (368)

0357: 
0358:     /**
0359:      * Loads and parses an XML string.
0360:      * The version and encoding will be determined based on the parsing result.
0361:      * @param string the XML string
0362:      * @return boolean whether the XML string is parsed successfully
0363:      */
0364:     public function loadFromString($string)
0365:     {
0366:         // TODO: since PHP 5.1, we can get parsing errors and throw them as exception
0367:         $doc=new DOMDocument();
0368: if($doc->loadXML($string)===false)
0369: return false; 0370: 0371: $this->setEncoding($doc->encoding); 0372: $this->setVersion($doc->version); 0373: 0374: $element=$doc->documentElement; 0375: $this->setTagName($element->tagName); 0376: $this->setValue($element->nodeValue); 0377: $elements=$this->getElements(); 0378: $attributes=$this->getAttributes(); 0379: $elements->clear(); 0380: $attributes->clear();

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(2, 'DOMDocument::lo...', '/var/www/prado_...', 368, Array)
#1 /var/www/prado_mod/framework/Xml/TXmlDocument.php(368): DOMDocument->loadXML('<?xml version="...')
#2 /var/www/prado_mod/framework/Xml/TXmlDocument.php(353): TXmlDocument->loadFromString('<?xml version="...')
#3 /var/www/prado_mod/framework/TApplication.php(1192): TXmlDocument->loadFromFile('/data/vhosts/ta...')
#4 /var/www/prado_mod/framework/TApplication.php(920): TApplicationConfiguration->loadFromFile('/data/vhosts/ta...')
#5 /var/www/prado_mod/framework/TApplication.php(364): TApplication->initApplication()
#6 /var/www/taradqw/index.php(29): TApplication->run()
#7 {main}
2012-05-23 17:13 Apache PRADO/3.1.0b