/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/common/classes/model/texts.php [ 8 ]
3 class Model_Texts extends Model_Database {
4 public function get($id)
5 {
6 $q = DB::select()->from('texts')->where('id','=',$id)->execute()->current();
7
8 return unserialize($q['contents']);
9 }
10
11 public function insert($id, $contents)
12 {
13 $query = DB::insert('texts', array('id', 'contents'))->values(array($id, $contents))->execute();
-
/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/common/classes/model/texts.php [ 8 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(51) "Trying to access array offset on value of type null"
2
string(90) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/common/classes/model/texts.php"
3
integer 8
4
array(2) ( "id" => string(9) "projects1" "q" => NULL )
3 class Model_Texts extends Model_Database { 4 public function get($id) 5 { 6 $q = DB::select()->from('texts')->where('id','=',$id)->execute()->current(); 7 8 return unserialize($q['contents']); 9 } 10 11 public function insert($id, $contents) 12 { 13 $query = DB::insert('texts', array('id', 'contents'))->values(array($id, $contents))->execute();
-
APPPATH/views/projects/home.php [ 2 ] » Model_Texts->get(arguments)
0
string(9) "projects1"
1 <?php 2 $t1 = $texts->get('projects1'); 3 ?> 4 <br><br> 5 <!-- Feature Product --> 6 <Section id="featured-products" class="featured-products"> 7 <!-- container -->
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(95) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/projects/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 [ 343 ] » Kohana_View::capture(arguments)
0
string(95) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/projects/home.php"
1
array(1) ( "products" => array(5) ( 0 => array(9) ( "id" => string(1) "2" "category_id" => string(1) "0" "name" => string(22) "Heron Live Hotel *****" "slug" => string(16) "heron-live-hotel" "description_long" => string(1219) "<p style="text-align: center;"> <span style="font-family:arial,helvetica,sans-serif;">Розташований в Малопольщі в селі Сієнна H …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "710" "project_id" => string(1) "2" "photo" => string(30) "56e7331d6ea27_heron-strona.jpg" "thumb" => string(36) "thumb_56e7331d6ea27_heron-strona.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "1" ) 1 => array(9) ( "id" => string(1) "3" "category_id" => string(1) "0" "name" => string(11) "EuroHotels " "slug" => string(10) "eurohotels" "description_long" => string(962) "<p> Чудовий готель, розташований в тихому та затишному місці. Його місце знаходження дає можливість так активно відпочити як і …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "718" "project_id" => string(1) "3" "photo" => string(19) "56e83d2f63584_4.jpg" "thumb" => string(25) "thumb_56e83d2f63584_4.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "2" ) 2 => array(9) ( "id" => string(1) "4" "category_id" => string(1) "0" "name" => string(92) "Чемпіонат Польщі Бізнесу, Митців і Спорту в Снукер" "slug" => string(53) "chempionat-polьschi-biznesu-mitciv-i-sportu-v-snuker" "description_long" => string(1268) "<p> Вже завтра, тобто 20.05.2016 р. починається в Heron Live Hotel перший чемпіонат Польщі Бізнесу Митців і Спорту в Снукер. Ми …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "725" "project_id" => string(1) "4" "photo" => string(24) "573e251117bf1_logooo.jpg" "thumb" => string(30) "thumb_573e251117bf1_logooo.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "3" ) 3 => array(9) ( "id" => string(1) "5" "category_id" => string(1) "0" "name" => string(30) "Hot Shots Music Club & Bilard " "slug" => string(27) "hot-shots-music-club-bilard" "description_long" => string(1303) "<p> Наступна по черзі реалізація нашої Марки, це справді тільки її початок. Перший стіл до пул більярда 9 ft був встановлен в к …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "743" "project_id" => string(1) "5" "photo" => string(62) "5791c77e9e809_1353324211841556316049441453715328981549771n.jpg" "thumb" => string(68) "thumb_5791c77e9e809_1353324211841556316049441453715328981549771n.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "4" ) 4 => array(9) ( "id" => string(1) "6" "category_id" => string(1) "0" "name" => string(39) "Йордановська Галерея" "slug" => string(22) "yordanovsьka-galereya" "description_long" => string(1348) "<p> Галерея розташована в центрі Йорданова у малопльскому воєвідстві. Вона єднає в собі не тільки торговельний простір, тому що …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "750" "project_id" => string(1) "6" "photo" => string(21) "58500324d2fa1_tlo.png" "thumb" => string(27) "thumb_58500324d2fa1_tlo.png" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "5" ) ) )
338 { 339 throw new 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/template.php [ 142 ] » Kohana_View->__toString()
137 </div><!-- container /- --> 138 </div><!-- menu-block /- --> 139 </header> 140 <!-- Header Section /- --> 141 142 <?php echo $body; ?> 143 144 <br><br><!-- Our Partner --> 145 <div id="our-partner-section" class="our-partner-section"> 146 <!-- container --> 147 <div class="container">
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(90) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/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 [ 343 ] » Kohana_View::capture(arguments)
0
string(90) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/template.php"
1
array(4) ( "styles" => array(0) "scripts" => array(0) "linktags" => array(0) "body" => object View(2)
{ protected _file => string(95) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/projects/home.php" protected _data => array(1) ( "products" => array(5) ( 0 => array(9) ( "id" => string(1) "2" "category_id" => string(1) "0" "name" => string(22) "Heron Live Hotel *****" "slug" => string(16) "heron-live-hotel" "description_long" => string(1219) "<p style="text-align: center;"> <span style="font-family:arial,helvetica,sans-serif;">Розташований в Малопольщі в селі Сієнна H …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "710" "project_id" => string(1) "2" "photo" => string(30) "56e7331d6ea27_heron-strona.jpg" "thumb" => string(36) "thumb_56e7331d6ea27_heron-strona.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "1" ) 1 => array(9) ( "id" => string(1) "3" "category_id" => string(1) "0" "name" => string(11) "EuroHotels " "slug" => string(10) "eurohotels" "description_long" => string(962) "<p> Чудовий готель, розташований в тихому та затишному місці. Його місце знаходження дає можливість так активно відпочити як і …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "718" "project_id" => string(1) "3" "photo" => string(19) "56e83d2f63584_4.jpg" "thumb" => string(25) "thumb_56e83d2f63584_4.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "2" ) 2 => array(9) ( "id" => string(1) "4" "category_id" => string(1) "0" "name" => string(92) "Чемпіонат Польщі Бізнесу, Митців і Спорту в Снукер" "slug" => string(53) "chempionat-polьschi-biznesu-mitciv-i-sportu-v-snuker" "description_long" => string(1268) "<p> Вже завтра, тобто 20.05.2016 р. починається в Heron Live Hotel перший чемпіонат Польщі Бізнесу Митців і Спорту в Снукер. Ми …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "725" "project_id" => string(1) "4" "photo" => string(24) "573e251117bf1_logooo.jpg" "thumb" => string(30) "thumb_573e251117bf1_logooo.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "3" ) 3 => array(9) ( "id" => string(1) "5" "category_id" => string(1) "0" "name" => string(30) "Hot Shots Music Club & Bilard " "slug" => string(27) "hot-shots-music-club-bilard" "description_long" => string(1303) "<p> Наступна по черзі реалізація нашої Марки, це справді тільки її початок. Перший стіл до пул більярда 9 ft був встановлен в к …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "743" "project_id" => string(1) "5" "photo" => string(62) "5791c77e9e809_1353324211841556316049441453715328981549771n.jpg" "thumb" => string(68) "thumb_5791c77e9e809_1353324211841556316049441453715328981549771n.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "4" ) 4 => array(9) ( "id" => string(1) "6" "category_id" => string(1) "0" "name" => string(39) "Йордановська Галерея" "slug" => string(22) "yordanovsьka-galereya" "description_long" => string(1348) "<p> Галерея розташована в центрі Йорданова у малопльскому воєвідстві. Вона єднає в собі не тільки торговельний простір, тому що …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "750" "project_id" => string(1) "6" "photo" => string(21) "58500324d2fa1_tlo.png" "thumb" => string(27) "thumb_58500324d2fa1_tlo.png" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "5" ) ) ) }
)338 { 339 throw new 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 parent::after(); 48 } 49
-
APPPATH/classes/controller/site.php [ 32 ] » Kohana_Controller_Template->after()
27 } 28 29 public function after() { 30 View::set_global('page_title', $this->page_title); 31 32 parent::after(); 33 } 34 35 public function add_to_title($addition) { 36 37 $this->page_title = $addition . ' - ' . $this->page_title;
-
{PHP internal call} » Controller_Site->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 119 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Projects(8)
{ private products => object Model_Projects(1)
{ protected _db => object Database_PDO_MySQL(5)
public page_title => string(12) "ECELogistics" public session => NULL public cart => NULL public template => object View(2){ protected _identifier => string(0) "" public last_query => string(45) "SELECT * FROM ua_texts WHERE id = 'projects1'" protected _instance => string(7) "default" protected _connection => object PDO(0)
}{ }
protected _config => array(5) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(3) "ua_" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _file => string(90) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/template.php" protected _data => array(4) ( "styles" => array(0) "scripts" => array(0) "linktags" => array(0) "body" => object View(2)
public auto_render => bool TRUE public request => object Request(20){ protected _file => string(95) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/application/views/projects/home.php" protected _data => array(1) ( "products" => array(5) ( 0 => array(9) ( "id" => string(1) "2" "category_id" => string(1) "0" "name" => string(22) "Heron Live Hotel *****" "slug" => string(16) "heron-live-hotel" "description_long" => string(1219) "<p style="text-align: center;"> <span style="font-family:arial,helvetica,sans-serif;">Розташований в Малопольщі в селі Сієнна H …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "710" "project_id" => string(1) "2" "photo" => string(30) "56e7331d6ea27_heron-strona.jpg" "thumb" => string(36) "thumb_56e7331d6ea27_heron-strona.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "1" ) 1 => array(9) ( "id" => string(1) "3" "category_id" => string(1) "0" "name" => string(11) "EuroHotels " "slug" => string(10) "eurohotels" "description_long" => string(962) "<p> Чудовий готель, розташований в тихому та затишному місці. Його місце знаходження дає можливість так активно відпочити як і …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "718" "project_id" => string(1) "3" "photo" => string(19) "56e83d2f63584_4.jpg" "thumb" => string(25) "thumb_56e83d2f63584_4.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "2" ) 2 => array(9) ( "id" => string(1) "4" "category_id" => string(1) "0" "name" => string(92) "Чемпіонат Польщі Бізнесу, Митців і Спорту в Снукер" "slug" => string(53) "chempionat-polьschi-biznesu-mitciv-i-sportu-v-snuker" "description_long" => string(1268) "<p> Вже завтра, тобто 20.05.2016 р. починається в Heron Live Hotel перший чемпіонат Польщі Бізнесу Митців і Спорту в Снукер. Ми …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "725" "project_id" => string(1) "4" "photo" => string(24) "573e251117bf1_logooo.jpg" "thumb" => string(30) "thumb_573e251117bf1_logooo.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "3" ) 3 => array(9) ( "id" => string(1) "5" "category_id" => string(1) "0" "name" => string(30) "Hot Shots Music Club & Bilard " "slug" => string(27) "hot-shots-music-club-bilard" "description_long" => string(1303) "<p> Наступна по черзі реалізація нашої Марки, це справді тільки її початок. Перший стіл до пул більярда 9 ft був встановлен в к …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "743" "project_id" => string(1) "5" "photo" => string(62) "5791c77e9e809_1353324211841556316049441453715328981549771n.jpg" "thumb" => string(68) "thumb_5791c77e9e809_1353324211841556316049441453715328981549771n.jpg" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "4" ) 4 => array(9) ( "id" => string(1) "6" "category_id" => string(1) "0" "name" => string(39) "Йордановська Галерея" "slug" => string(22) "yordanovsьka-galereya" "description_long" => string(1348) "<p> Галерея розташована в центрі Йорданова у малопльскому воєвідстві. Вона єднає в собі не тільки торговельний простір, тому що …" "featured" => string(1) "y" "photo" => array(5) ( "id" => string(3) "750" "project_id" => string(1) "6" "photo" => string(21) "58500324d2fa1_tlo.png" "thumb" => string(27) "thumb_58500324d2fa1_tlo.png" "main" => string(1) "y" ) "price" => string(4) "0.00" "sequence" => string(1) "5" ) ) ) }
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(15) "realizacje.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(8) "projects" "action" => string(5) "index" ) protected _route_regex => string(22) "#^realizacje\.html$#uD" }
protected _routes => array(0) 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(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "projects" protected _action => string(5) "index" protected _uri => string(15) "realizacje.html" 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(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e) 122 { 123 // Restore the previous request 124 if ($previous instanceof Request)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(15) "realizacje.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(8) "projects" "action" => string(5) "index" ) protected _route_regex => string(22) "#^realizacje\.html$#uD" }
protected _routes => array(0) 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(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "projects" protected _action => string(5) "index" protected _uri => string(15) "realizacje.html" 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(2){ protected _previous_environment => NULL protected _cache => NULL }
}59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1164 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(15) "realizacje.html" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(8) "projects" "action" => string(5) "index" ) protected _route_regex => string(22) "#^realizacje\.html$#uD" }
protected _routes => array(0) 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(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "projects" protected _action => string(5) "index" protected _uri => string(15) "realizacje.html" 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(2){ protected _previous_environment => NULL protected _cache => NULL }
}1159 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1160 ':uri' => $this->_uri, 1161 )); 1162 } 1163 1164 return $this->_client->execute($this); 1165 } 1166 1167 /** 1168 * Returns whether this request is the initial request Kohana received. 1169 * Can be used to test for sub requests.
-
SYSPATH/init.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(TRUE) 111 ->body();
-
/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/index.php [ 12 ] » require_once(arguments)
0
string(75) "/home/server069961/ftp/migracja/sungrey.net/maestato.com/ua/system/init.php"
7 * 8 * @link http://kohanaframework.org/guide/about.install#application 9 */ 10 $application = 'application'; 11 12 require_once "system/init.php";