Error

Description

Call to undefined function set_magic_quotes_runtime()

Source File

/home/devwww/public_html/balcanica/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 /home/devwww/public_html/balcanica/framework/I18N/core/TCache_Lite.php(292): TCache_Lite->_read()
#1 /home/devwww/public_html/balcanica/framework/I18N/core/MessageCache.php(130): TCache_Lite->get('messages.bg:bg', 'messages.bg:Mes...')
#2 /home/devwww/public_html/balcanica/framework/I18N/core/MessageSource.php(188): MessageCache->get('messages.bg', 'bg', 1362479115)
#3 /home/devwww/public_html/balcanica/framework/I18N/core/MessageFormat.php(141): MessageSource->load('messages')
#4 /home/devwww/public_html/balcanica/framework/I18N/core/MessageFormat.php(190): MessageFormat->loadCatalogue('messages')
#5 /home/devwww/public_html/balcanica/framework/I18N/core/MessageFormat.php(168): MessageFormat->formatString('LABEL_MAIN_MENU', Array, 'messages')
#6 /home/devwww/public_html/balcanica/framework/PradoBase.php(619): MessageFormat->format('LABEL_MAIN_MENU', Array, 'messages', 'UTF-8')
#7 /home/devwww/public_html/balcanica/engine/Plugins/Custom/Menus/conf.php(10): PradoBase::localize('LABEL_MAIN_MENU')
#8 /home/devwww/public_html/balcanica/framework/PradoBase.php(316): include_once('/home/devwww/pu...')
#9 /home/devwww/public_html/balcanica/protected/Common/MTPage.php(75): PradoBase::using('Plugins.Custom....')
#10 /home/devwww/public_html/balcanica/protected/Portlets/MainMenuPortlet.php(26): MTPage->initController('Plugins.Custom....')
#11 /home/devwww/public_html/balcanica/protected/Portlets/MainMenuPortlet.php(21): MainMenuPortlet->setData()
#12 /home/devwww/public_html/balcanica/framework/Web/UI/TControl.php(1270): MainMenuPortlet->onInit(NULL)
#13 /home/devwww/public_html/balcanica/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(MainMenuPortlet))
#14 /home/devwww/public_html/balcanica/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(HeaderPortlet))
#15 /home/devwww/public_html/balcanica/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(HeaderPortlet))
#16 /home/devwww/public_html/balcanica/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(HeaderPortlet))
#17 /home/devwww/public_html/balcanica/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(MainLayout))
#18 /home/devwww/public_html/balcanica/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(MainLayout))
#19 /home/devwww/public_html/balcanica/framework/Web/UI/TControl.php(1255): TControl->initRecursive(Object(MainLayout))
#20 /home/devwww/public_html/balcanica/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(MainLayout))
#21 /home/devwww/public_html/balcanica/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(Category))
#22 /home/devwww/public_html/balcanica/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(Category))
#23 /home/devwww/public_html/balcanica/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(Category))
#24 /home/devwww/public_html/balcanica/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#25 /home/devwww/public_html/balcanica/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#26 /home/devwww/public_html/balcanica/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#27 /home/devwww/public_html/balcanica/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#28 /home/devwww/public_html/balcanica/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(Category), Array)
#29 /home/devwww/public_html/balcanica/framework/TApplication.php(1095): TPageService->run()
#30 /home/devwww/public_html/balcanica/framework/TApplication.php(382): TApplication->runService()
#31 /home/devwww/public_html/balcanica/index.php(29): TApplication->run()
#32 {main}
2023-05-30 05:06 Apache PRADO/3.1.7