APPPATH/classes/Macro.php [ 67 ]
62 { ?>
63
64 <form id="order-form" role="form" autocomplete="off" method="post" action="/">
65 <div class="form-group">
66 <label for="email" class="not-visible">Your email</label>
67 <input type="email" class="form-control" id="email" name="email" placeholder="Your email" value="<?php echo $post['email']; ?>">
68 <?php Macro::form_glyphicons('email', $errors); ?>
69 </div>
70 <div class="form-group">
71 <label for="name" class="not-visible">Your name</label>
72 <input type="name" class="form-control" id="name" name="name" placeholder="Your name" value="<?php echo $post['name']; ?>">
-
APPPATH/classes/Macro.php [ 67 ] » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(51) "Trying to access array offset on value of type null"
2
string(75) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/classes/Macro.php"
3
integer 67
62 { ?> 63 64 <form id="order-form" role="form" autocomplete="off" method="post" action="/"> 65 <div class="form-group"> 66 <label for="email" class="not-visible">Your email</label> 67 <input type="email" class="form-control" id="email" name="email" placeholder="Your email" value="<?php echo $post['email']; ?>"> 68 <?php Macro::form_glyphicons('email', $errors); ?> 69 </div> 70 <div class="form-group"> 71 <label for="name" class="not-visible">Your name</label> 72 <input type="name" class="form-control" id="name" name="name" placeholder="Your name" value="<?php echo $post['name']; ?>">
-
APPPATH/views/home.php [ 36 ] » Macro::order_form(arguments)
0
NULL
1
NULL
31 <div class="album-price"> 32 <span>Kings & Dreams album: <strong>120 SEK</strong> / <strong>$18</strong></span> 33 <span style="font-size:10px;color:#ccc;">(Shipping: Sweden 20 SEK, Outside Sweden 40 SEK / $6)</span> 34 </div> 35 36 <?php Macro::order_form($post, $errors); ?> 37 38 <?php } ?> 39 40 </div> 41
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(72) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/home.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 [ 348 ] » Kohana_View::capture(arguments)
0
string(72) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/home.php"
1
array(3) ( "articles" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 0 protected _query => string(213) "SELECT `article`.`id` AS `id`, `article`.`user_id` AS `user_id`, `article`.`date` AS `date`, `article`.`title` AS `title`, `arti …" protected _result => object mysqli_result(5)
"errors" => NULL "post" => NULL ){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(13) "Model_Article" protected _object_params => NULL }343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
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 /** 233 * Display the exception message.
-
APPPATH/views/templates/template.php [ 29 ] » Kohana_View->__toString()
24 25 </head> 26 <body data-type="background" data-speed="2"> 27 28 <?php echo (isset($header)) ? $header : ''; ?> 29 <?php echo (isset($content)) ? $content : ''; ?> 30 <?php echo (isset($footer)) ? $footer : ''; ?> 31 32 </body> 33 </html>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(86) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/template.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 [ 348 ] » Kohana_View::capture(arguments)
0
string(86) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/template.php"
1
array(6) ( "styles" => array(7) ( 0 => string(48) "http://fonts.googleapis.com/css?family=Marcellus" 1 => string(18) "media/css/main.css" 2 => string(18) "media/css/news.css" 3 => string(20) "media/css/lyrics.css" 4 => string(23) "media/css/galleries.css" 5 => string(26) "media/css/social-media.css" 6 => string(20) "media/css/footer.css" ) "scripts" => array(4) ( 0 => string(65) "https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" 1 => string(67) "https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" 2 => string(30) "media/js/jquery.jplayer.min.js" 3 => string(16) "media/js/main.js" ) "header" => object View(2)
{ protected _file => string(84) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/header.php" protected _data => array(1) ( "menu" => object View(2)
"footer" => object View(2){ protected _file => string(82) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/menu.php" protected _data => array(0) }
) }{ protected _file => string(84) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/footer.php" protected _data => array(1) ( "copyright_years" => string(58) "2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023" ) }
"title" => string(4) "Home" "content" => object View(2){ protected _file => string(72) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/home.php" protected _data => array(3) ( "articles" => object Database_MySQLi_Result(7)
){ protected _internal_row => integer 0 protected _query => string(213) "SELECT `article`.`id` AS `id`, `article`.`user_id` AS `user_id`, `article`.`date` AS `date`, `article`.`title` AS `title`, `arti …" protected _result => object mysqli_result(5)
"errors" => NULL "post" => NULL ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(13) "Model_Article" protected _object_params => NULL }343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
APPPATH/classes/Controller/Templates/Template.php [ 37 ] » Kohana_View->render()
32 */ 33 public function after() 34 { 35 if ($this->auto_render === TRUE) 36 { 37 $this->response->body($this->template->render()); 38 } 39 40 parent::after(); 41 } 42
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Templates_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Home(4)
{ public template => object View(2)
{ protected _file => string(86) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/template.php" protected _data => array(6) ( "styles" => array(7) ( 0 => string(48) "http://fonts.googleapis.com/css?family=Marcellus" 1 => string(18) "media/css/main.css" 2 => string(18) "media/css/news.css" 3 => string(20) "media/css/lyrics.css" 4 => string(23) "media/css/galleries.css" 5 => string(26) "media/css/social-media.css" 6 => string(20) "media/css/footer.css" ) "scripts" => array(4) ( 0 => string(65) "https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" 1 => string(67) "https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" 2 => string(30) "media/js/jquery.jplayer.min.js" 3 => string(16) "media/js/main.js" ) "header" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(84) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/header.php" protected _data => array(1) ( "menu" => object View(2)
"footer" => object View(2){ protected _file => string(82) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/menu.php" protected _data => array(0) }
) }{ protected _file => string(84) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/templates/footer.php" protected _data => array(1) ( "copyright_years" => string(58) "2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023" ) }
"title" => string(4) "Home" "content" => object View(2){ protected _file => string(72) "/customers/a/a/c/kingsanddreams.net/httpd.www/application/views/home.php" protected _data => array(3) ( "articles" => object Database_MySQLi_Result(7)
) }{ protected _internal_row => integer 0 protected _query => string(213) "SELECT `article`.`id` AS `id`, `article`.`user_id` AS `user_id`, `article`.`date` AS `date`, `article`.`title` AS `title`, `arti …" protected _result => object mysqli_result(5)
"errors" => NULL "post" => NULL ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(13) "Model_Article" protected _object_params => NULL }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) 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 => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Home" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) 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(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }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.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) 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 => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Home" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) 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(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 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 [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) 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 => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Home" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) 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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 120 ] » Kohana_Request->execute()
115 /** 116 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 117 * If no source is specified, the URI will be automatically detected. 118 */ 119 echo Request::factory(TRUE, array(), FALSE) 120 ->execute() 121 ->send_headers(TRUE) 122 ->body(); 123 } 124 125