ErrorException [ Notice ]:
APPPATH/views/products/v_one_product.php [ 19 ]
14 echo "<img src='/media/upload/".$image->source."' >";
15 }
16 ?>
17 </div>
18 <div id="product_right_site">
19 <h1><?= $one_product[0]->name; ?></h1>
20 <p><?= $one_product[0]->description; ?></p>
21 <?php
22 if (!empty($one_product[0]->delivery))
23 {
24 /*v delivery*/ ?>
-
APPPATH/views/products/v_one_product.php [ 19 ] » Kohana_Core::error_handler()
14 echo "<img src='/media/upload/".$image->source."' >"; 15 } 16 ?> 17 </div> 18 <div id="product_right_site"> 19 <h1><?= $one_product[0]->name; ?></h1> 20 <p><?= $one_product[0]->description; ?></p> 21 <?php 22 if (!empty($one_product[0]->delivery)) 23 { 24 /*v delivery*/ ?> -
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0string(87) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/products/v_one_product.php"56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean(); -
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0string(87) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/products/v_one_product.php"338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View -
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana_Exception::handler($e); -
APPPATH/views/front/permanent.php [ 58 ] » Kohana_View->__toString()
53 ?> 54 <div id="main"> 55 <div id="content-wrapper"> 56 <div id="content" class="clearfix"> 57 <?= $title; ?> 58 <?= $content ?> 59 </div> 60 </div> 61 </div> 62 </body> 63 </html> -
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0string(80) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/front/permanent.php"56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean(); -
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0string(80) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/front/permanent.php"338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View -
SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 return parent::after(); 48 } 49 -
{PHP internal call} » Kohana_Controller_Template->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 135 ] » ReflectionMethod->invoke(arguments)
0object Controller_Products(11)
{ public template => object View(2){ protected _file => string(80) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/front/permanent.php" protected _data => array(2) ( "header" => object View(2)public session => object Session_Native(5){ protected _file => string(77) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/front/header.php" protected _data => array(4) ( "main_categories" => object Database_MySQL_Result(7)"content" => object View(2){ protected _internal_row => integer 6 protected _query => string(245) "SELECT `categories_parent`.`category` AS `parent_category`, `categories`.* FROM `categories` JOIN `categories` AS `categories_pa …" protected _result => resource(mysql result) protected _total_rows => integer 6 protected _current_row => integer 6 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }"subcategories" => object Database_MySQL_Result(7){ protected _internal_row => integer 6 protected _query => string(244) "SELECT `categories_parent`.`category` AS `parent_category`, `categories`.* FROM `categories` JOIN `categories` AS `categories_pa …" protected _result => resource(mysql result) protected _total_rows => integer 6 protected _current_row => integer 6 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }"category" => array(1) ( ... ) "expanded" => bool TRUE ) }{ protected _file => string(87) "/var/www/vhosts/svenskasmycken.se/httpdocs/application/views/products/v_one_product.php" protected _data => array(11) ( "link_bottom" => string(35) "<a href='/home/login'>Logga in</a> " "to_pay" => integer 0 "in_basket" => integer 0 "currency" => string(3) "SEK" "category_link" => string(23) "/products/category/nora" "one_product" => object Database_MySQL_Result(7)) }{ protected _internal_row => integer 0 protected _query => string(1542) "SELECT `productnames`.`source_files`, `productnames`.`name`, `productnames`.`description`, `attributes`.`id` AS `attribute_id`, …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Product" protected _object_params => NULL }"matrix" => array(0) "json_matrix" => string(2) "[]" "product_id" => string(3) "108" "other_attributes" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(834) "SELECT DISTINCT `attributes`.`products_id`, `otherattributes`.`name`, `otherattributes`.`id` AS `otherattributes_id`, `othervalu …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(13) "Model_Product" protected _object_params => NULL }"images" => object Database_MySQL_Result(7){ protected _internal_row => integer 1 protected _query => string(59) "SELECT `images`.* FROM `images` WHERE `products_id` = '108'" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 1 protected _as_object => string(11) "Model_Image" protected _object_params => NULL }) }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(5) ( "last_active" => integer 1337475784 "to_pay" => integer 0 "in_basket" => integer 0 "prev_site" => string(23) "/products/category/nora" "products_filter_category" => integer 0 ) protected _destroyed => bool FALSE }public on_page => integer 20 public product_per_page => integer 1 public language_code => string(2) "se" public language_currency => string(3) "SEK" public subcategories => object Database_MySQL_Result(7){ protected _internal_row => integer 6 protected _query => string(244) "SELECT `categories_parent`.`category` AS `parent_category`, `categories`.* FROM `categories` JOIN `categories` AS `categories_pa …" protected _result => resource(mysql result) protected _total_rows => integer 6 protected _current_row => integer 6 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }public main_categories => object Database_MySQL_Result(7){ protected _internal_row => integer 6 protected _query => string(245) "SELECT `categories_parent`.`category` AS `parent_category`, `categories`.* FROM `categories` JOIN `categories` AS `categories_pa …" protected _result => resource(mysql result) protected _total_rows => integer 6 protected _current_row => integer 6 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }public auto_render => bool TRUE public request => object Request(20){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "products" protected _action => string(7) "product" protected _uri => string(20) "products/product/108" protected _external => bool FALSE protected _params => array(1) ( "id" => string(3) "108" ) protected _get => array(1) ( "kohana_uri" => string(20) "products/product/108" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1337475809 }public _injected_routes => array(0) }{ protected _status => integer 200 protected _header => object HTTP_Header(0)}{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }130 * will be removed in 3.2. 131 */ 132 $method->invokeArgs($controller, $params); 133 134 // Execute the "after action" method 135 $class->getMethod('after')->invoke($controller); 136 137 // Stop response time 138 $this->_response_time = (time() - $this->_response_time); 139 140 // Add the default Content-Type header to initial request if not present -
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)
0object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5){ protected _callback => NULL protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "products" protected _action => string(7) "product" protected _uri => string(20) "products/product/108" protected _external => bool FALSE protected _params => array(1) ( "id" => string(3) "108" ) protected _get => array(1) ( "kohana_uri" => string(20) "products/product/108" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1337475809 }public _injected_routes => array(0) }1133 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests. -
DOCROOT/index.php [ 109 ] » Kohana_Request->execute()
104 /** 105 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 106 * If no source is specified, the URI will be automatically detected. 107 */ 108 echo Request::factory() 109 ->execute() 110 ->send_headers() 111 ->body();
Environment
Included files (104)
DOCROOT/index.php |
APPPATH/bootstrap.php |
SYSPATH/classes/kohana/core.php |
SYSPATH/classes/kohana.php |
SYSPATH/classes/i18n.php |
SYSPATH/classes/kohana/i18n.php |
SYSPATH/classes/kohana/exception.php |
SYSPATH/classes/kohana/kohana/exception.php |
SYSPATH/classes/log.php |
SYSPATH/classes/kohana/log.php |
SYSPATH/classes/config.php |
SYSPATH/classes/kohana/config.php |
SYSPATH/classes/log/file.php |
SYSPATH/classes/kohana/log/file.php |
SYSPATH/classes/log/writer.php |
SYSPATH/classes/kohana/log/writer.php |
SYSPATH/classes/config/file.php |
SYSPATH/classes/kohana/config/file.php |
SYSPATH/classes/config/reader.php |
SYSPATH/classes/kohana/config/reader.php |
SYSPATH/classes/route.php |
SYSPATH/classes/kohana/route.php |
SYSPATH/classes/request.php |
SYSPATH/classes/kohana/request.php |
SYSPATH/classes/http/request.php |
SYSPATH/classes/kohana/http/request.php |
SYSPATH/classes/http/interaction.php |
SYSPATH/classes/kohana/http/interaction.php |
SYSPATH/classes/http/header.php |
SYSPATH/classes/kohana/http/header.php |
SYSPATH/classes/arr.php |
SYSPATH/classes/kohana/arr.php |
SYSPATH/classes/request/client/internal.php |
SYSPATH/classes/kohana/request/client/internal.php |
SYSPATH/classes/request/client.php |
SYSPATH/classes/kohana/request/client.php |
SYSPATH/classes/profiler.php |
SYSPATH/classes/kohana/profiler.php |
APPPATH/classes/controller/products.php |
APPPATH/classes/controller/common.php |
SYSPATH/classes/controller/template.php |
SYSPATH/classes/kohana/controller/template.php |
SYSPATH/classes/controller.php |
SYSPATH/classes/kohana/controller.php |
SYSPATH/classes/response.php |
SYSPATH/classes/kohana/response.php |
SYSPATH/classes/http/response.php |
SYSPATH/classes/kohana/http/response.php |
SYSPATH/classes/view.php |
SYSPATH/classes/kohana/view.php |
SYSPATH/classes/session.php |
SYSPATH/classes/kohana/session.php |
SYSPATH/config/session.php |
MODPATH/database/config/session.php |
SYSPATH/classes/session/native.php |
SYSPATH/classes/kohana/session/native.php |
SYSPATH/classes/cookie.php |
SYSPATH/classes/kohana/cookie.php |
APPPATH/config/config.php |
APPPATH/classes/model/category.php |
MODPATH/orm/classes/orm.php |
MODPATH/orm/classes/kohana/orm.php |
SYSPATH/classes/model.php |
SYSPATH/classes/kohana/model.php |
SYSPATH/classes/inflector.php |
SYSPATH/classes/kohana/inflector.php |
SYSPATH/config/inflector.php |
MODPATH/database/classes/database.php |
MODPATH/database/classes/kohana/database.php |
MODPATH/database/config/database.php |
APPPATH/config/database.php |
MODPATH/database/classes/database/mysql.php |
MODPATH/database/classes/kohana/database/mysql.php |
MODPATH/database/classes/database/mysql/result.php |
MODPATH/database/classes/kohana/database/mysql/result.php |
MODPATH/database/classes/database/result.php |
MODPATH/database/classes/kohana/database/result.php |
MODPATH/database/classes/db.php |
MODPATH/database/classes/kohana/db.php |
MODPATH/database/classes/database/query/builder/select.php |
MODPATH/database/classes/kohana/database/query/builder/select.php |
MODPATH/database/classes/database/query/builder/where.php |
MODPATH/database/classes/kohana/database/query/builder/where.php |
MODPATH/database/classes/database/query/builder.php |
MODPATH/database/classes/kohana/database/query/builder.php |
MODPATH/database/classes/database/query.php |
MODPATH/database/classes/kohana/database/query.php |
MODPATH/database/classes/database/query/builder/join.php |
MODPATH/database/classes/kohana/database/query/builder/join.php |
APPPATH/i18n/se.php |
APPPATH/classes/model/product.php |
APPPATH/classes/model/image.php |
APPPATH/views/front/permanent.php |
APPPATH/views/front/header.php |
APPPATH/views/products/v_one_product.php |
SYSPATH/classes/debug.php |
SYSPATH/classes/kohana/debug.php |
SYSPATH/classes/date.php |
SYSPATH/classes/kohana/date.php |
SYSPATH/views/kohana/error.php |
SYSPATH/classes/html.php |
SYSPATH/classes/kohana/html.php |
SYSPATH/classes/utf8.php |
SYSPATH/classes/kohana/utf8.php |
Loaded extensions (48)
date |
libxml |
openssl |
pcre |
zlib |
bz2 |
calendar |
ctype |
hash |
filter |
ftp |
gettext |
gmp |
session |
iconv |
pcntl |
readline |
Reflection |
standard |
shmop |
SimpleXML |
SPL |
sockets |
exif |
tokenizer |
xml |
cgi-fcgi |
imagick |
curl |
dbase |
dom |
gd |
htscanner |
imap |
json |
mbstring |
mcrypt |
mysql |
mysqli |
PDO |
pdo_mysql |
pdo_sqlite |
soap |
wddx |
xmlreader |
xmlwriter |
xsl |
zip |
$_SESSION
last_active |
integer 1337475784 |
to_pay |
integer 0 |
in_basket |
integer 0 |
prev_site |
string(23) "/products/category/nora" |
products_filter_category |
integer 0 |
$_GET
kohana_uri |
string(20) "products/product/108" |
$_COOKIE
$_SERVER
DOCUMENT_ROOT |
string(42) "/var/www/vhosts/svenskasmycken.se/httpdocs" |
GATEWAY_INTERFACE |
string(7) "CGI/1.1" |
HTTP_ACCEPT |
string(83) "text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" |
HTTP_ACCEPT_CHARSET |
string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" |
HTTP_ACCEPT_ENCODING |
string(4) "gzip" |
HTTP_ACCEPT_LANGUAGE |
string(14) "en-us,en;q=0.5" |
HTTP_CACHE_CONTROL |
string(8) "no-cache" |
HTTP_CONNECTION |
string(5) "close" |
HTTP_COOKIE |
string(40) "session=d401e0b1ff522c0853faf71a5375eeae" |
HTTP_HOST |
string(21) "www.svenskasmycken.se" |
HTTP_PRAGMA |
string(8) "no-cache" |
HTTP_USER_AGENT |
string(48) "CCBot/1.0 (+http://www.commoncrawl.org/bot.html)" |
HTTP_X_CC_ID |
string(8) "ccc01-02" |
PATH |
string(4) "/bin" |
QUERY_STRING |
string(31) "kohana_uri=products/product/108" |
REDIRECT_QUERY_STRING |
string(31) "kohana_uri=products/product/108" |
REDIRECT_STATUS |
string(3) "200" |
REDIRECT_URL |
string(21) "/products/product/108" |
REMOTE_ADDR |
string(14) "38.107.179.210" |
REMOTE_PORT |
string(5) "53293" |
REQUEST_METHOD |
string(3) "GET" |
REQUEST_URI |
string(21) "/products/product/108" |
SCRIPT_FILENAME |
string(52) "/var/www/vhosts/svenskasmycken.se/httpdocs/index.php" |
SCRIPT_NAME |
string(10) "/index.php" |
SERVER_ADDR |
string(14) "213.180.89.103" |
SERVER_ADMIN |
string(22) "rickard@prospertis.com" |
SERVER_NAME |
string(21) "www.svenskasmycken.se" |
SERVER_PORT |
string(2) "80" |
SERVER_PROTOCOL |
string(8) "HTTP/1.1" |
SERVER_SIGNATURE |
string(81) "<address>Apache/2.2.3 (CentOS) Server at www.svenskasmycken.se Port 80</address>
" |
SERVER_SOFTWARE |
string(21) "Apache/2.2.3 (CentOS)" |
PHP_SELF |
string(10) "/index.php" |
REQUEST_TIME |
integer 1337475809 |
argv |
array(1) ( 0 => string(31) "kohana_uri=products/product/108" ) |
argc |
integer 1 |