APPPATH/classes/controller/koszyk.php [ 184 ]
179 //$this->Koszyk->PokazKoszyk();
180 }
181 }
182 //After
183
184 $this->request->redirect($_SERVER['HTTP_REFERER']);
185 }
186
187 public function Action_Noproduct() {
188 echo $id_variant = $this->request->param('id');
189 //informacje o danym wariancie
-
APPPATH/classes/controller/koszyk.php [ 184 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(29) "Undefined index: HTTP_REFERER"
2
string(48) "/sklep/application/classes/controller/koszyk.php"
3
integer 184
4
array(4) ( "idv" => string(5) "19407" "Omap" => object Model_Admin_Product(18)
{ public pid => integer 0 public vid => integer 0 public folder => string(14) "image/product/" public folder_temp => string(5) "temp/" public size_photo => array(5) ( 0 => array(2) ( 0 => integer 800 1 => NULL ) 1 => array(2) ( 0 => integer 245 1 => integer 243 ) 2 => array(2) ( 0 => integer 174 1 => integer 194 ) 3 => array(2) ( 0 => integer 152 1 => integer 172 ) 4 => array(2) ( 0 => integer 80 1 => integer 80 ) ) public _data => NULL protected _file => NULL protected _iteration => NULL protected _src => NULL public filter_action => bool FALSE public select => array(1) ( 0 => array(26) ( "idvariant" => string(5) "19407" "pr_products_idproduct" => string(5) "19149" "price_pl" => string(5) "277.5" "price_sk" => string(2) "75" "vat_pl" => string(2) "23" "vat_sk" => string(2) "23" "promotion_price_pl" => NULL "promotion_price_sk" => NULL "delivery_cost_pl" => string(1) "0" "delivery_cost_sk" => string(1) "0" "active_promotion" => NULL "count_2" => NULL "position" => string(1) "0" "nr_catalog" => NULL "link" => NULL "idproduct" => string(5) "19149" "name" => string(16) "Szablon nr 42485" "visible" => string(1) "1" "active" => NULL "variant" => NULL "added" => string(10) "2012-12-28" "typ" => string(9) "Bootstrap" "tid" => string(5) "42485" "pr_product_variant_idvariant" => NULL "description" => NULL "title" => NULL ) ) protected _lang => string(2) "pl" protected _aLanguage => object Database_MySQL_Result(6)
"pr" => array(26) ( "idvariant" => string(5) "19407" "pr_products_idproduct" => string(5) "19149" "price_pl" => string(5) "277.5" "price_sk" => string(2) "75" "vat_pl" => string(2) "23" "vat_sk" => string(2) "23" "promotion_price_pl" => NULL "promotion_price_sk" => NULL "delivery_cost_pl" => string(1) "0" "delivery_cost_sk" => string(1) "0" "active_promotion" => NULL "count_2" => NULL "position" => string(1) "0" "nr_catalog" => NULL "link" => NULL "idproduct" => string(5) "19149" "name" => string(16) "Szablon nr 42485" "visible" => string(1) "1" "active" => NULL "variant" => NULL "added" => string(10) "2012-12-28" "typ" => string(9) "Bootstrap" "tid" => string(5) "42485" "pr_product_variant_idvariant" => NULL "description" => NULL "title" => NULL ) "cena" => float 341,33 ){ protected _internal_row => integer 0 protected _query => string(49) "SELECT * FROM `cms_language` WHERE `active` = '1'" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => bool TRUE }
protected _offset => integer 0 protected _limit => integer 9999999 protected _filters => string(0) "" protected _where => NULL protected _db => object Database_MySQL(6){ protected _connection_id => string(40) "28df06318cca08b0c94961b21b26262e597a43ef" protected _identifier => string(1) "`" public last_query => string(272) "SELECT * FROM `pr_product_variant` AS `ppv` LEFT JOIN `pr_products` AS `ps` ON (`ppv`.`pr_products_idproduct` = `ps`.`idproduct` …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(31) "mysql-artplusadmin.artplus24.pl" "database" => string(8) "db178816" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool TRUE ) }
}179 //$this->Koszyk->PokazKoszyk(); 180 } 181 } 182 //After 183 184 $this->request->redirect($_SERVER['HTTP_REFERER']); 185 } 186 187 public function Action_Noproduct() { 188 echo $id_variant = $this->request->param('id'); 189 //informacje o danym wariancie
-
{PHP internal call} » Controller_Koszyk->Action_Dodaj(arguments)
0
string(0) ""
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Koszyk(14)
{ public Koszyk => object Model_Koszyk(5)
{ public produkty => array(1) ( 19407 => array(4) ( "count" => integer 1 "price" => float 341,33 "pp" => integer 0 "rabat" => integer 0 ) ) public ilosc_produktow => integer 1 public wartosc_zakupow => float 341,33 public wartosc_zakupow_pp => float 341,33 protected _db => string(7) "default" }
protected meta_title => string(43) "ARTplus24 - Aplikacje internetowe w chmurze" protected meta_desc => string(95) "Twoja chmura obliczeniowa. Wybierz domenÄ™, pakiet hostingowy i instaluj aplikacje internetowe." protected meta_key => string(128) "aplikacje internetowe, chmura, hosting, domeny, grafika, szablony, strony www, sklepy internetowe, CRM, CMS, pojekty internetowe" protected img_prod_path => string(15) "/image/product/" protected lang_changed => bool TRUE protected default_title => string(34) " - Aplikacje internetowe w chmurze" public template => object View(2){ protected _file => string(37) "/sklep/application/views/template.php" protected _data => array(5) ( "right_block" => string(0) "" "left_block" => string(20025) "<script type="text/javascript" src="/js/treeManagement.js"></script> <div id="categories_block_left" class="block"> <h4>Kate …" "koszyk_liczba" => string(4) " (0)" "animacja" => string(0) "" "lang_uri" => string(12) "koszyk/dodaj" ) }
public auto_render => bool FALSE public request => object Request(9){ public route => object Route(4)
public _lang => string(2) "pl" public _pathView => string(7) "koszyk/" public _Model => object Model_Admin_Product(18){ protected _uri => string(63) "((<lang>)(/)(<controller>(/<action>(/<id>(/<page>(/<sort>))))))" protected _regex => array(2) ( "lang" => string(4) "(sk)" "id" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "lang" => string(0) "" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(175) "#^(?:(?:(?P<lang>(sk)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<page>[^/.,;?\ …" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(6) "koszyk" public action => string(5) "dodaj" public uri => string(12) "koszyk/dodaj" protected _params => array(1) ( "lang" => string(0) "" ) }{ public pid => integer 0 public vid => integer 0 public folder => string(14) "image/product/" public folder_temp => string(5) "temp/" public size_photo => array(5) ( 0 => array(2) ( 0 => integer 800 1 => NULL ) 1 => array(2) ( 0 => integer 245 1 => integer 243 ) 2 => array(2) ( 0 => integer 174 1 => integer 194 ) 3 => array(2) ( 0 => integer 152 1 => integer 172 ) 4 => array(2) ( 0 => integer 80 1 => integer 80 ) ) public _data => NULL protected _file => NULL protected _iteration => NULL protected _src => NULL public filter_action => bool FALSE public select => NULL protected _lang => string(2) "pl" protected _aLanguage => object Database_MySQL_Result(6)
public _View => object View(2){ protected _internal_row => integer 0 protected _query => string(49) "SELECT * FROM `cms_language` WHERE `active` = '1'" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => bool TRUE }
protected _offset => integer 0 protected _limit => integer 9999999 protected _filters => string(0) "" protected _where => NULL protected _db => object Database_MySQL(6){ protected _connection_id => string(40) "28df06318cca08b0c94961b21b26262e597a43ef" protected _identifier => string(1) "`" public last_query => string(272) "SELECT * FROM `pr_product_variant` AS `ppv` LEFT JOIN `pr_products` AS `ps` ON (`ppv`.`pr_products_idproduct` = `ps`.`idproduct` …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(31) "mysql-artplusadmin.artplus24.pl" "database" => string(8) "db178816" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool TRUE ) }
}{ protected _file => NULL protected _data => array(0) }
}1
array(1) ( "lang" => string(0) "" )
1107 1108 // Determine the action to use 1109 $action = empty($this->action) ? Route::$default_action : $this->action; 1110 1111 // Execute the main action with the parameters 1112 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1113 1114 // Execute the "after action" method 1115 $class->getMethod('after')->invoke($controller); 1116 } 1117 catch (Exception $e)
-
APPPATH/bootstrap.php [ 235 ] » Kohana_Request->execute()
230 231 // Instantiate your Request object 232 $request = Request::instance(); 233 // The give it a try, to see if its a valid request 234 try { 235 $request->execute(); 236 } catch (Exception $e) { // if its not valid, it gets caught here 237 if (!IN_PRODUCTION) { // if this is Development, its displays the error 238 throw $e; 239 } 240 // if its IN_PRODUCTION, it does the following:
-
DOCROOT/index.php [ 104 ] » require(arguments)
0
string(32) "/sklep/application/bootstrap.php"
99 // Load empty core extension 100 require SYSPATH.'classes/kohana'.EXT; 101 } 102 103 // Bootstrap the application 104 require APPPATH.'bootstrap'.EXT; 105