APPPATH/classes/Controller/Index/Reviews.php [ 79 ]
74 ->bind('pagination', $pagination)
75 ->bind('reviews', $reviews)
76 ->bind('sort', $sort);
77
78 $this->template->page_title = 'Отзывы. '.$seo->seo_meta_title;
79 $this->template->page_description = $reviews[0]->review_content;
80 $this->template->block_top_12 = array($content);
81
82 }
83
84 public function action_more() {
-
APPPATH/classes/Controller/Index/Reviews.php [ 79 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(53) "Trying to get property 'review_content' of non-object"
2
string(81) "/home/armb168327/armbio.bio/docs/application/classes/Controller/Index/Reviews.php"
3
integer 79
4
array(14) ( "reviewsbacks" => object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"get" => string(9) "piracetam" "seo" => object Model_Seo(34){ }
protected _body => string(3140) "<div class="modal-header"> <h5 class="modal-title">Оставьте отзыв</h5> </div> <div …" protected _cookies => array(0) protected _protocol => NULL }{ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "id" => string(2) "16" "seo_meta_title" => string(18) "Пирацетам" "seo_meta_description" => string(18) "Пирацетам" "seo_url" => string(9) "piracetam" "seo_last_update" => string(25) "Wed, 20 Mar 2024 05:26:47" ) protected _changed => array(0) protected _original_values => array(5) ( "id" => string(2) "16" "seo_meta_title" => string(18) "Пирацетам" "seo_meta_description" => string(18) "Пирацетам" "seo_url" => string(9) "piracetam" "seo_last_update" => string(25) "Wed, 20 Mar 2024 05:26:47" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(3) "seo" protected _object_plural => string(4) "seos" protected _table_name => string(4) "seos" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "seo_meta_title" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "seo_meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "70" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "seo_meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(20) "seo_meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "seo_url" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "seo_url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "500" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "seo_last_update" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "seo_last_update" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "30" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "16" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"product" => object Model_Product(34){ protected _connection_id => string(40) "6ab7f1beceba854cb8f44d14fce4d9cf766a549c" protected _identifier => string(1) "`" public last_query => string(494) "SELECT `products`.*, `review`.`id` AS `id`, `review`.`cat_id` AS `cat_id`, `review`.`subcat_id` AS `subcat_id`, `review`.`produc …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(3) "seo" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(14) "armb168327_abf" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _has_many => array(6) ( "cat" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "cats_products" "far_key" => string(6) "cat_id" "model" => string(3) "Cat" ) "pharm" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(15) "pharms_products" "far_key" => string(8) "pharm_id" "model" => string(5) "Pharm" ) "changepharm" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(21) "changepharms_products" "far_key" => string(14) "changepharm_id" "model" => string(11) "Changepharm" ) "image" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(15) "products_images" "far_key" => string(8) "image_id" "model" => string(5) "Image" ) "icon" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "products_icons" "far_key" => string(7) "icon_id" "model" => string(4) "Icon" ) "new" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "products_news" "far_key" => string(6) "new_id" "model" => string(3) "New" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(13) ( "id" => string(1) "3" "cat_id" => string(1) "2" "subcat_id" => string(1) "8" "seo_id" => string(2) "16" "product_public" => string(1) "1" "product_top" => string(1) "1" "product_order" => string(1) "0" "product_title" => string(18) "Пирацетам" "product_content" => string(906) "<table class="table table-borderless"> <tbody> <tr> <td> МНН:</td> <td> Пирацетам</td> </tr> <tr> <td> …" "product_instruction" => string(0) "" "product_note_one" => string(0) "" "product_note_two" => string(0) "" "product_note_three" => string(0) "" ) protected _changed => array(0) protected _original_values => array(13) ( "id" => string(1) "3" "cat_id" => string(1) "2" "subcat_id" => string(1) "8" "seo_id" => string(2) "16" "product_public" => string(1) "1" "product_top" => string(1) "1" "product_order" => string(1) "0" "product_title" => string(18) "Пирацетам" "product_content" => string(906) "<table class="table table-borderless"> <tbody> <tr> <td> МНН:</td> <td> Пирацетам</td> </tr> <tr> <td> …" "product_instruction" => string(0) "" "product_note_one" => string(0) "" "product_note_two" => string(0) "" "product_note_three" => string(0) "" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(13) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "cat_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "cat_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "subcat_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "subcat_id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "seo_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "seo_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_public" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(14) "product_public" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_top" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "product_top" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "product_order" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_title" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "product_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "256" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "product_content" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_instruction" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(19) "product_instruction" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_note_one" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "product_note_one" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_note_two" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "product_note_two" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_note_three" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "product_note_three" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "3" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"count" => string(1) "0" "pagination" => object Pagination(15){ protected _connection_id => string(40) "6ab7f1beceba854cb8f44d14fce4d9cf766a549c" protected _identifier => string(1) "`" public last_query => string(494) "SELECT `products`.*, `review`.`id` AS `id`, `review`.`cat_id` AS `cat_id`, `review`.`subcat_id` AS `subcat_id`, `review`.`produc …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(7) "product" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(14) "armb168327_abf" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected config => array(6) ( "total_items" => string(1) "0" "current_page" => array(2) ( "source" => string(5) "route" "key" => string(4) "page" ) "items_per_page" => integer 15 "view" => string(19) "pagination/floating" "auto_hide" => bool FALSE "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 15 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 protected _request => object Request(19)
"reviews" => object Database_MySQLi_Result(7){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(35) "http://armbio.bio/reviews/piracetam" protected _route => object Route(5)
protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Reviews" protected _action => string(5) "index" protected _uri => string(17) "reviews/piracetam" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "piracetam" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _route_params => array(2) ( "controller" => string(7) "Reviews" "id" => string(9) "piracetam" ) }{ protected _internal_row => integer 0 protected _query => string(494) "SELECT `products`.*, `review`.`id` AS `id`, `review`.`cat_id` AS `cat_id`, `review`.`subcat_id` AS `subcat_id`, `review`.`produc …" protected _result => object mysqli_result(5)
"last_modified" => string(25) "Wed, 20 Mar 2024 05:26:47" "content" => object View(2){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Review" protected _object_params => NULL }{ protected _file => string(82) "/home/armb168327/armbio.bio/docs/application/views/index/reviews/v_reviews_all.php" protected _data => array(10) ( "reviewsbacks" => object Response(5)
"count_page" => NULL "site_name" => NULL "cat_list" => NULL "list_url" => NULL "sort" => NULL ){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"count" => string(1) "0" "count_page" => NULL "product" => object Model_Product(34){ }
protected _body => string(3140) "<div class="modal-header"> <h5 class="modal-title">Оставьте отзыв</h5> </div> <div …" protected _cookies => array(0) protected _protocol => NULL }{ protected _has_many => array(6) ( "cat" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "cats_products" "far_key" => string(6) "cat_id" "model" => string(3) "Cat" ) "pharm" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(15) "pharms_products" "far_key" => string(8) "pharm_id" "model" => string(5) "Pharm" ) "changepharm" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(21) "changepharms_products" "far_key" => string(14) "changepharm_id" "model" => string(11) "Changepharm" ) "image" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(15) "products_images" "far_key" => string(8) "image_id" "model" => string(5) "Image" ) "icon" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(14) "products_icons" "far_key" => string(7) "icon_id" "model" => string(4) "Icon" ) "new" => array(4) ( "foreign_key" => string(10) "product_id" "through" => string(13) "products_news" "far_key" => string(6) "new_id" "model" => string(3) "New" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(13) ( "id" => string(1) "3" "cat_id" => string(1) "2" "subcat_id" => string(1) "8" "seo_id" => string(2) "16" "product_public" => string(1) "1" "product_top" => string(1) "1" "product_order" => string(1) "0" "product_title" => string(18) "Пирацетам" "product_content" => string(906) "<table class="table table-borderless"> <tbody> <tr> <td> МНН:</td> <td> Пирацетам</td> </tr> <tr> <td> …" "product_instruction" => string(0) "" "product_note_one" => string(0) "" "product_note_two" => string(0) "" "product_note_three" => string(0) "" ) protected _changed => array(0) protected _original_values => array(13) ( "id" => string(1) "3" "cat_id" => string(1) "2" "subcat_id" => string(1) "8" "seo_id" => string(2) "16" "product_public" => string(1) "1" "product_top" => string(1) "1" "product_order" => string(1) "0" "product_title" => string(18) "Пирацетам" "product_content" => string(906) "<table class="table table-borderless"> <tbody> <tr> <td> МНН:</td> <td> Пирацетам</td> </tr> <tr> <td> …" "product_instruction" => string(0) "" "product_note_one" => string(0) "" "product_note_two" => string(0) "" "product_note_three" => string(0) "" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "product" protected _object_plural => string(8) "products" protected _table_name => string(8) "products" protected _table_columns => array(13) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "cat_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "cat_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "subcat_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "subcat_id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "seo_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "seo_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_public" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(14) "product_public" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_top" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "product_top" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "product_order" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_title" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "product_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "256" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "product_content" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_instruction" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(19) "product_instruction" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_note_one" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "product_note_one" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_note_two" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "product_note_two" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "product_note_three" => array(12) ( "type" => string(6) "string" "column_name" => string(18) "product_note_three" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "3" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"site_name" => NULL "cat_list" => NULL "list_url" => NULL "pagination" => object Pagination(15){ protected _connection_id => string(40) "6ab7f1beceba854cb8f44d14fce4d9cf766a549c" protected _identifier => string(1) "`" public last_query => string(494) "SELECT `products`.*, `review`.`id` AS `id`, `review`.`cat_id` AS `cat_id`, `review`.`subcat_id` AS `subcat_id`, `review`.`produc …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(7) "product" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(14) "armb168327_abf" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected config => array(6) ( "total_items" => string(1) "0" "current_page" => array(2) ( "source" => string(5) "route" "key" => string(4) "page" ) "items_per_page" => integer 15 "view" => string(19) "pagination/floating" "auto_hide" => bool FALSE "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 15 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 protected _request => object Request(19)
"reviews" => object Database_MySQLi_Result(7){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(35) "http://armbio.bio/reviews/piracetam" protected _route => object Route(5)
protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Reviews" protected _action => string(5) "index" protected _uri => string(17) "reviews/piracetam" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "piracetam" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _route_params => array(2) ( "controller" => string(7) "Reviews" "id" => string(9) "piracetam" ) }{ protected _internal_row => integer 0 protected _query => string(494) "SELECT `products`.*, `review`.`id` AS `id`, `review`.`cat_id` AS `cat_id`, `review`.`subcat_id` AS `subcat_id`, `review`.`produc …" protected _result => object mysqli_result(5)
"sort" => NULL ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Review" protected _object_params => NULL }74 ->bind('pagination', $pagination) 75 ->bind('reviews', $reviews) 76 ->bind('sort', $sort); 77 78 $this->template->page_title = 'Отзывы. '.$seo->seo_meta_title; 79 $this->template->page_description = $reviews[0]->review_content; 80 $this->template->block_top_12 = array($content); 81 82 } 83 84 public function action_more() {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Reviews->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Index_Reviews(5)
{ public template => object View(2)
{ protected _file => string(61) "/home/armb168327/armbio.bio/docs/application/views/v_base.php" protected _data => array(19) ( "page_title" => string(32) "Отзывы. Пирацетам" "page_description" => NULL "page_keywords" => NULL "block_head" => array(2) ( 0 => object Response(5)
protected session => object Session_Native(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
1 => object Response(5){ }
protected _body => string(986) "<div class="col-sm-4 col-md-4 col-lg-4 p-2 text-dark licaroune"> +7 (86195) 4-10-26 <div> <small class="text-muted" …" protected _cookies => array(0) protected _protocol => NULL }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "block_find" => NULL "block_top_menu" => array(1) ( 0 => object Response(5){ }
protected _body => string(8715) "<div class="modal fade" id="myCall" tabindex="-1" role="dialog" aria-labelledby="myCallLabel" aria-hidden="true"> <div class …" protected _cookies => array(0) protected _protocol => NULL }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "block_footer_menu" => NULL "block_body_top_12" => NULL "block_body_middle_12" => NULL "block_body_catalog_left" => NULL "block_body_catalog_right" => NULL "block_body_catalog_product" => NULL "block_body_left_8" => NULL "block_body_right_4" => NULL "block_body_bottom_12" => NULL "block_script" => array(1) ( 0 => object Response(5){ }
protected _body => string(5392) "<!-- Горизонтальное меню --> <div class="col-sm-12 col-md-8 py-4 notop"> <div class="row"> <div class="col …" protected _cookies => array(0) protected _protocol => NULL }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "block_footer" => array(1) ( 0 => object Response(5){ }
protected _body => string(798) "<!-- Скрипты аналитики --> <!-- Yandex.Metrika counter --> <script type="text/javascript" > (function(m,e,t,r,i,k,a){m[i …" protected _cookies => array(0) protected _protocol => NULL }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "site_name" => string(17) "http://armbio.bio" "block_center" => NULL ) }{ }
protected _body => string(7368) "<footer class="text-muted" style="bottom: 0px;"> <div class="container"> <div class="container inlineform"> …" protected _cookies => array(0) protected _protocol => NULL }{ protected _name => string(7) "session" protected _lifetime => integer 43200 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(35) "http://armbio.bio/reviews/piracetam" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Reviews" protected _action => string(5) "index" protected _uri => string(17) "reviews/piracetam" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "piracetam" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(4)
}{ public cache-control => string(35) "no-store, no-cache, must-revalidate" public expires => string(29) "Thu, 11 Apr 2024 18:04:25 GMT" public last-modified => string(29) "Wed, 20 Mar 2024 05:26:47 GMT" public pragma => string(8) "no-cache" }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(35) "http://armbio.bio/reviews/piracetam" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Reviews" protected _action => string(5) "index" protected _uri => string(17) "reviews/piracetam" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "piracetam" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(4)
{ public cache-control => string(35) "no-store, no-cache, must-revalidate" public expires => string(29) "Thu, 11 Apr 2024 18:04:25 GMT" public last-modified => string(29) "Wed, 20 Mar 2024 05:26:47 GMT" public pragma => string(8) "no-cache" }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(35) "http://armbio.bio/reviews/piracetam" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(26) "reviews/<id>(/page_<page>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "index" "controller" => string(7) "reviews" "action" => string(5) "index" ) protected _route_regex => string(67) "#^reviews/(?P<id>[^/.,;?\n]++)(?:/page_(?P<page>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(7) "Reviews" protected _action => string(5) "index" protected _uri => string(17) "reviews/piracetam" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "piracetam" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }