A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: models/model_front.php

Line Number: 190

ErrorException [ Notice ]: Undefined offset: 0


Warning: strpos() [function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
FCPATH/application/models/model_front.php [ 190 ]

185         if($this->uri->segment(1)==$p[4]["url"]){
186             $where="p.zastosowanie=4 AND ";
187         }
188         $w = $this->db->query("select p.id,p.zastosowanie,p.kategoria,p.podkategoria,pr.nazwa as producent,p.kod,p.tytul,p.opis_krotki,f.zdjecie,if(p.instrukcja='',0,1) as instrukcja ,if(p.charakterystyki='',0,1) as charakterystyki from produkty p left join fotki f on f.id=p.fotka_id left join producent pr on pr.id=p.producent where ".$where." p.status=1 AND pr.nazwa='".strtr($this->uri->rsegment(3),array("-"=>" "))."' order by p.kolejnosc,p.id ASC")->result_array();
189         $this->data('lista',$w);
190         $this->data('seo',array("title"=>"Producent ".$w[0]['producent'],"desc"=>"Produkty wibroizolacyjne firmy ".$w[0]['producent']." do wibroizolacji maszyn, urządzeń, samochodów i budynków."));
191         unset($p,$where,$w);
192     }
193 
194     /*
195      * @TODO is this used????

  1. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/application/models/model_front.php [ 190 ]
    » MY_Exceptions::error_handler(arguments)


  2. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/application/controllers/front.php [ 115 ]
    » Model_front->producent()

  3. {PHP internal call} » Front->producent(arguments)


  4. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/system/core/CodeIgniter.php [ 359 ]
    » call_user_func_array(arguments)


  5. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/index.php [ 202 ]
    » require_once(arguments)

Environment

Producent

ErrorException [ Notice ]: Undefined offset: 0


Warning: strpos() [function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
FCPATH/application/views/pl/lista.php [ 18 ]

13     if($this->uri->segment(1)==$p[4]["url"]){
14         echo'<h1 class="btm-line white">Stopy do maszyn produkcji '.$this->MF->data['lista'][0]['producent'].'</h1>';
15     }else{
16         echo'<h1 class="btm-line white">Wibroizolatory produkcji '.$this->MF->data['lista'][0]['producent'].'</h1>';
17     }*/
18     echo'<h1 class="btm-line white">Produkty firmy '.$this->MF->data['lista'][0]['producent'].'</h1>';
19     unset($p);
20 }else{
21     echo'<div id="navbarCollapse" class="collapse navbar-collapse">
22             <ul class="nav navbar-nav">
23                 <li class="active dropdown">

  1. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/application/views/pl/lista.php [ 18 ]
    » MY_Exceptions::error_handler(arguments)


  2. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/system/core/Loader.php [ 833 ]
    » include(arguments)


  3. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/system/core/Loader.php [ 419 ]
    » CI_Loader->_ci_load(arguments)


  4. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/application/libraries/Layout.php [ 24 ]
    » CI_Loader->view(arguments)


  5. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/application/controllers/front.php [ 116 ]
    » Layout->view(arguments)

  6. {PHP internal call} » Front->producent(arguments)


  7. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/system/core/CodeIgniter.php [ 359 ]
    » call_user_func_array(arguments)


  8. Warning: strpos() [
    function.strpos]: Empty needle in /application/core/MY_Exceptions.php on line 102
    FCPATH/index.php [ 202 ]
    » require_once(arguments)

Environment

Produkty firmy

© Wibroizolacja Spółka z o.o.
produkcja: InfraNet