Call to undefined function set_magic_quotes_runtime()
/home/joyopti/public_html/grand/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));
#0 /home/joyopti/public_html/grand/framework/I18N/core/TCache_Lite.php(292): TCache_Lite->_read()
#1 /home/joyopti/public_html/grand/framework/I18N/core/MessageCache.php(130): TCache_Lite->get('messages.bg:bg', 'messages.bg:Mes...')
#2 /home/joyopti/public_html/grand/framework/I18N/core/MessageSource.php(188): MessageCache->get('messages.bg', 'bg', 1395311029)
#3 /home/joyopti/public_html/grand/framework/I18N/core/MessageFormat.php(141): MessageSource->load('messages')
#4 /home/joyopti/public_html/grand/framework/I18N/core/MessageFormat.php(190): MessageFormat->loadCatalogue('messages')
#5 /home/joyopti/public_html/grand/framework/I18N/core/MessageFormat.php(168): MessageFormat->formatString('LABEL_MAIN_MENU', Array, 'messages')
#6 /home/joyopti/public_html/grand/framework/PradoBase.php(619): MessageFormat->format('LABEL_MAIN_MENU', Array, 'messages', 'UTF-8')
#7 /home/joyopti/public_html/grand/engine/Plugins/Custom/Menus/conf.php(10): PradoBase::localize('LABEL_MAIN_MENU')
#8 /home/joyopti/public_html/grand/framework/PradoBase.php(316): include_once('/home/joyopti/p...')
#9 /home/joyopti/public_html/grand/protected/Common/MTPage.php(80): PradoBase::using('Plugins.Custom....')
#10 /home/joyopti/public_html/grand/protected/Common/MTPage.php(55): MTPage->initController('Plugins.Custom....')
#11 /home/joyopti/public_html/grand/protected/Pages/SitemapXml.php(17): MTPage->onInit(NULL)
#12 /home/joyopti/public_html/grand/framework/Web/UI/TControl.php(1270): SitemapXml->onInit(NULL)
#13 /home/joyopti/public_html/grand/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(NULL)
#14 /home/joyopti/public_html/grand/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#15 /home/joyopti/public_html/grand/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#16 /home/joyopti/public_html/grand/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#17 /home/joyopti/public_html/grand/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#18 /home/joyopti/public_html/grand/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(SitemapXml), Array)
#19 /home/joyopti/public_html/grand/framework/TApplication.php(1095): TPageService->run()
#20 /home/joyopti/public_html/grand/framework/TApplication.php(382): TApplication->runService()
#21 /home/joyopti/public_html/grand/index.php(32): TApplication->run()
#22 {main}