Exception

Description

Personen ble ikke funnet

Source File

/home/vds/filmfront/client/pages/actor/view.php (52)

0041:             $actorId = $this->Request['id'];
0042:             $param = new ActorTO();
0043:             $param->id = $actorId;
0044:             $param->locale = $this->getLanguage();
0045: 
0046:             if(is_numeric($actorId) && $this->_service->getActorExists($param, true))
0047:             {
0048:                 // everything ok
0049:             }
0050:             else
0051:             {
0052: throw new Exception(Prado::localize('Personen ble ikke funnet'));
0053: } 0054: 0055: //$this->dataBind(); 0056: } 0057: } 0058: 0059: public function onLoad($param) 0060: { 0061: parent::onLoad($param); 0062: $this->registerStyleSheetFile('actor', 'actor.css'); 0063: $this->registerStyleSheetFile('release', 'release.css'); 0064: $this->Master->setActiveTab('Release');

Stack Trace

#0 /home/vds/filmfront/community/frameworks/prado/pradolite.php(4175): view->onInit(NULL)
#1 /home/vds/filmfront/community/frameworks/prado/pradolite.php(5549): TControl->initRecursive(NULL)
#2 /home/vds/filmfront/community/frameworks/prado/pradolite.php(5665): TCompositeControl->initRecursive(NULL)
#3 /home/vds/filmfront/community/frameworks/prado/pradolite.php(6199): TTemplateControl->initRecursive()
#4 /home/vds/filmfront/community/frameworks/prado/pradolite.php(6194): TPage->processNormalRequest(Object(THtmlWriter))
#5 /home/vds/filmfront/community/frameworks/prado/pradolite.php(8333): TPage->run(Object(THtmlWriter))
#6 /home/vds/filmfront/community/frameworks/prado/pradolite.php(8299): TPageService->runPage(Object(view), Array)
#7 /home/vds/filmfront/community/frameworks/prado/pradolite.php(9285): TPageService->run()
#8 /home/vds/filmfront/community/frameworks/prado/pradolite.php(8887): TApplication->runService()
#9 /home/vds/filmfront/client/www/index.php(95): TApplication->run()
#10 {main}
2013-05-20 05:14 Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch PRADO/3.1.6