open()starting sessionaccueil TPhpErrorException

TPhpErrorException

Description

[Warning] simplexml_load_file(): file:/D:/Dropbox/Dropbox/belgimmo/belgimmo2/www/protected/messages/en/index.xml:892: parser error : Entity 'agrave' not defined (@line 73 in file D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageSource_XLIFF.php).

Source File

D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageSource_XLIFF.php (73)

0062:     }
0063: 
0064:     /**
0065:      * Load the messages from a XLIFF file.
0066:      * @param string XLIFF file.
0067:      * @return array of messages.
0068:      */
0069:     protected function &loadData($filename)
0070:     {
0071:         //load it.
0072: 
0073: $XML = simplexml_load_file($filename);
0074: 0075: if(!$XML) return false; 0076: 0077: $translationUnit = $XML->xpath('//trans-unit'); 0078: 0079: $translations = array(); 0080: 0081: foreach($translationUnit as $unit) 0082: { 0083: $source = (string)$unit->source; 0084: $translations[$source][] = (string)$unit->target; 0085: $translations[$source][]= (string)$unit['id'];

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(2, 'simplexml_load_...', 'D:\\Dropbox\\Drop...', 73, Array)
#1 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageSource_XLIFF.php(73): simplexml_load_file('D:\\Dropbox\\Drop...')
#2 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageSource.php(196): MessageSource_XLIFF->loadData('D:\\Dropbox\\Drop...')
#3 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageFormat.php(141): MessageSource->load('index')
#4 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageFormat.php(190): MessageFormat->loadCatalogue('index')
#5 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\I18N\core\MessageFormat.php(168): MessageFormat->formatString('Immobilier Belg...', Array, 'index')
#6 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\PradoBase.php(591): MessageFormat->format('Immobilier Belg...', Array, 'index', 'iso-8859-1')
#7 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\protected\Layouts\Layout.php(129): PradoBase::localize('Immobilier Belg...')
#8 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\protected\Layouts\Layout.php(24): Layout->switchservername()
#9 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\PradoBase.php(243): Layout->__construct()
#10 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\Web\UI\TTemplateControl.php(228): PradoBase::createComponent('Application.Lay...')
#11 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\Web\UI\TPage.php(202): TTemplateControl->initRecursive()
#12 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\Web\UI\TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#13 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\Web\Services\TPageService.php(475): TPage->run(Object(THtmlWriter))
#14 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\Web\Services\TPageService.php(421): TPageService->runPage(Object(Accueil), Array)
#15 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\TApplication.php(1068): TPageService->run()
#16 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\prado\framework\TApplication.php(376): TApplication->runService()
#17 D:\Dropbox\Dropbox\belgimmo\belgimmo2\www\index.php(21): TApplication->run()
#18 {main}
2024-04-18 13:38 Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.26 PRADO/3.1.1