TPhpErrorException

Description

[Unknown Error] Function set_magic_quotes_runtime() is deprecated (@line 538 in file /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/TCache_Lite.php).

Source File

/home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/TCache_Lite.php (538)

0527:     * @access private
0528:     */
0529:     function _read()
0530:     {
0531:         $fp = @fopen($this->_file, "rb");
0532:         if ($this->_fileLocking) @flock($fp, LOCK_SH);
0533:         if ($fp) {
0534:             // because the filesize can be cached by PHP itself...
0535:             clearstatcache();
0536:             $length = @filesize($this->_file);
0537:             $mqr = get_magic_quotes_runtime();
0538: set_magic_quotes_runtime(0);
0539: if ($this->_readControl) { 0540: $hashControl = @fread($fp, 32); 0541: $length = $length - 32; 0542: } 0543: $data = @fread($fp, $length); 0544: set_magic_quotes_runtime($mqr); 0545: if ($this->_fileLocking) @flock($fp, LOCK_UN); 0546: @fclose($fp); 0547: if ($this->_readControl) { 0548: $hashData = $this->_hash($data, $this->_readControlType); 0549: if ($hashData != $hashControl) { 0550: @touch($this->_file, time() - 2*abs($this->_lifeTime));

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(8192, 'Function set_ma...', '/home/admin/dom...', 538, Array)
#1 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/TCache_Lite.php(538): set_magic_quotes_runtime()
#2 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/TCache_Lite.php(292): TCache_Lite->_read()
#3 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/MessageCache.php(130): TCache_Lite->get('en/messages.xml...', 'en/messages.xml...')
#4 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/MessageSource.php(188): MessageCache->get('en/messages.xml', 'en', 1264624308)
#5 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/MessageFormat.php(141): MessageSource->load('messages')
#6 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/MessageFormat.php(190): MessageFormat->loadCatalogue('messages')
#7 /home/admin/domains/premiumoptics.eu/public_html/framework/I18N/core/MessageFormat.php(168): MessageFormat->formatString('TITLE', Array, 'messages')
#8 /home/admin/domains/premiumoptics.eu/public_html/framework/PradoBase.php(619): MessageFormat->format('TITLE', Array, 'messages', 'UTF-8')
#9 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TTemplateManager.php(500): PradoBase::localize('TITLE')
#10 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TTemplateManager.php(427): TTemplate->configureProperty(Object(THead), 'title', Array)
#11 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TTemplateManager.php(353): TTemplate->configureControl(Object(THead), 'title', Array)
#12 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TTemplateControl.php(141): TTemplate->instantiateIn(Object(Layout))
#13 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TControl.php(918): TTemplateControl->createChildControls()
#14 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TTemplateControl.php(234): TControl->ensureChildControls()
#15 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#16 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#17 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#18 /home/admin/domains/premiumoptics.eu/public_html/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(Home), Array)
#19 /home/admin/domains/premiumoptics.eu/public_html/framework/TApplication.php(1095): TPageService->run()
#20 /home/admin/domains/premiumoptics.eu/public_html/framework/TApplication.php(382): TApplication->runService()
#21 /home/admin/domains/premiumoptics.eu/public_html/index.php(16): TApplication->run()
#22 {main}
2017-01-24 17:07 Apache/2 PRADO/3.1.6