Error

Description

Call to undefined function udm_alloc_agent()

Source File

/home/cmfce/smartmarriages.com/webapp/protected/Common/MnogoSearch.php (17)

0006:     public $matches = null;
0007:     public $total = null;
0008:     public $hilites = array('title', 'text');
0009:     public $hlbeg = '<span class="hilite">';
0010:     public $hlend = '</span>';
0011: 
0012:     protected $agent = null;
0013:     protected $res = null;
0014: 
0015:     public function __construct()
0016:     {
0017: $this->agent = udm_alloc_agent('pgsql://mnogo:mnogo@/mnogo_site/?dbmode=multi');
0018: 0019: $this->set(UDM_PARAM_SEARCH_MODE, UDM_MODE_ALL); 0020: $this->set(UDM_PARAM_CHARSET, 'iso-8859-1'); 0021: $this->set(UDM_PARAM_BROWSER_CHARSET, 'iso-8859-1'); 0022: $this->set(UDM_PARAM_WORD_MATCH, UDM_MATCH_SUBSTR); 0023: } 0024: 0025: private function hiLite($t) 0026: { 0027: if ($t == '') 0028: return ''; 0029: $t = str_replace("\2", $this->hlbeg, $t);

Stack Trace

#0 /home/cmfce/smartmarriages.com/webapp/protected/Pages/SearchSite.php(19): MnogoSearch->__construct()
#1 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TControl.php(1270): SearchSite->onInit(NULL)
#2 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(SearchSite))
#3 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#4 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TPage.php(202): TTemplateControl->initRecursive()
#5 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#6 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/Services/TPageService.php(472): TPage->run(Object(THtmlWriter))
#7 /home/cmfce/smartmarriages.com/framework/prado/framework/Web/Services/TPageService.php(418): TPageService->runPage(Object(SearchSite), Array)
#8 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(1066): TPageService->run()
#9 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(376): TApplication->runService()
#10 /home/cmfce/smartmarriages.com/webapp/index.php(30): TApplication->run()
#11 {main}
2019-03-21 11:36 Apache PRADO/3.1.0