HTTP_Exception_404 [ 404 ]:

APPPATH/classes/Controller/Index/Catalog.php [ 295 ]

290 
291         $query = $this->sql_products['select'].', c1.`description'.$this->sql_lang.'` AS description, c1.`geolocation`, c1.`prod_square`, c1.advantages, c1.sostav '.$this->sql_products['body'].' WHERE c1.alias = '."'".addslashes($alias)."'".' AND c1.status = 1'.$this->sql_products['group'].' LIMIT 0,1';
292         $prod = DB::query(Database::SELECT,$query)->execute('laravel')->as_array();
293         if(count($prod) < 1)
294         {
295             throw new HTTP_Exception_404();
296         }
297         $product = $prod[0];
298 
299         // Ставим куку на просмотр товара
300         $allow_counter = true;
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Catalog->action_prodpage()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/public/index.php [ 120 ] » Kohana_Request->execute()

Environment