error!

Nieprawidłowy parametr!

trace:

1 plik /home/users/sokol/public_html/library/Koli/Model/Photos.php w linijce 223 :
217: ...
218: 
219:         return $this->getAdapter()->fetchAll($select);
220:     }
221:     public function getActiveSubgalleries($gallery_id) {
222:         if (!is_numeric($gallery_id)) {
223: throw new Zend_Exception('Nieprawidłowy parametr!');
224: } 225: $select = $this->getAdapter() 226: ->select() 227: ->from($this->_name) 228: ->where('active = ?', 1) 229: ...


2 plik /home/users/sokol/public_html/library/Koli/HtmlRenderers/GalleryRenderer.php w linijce 20 :
14: ...
15:         
16:         return $this->getHtml($id);
17:     }
18:     public function getHtml($gallery_id){
19:         
20: $subGalleries = $this->_images->getActiveSubgalleries($gallery_id);
21: $images = $this->_images->getActivePics($gallery_id); 22: $this->view->gallery = $this->_images->getObject($gallery_id); 23: $this->view->subGalleries = $subGalleries; 24: $this->view->images = $images; 25: $this->view->row_count = 4; 26: ...


3 plik /home/users/sokol/public_html/application/modules/default/controllers/IndexController.php w linijce 142 :
136: ...
137:             $gallery_id = $images->getIdByTitle($link_name);
138:         }
139: 
140:         $htmlcontent = array();
141:         $news = new Koli_HtmlRenderers_GalleryRenderer($this->view);
142: $htmlcontent[] = $news->getHtml($gallery_id);
143: 144: $this->view->htmlcontent = $htmlcontent; 145: $this->view->navigator = $images->getAllParentsForNav($gallery_id); 146: $this->view->setContent('index'); 147: } 148: ...


4 plik /home/users/sokol/public_html/library/Zend/Controller/Action.php w linijce 516 :
510: ...
511:                 // preDispatch() didn't change the action, so we can continue
512:                 if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
513:                     if ($this->getInvokeArg('useCaseSensitiveActions')) {
514:                         trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
515:                     }
516: $this->$action();
517: } else { 518: $this->__call($action, array()); 519: } 520: } 521: $this->postDispatch(); 522: ...


5 plik /home/users/sokol/public_html/library/Zend/Controller/Dispatcher/Standard.php w linijce 295 :
289: ...
290:         if (empty($disableOb)) {
291:             ob_start();
292:         }
293: 
294:         try {
295: $controller->dispatch($action);
296: } catch (Exception $e) { 297: // Clean output buffer on error 298: $curObLevel = ob_get_level(); 299: if ($curObLevel > $obLevel) { 300: do { 301: ...


6 plik /home/users/sokol/public_html/library/Zend/Controller/Front.php w linijce 954 :
948: ...
949: 
950:                 /**
951:                  * Dispatch request
952:                  */
953:                 try {
954: $dispatcher->dispatch($this->_request, $this->_response);
955: } catch (Exception $e) { 956: if ($this->throwExceptions()) { 957: throw $e; 958: } 959: $this->_response->setException($e); 960: ...


7 plik /home/users/sokol/public_html/www/index.php w linijce 166 :
160: ...
161: 
162: function __($str){
163:     return $str;
164: }
165: 
166: $front->dispatch();