+7 927 915 7557 info@iranchemicals.ru
Россия, Астрахань, ул. Тургенева 10
Заказать звонок

ErrorException [ Warning ]: Undefined variable $conn

APPPATH/views/index/main/view_product.php [ 249 ]

244        <?php $sq = "SELECT products.id,products.prname,products.alias,products.image_id FROM products WHERE category = '".$cat."'";
245        //$sq = "SELECT * FROM products WHERE category = '".$cat."'";
246     $ar_products = [];
247     
248     
249     if($result = $conn->query($sq)){
250         //foreach($result as $row){
251           //  $ar_products = [
252             //    'id' => $row["id"],
253               //  'name' => $row["prname"],
254                 //'alias' => $row["image_id"],
  1. APPPATH/views/index/main/view_product.php [ 249 ] » Kohana_Core::error_handler()

  2. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()

  4. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  5. APPPATH/views/index/index.php [ 488 ] » Kohana_View->__toString()

  6. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()

  8. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  9. APPPATH/classes/Controller/Index.php [ 132 ] » Kohana_Controller_Template->after()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Index->after()

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

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

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

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

  15. DOCROOT/public_html/index.php [ 118 ] » Kohana_Request->execute()

Environment