MODPATH/coffee/classes/Marlin/Coffee.php [ 486 ]
481 'Search engine or robot' => '(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(msnbot)|(Ask Jeeves/Teoma)|(ia_archiver)'
482 );
483
484
485 foreach($oses as $os=>$pattern){
486 if(preg_match("/$pattern/i", $userAgent)) {
487 return $os;
488 }
489 }
490 return 'Unknown';
491 }
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(34) "preg_match(): Unknown modifier '8'"
2
string(77) "/var/wwwvimal/agro.vimal.ua/WebPages/modules/coffee/classes/Marlin/Coffee.php"
3
integer 486
4
array(4) ( "userAgent" => string(9) "claudebot" "oses" => array(67) ( "Android" => string(9) "(Android)" "iPod" => string(6) "(iPod)" "iPhone" => string(8) "(iPhone)" "iPad" => string(6) "(iPad)" "Windows 3.11" => string(7) "(Win16)" "Windows 95" => string(33) "(Windows 95)|(Win95)|(Windows_95)" "Windows 98" => string(20) "(Windows 98)|(Win98)" "Windows 2000" => string(31) "(Windows NT 5.0)|(Windows 2000)" "Windows 2000 Service Pack 1" => string(17) "(Windows NT 5.01)" "Windows XP" => string(29) "(Windows NT 5.1)|(Windows XP)" "Windows Server 2003" => string(16) "(Windows NT 5.2)" "Windows Vista" => string(32) "(Windows NT 6.0)|(Windows Vista)" "Windows 7" => string(28) "(Windows NT 6.1)|(Windows 7)" "Windows 8" => string(28) "(Windows NT 6.2)|(Windows 8)" "Windows NT 4.0" => string(48) "(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)" "Windows ME" => string(39) "(Windows ME)|(Windows 98; Win 9x 4.90 )" "Windows CE" => string(12) "(Windows CE)" "Mac OS X Kodiak (beta)" => string(15) "(Mac OS X beta)" "Mac OS X Cheetah" => string(15) "(Mac OS X 10.0)" "Mac OS X Puma" => string(15) "(Mac OS X 10.1)" "Mac OS X Jaguar" => string(15) "(Mac OS X 10.2)" "Mac OS X Panther" => string(15) "(Mac OS X 10.3)" "Mac OS X Tiger" => string(15) "(Mac OS X 10.4)" "Mac OS X Leopard" => string(15) "(Mac OS X 10.5)" "Mac OS X Snow Leopard" => string(15) "(Mac OS X 10.6)" "Mac OS X Lion" => string(15) "(Mac OS X 10.7)" "Mac OS X" => string(10) "(Mac OS X)" "Mac OS" => string(35) "(Mac_PowerPC)|(PowerPC)|(Macintosh)" "Open BSD" => string(9) "(OpenBSD)" "SunOS" => string(7) "(SunOS)" "Solaris 11" => string(25) "(Solaris\/11)|(Solaris11)" "Solaris 10" => string(27) "((Solaris\/10)|(Solaris10))" "Solaris 9" => string(25) "((Solaris\/9)|(Solaris9))" "CentOS" => string(8) "(CentOS)" "QNX" => string(5) "(QNX)" "UNIX" => string(6) "(UNIX)" "Ubuntu 12.10" => string(30) "(Ubuntu\/12.10)|(Ubuntu 12.10)" "Ubuntu 12.04 LTS" => string(30) "(Ubuntu\/12.04)|(Ubuntu 12.04)" "Ubuntu 11.10" => string(30) "(Ubuntu\/11.10)|(Ubuntu 11.10)" "Ubuntu 11.04" => string(30) "(Ubuntu\/11.04)|(Ubuntu 11.04)" "Ubuntu 10.10" => string(30) "(Ubuntu\/10.10)|(Ubuntu 10.10)" "Ubuntu 10.04 LTS" => string(30) "(Ubuntu\/10.04)|(Ubuntu 10.04)" "Ubuntu 9.10" => string(28) "(Ubuntu\/9.10)|(Ubuntu 9.10)" "Ubuntu 9.04" => string(28) "(Ubuntu\/9.04)|(Ubuntu 9.04)" "Ubuntu 8.10" => string(28) "(Ubuntu\/8.10)|(Ubuntu 8.10)" "Ubuntu 8.04 LTS" => string(28) "(Ubuntu\/8.04)|(Ubuntu 8.04)" "Ubuntu 6.06 LTS" => string(28) "(Ubuntu\/6.06)|(Ubuntu 6.06)" "Red Hat Linux" => string(9) "(Red Hat)" "Red Hat Enterprise Linux" => string(20) "(Red Hat Enterprise)" "Fedora 17" => string(24) "(Fedora\/17)|(Fedora 17)" "Fedora 16" => string(24) "(Fedora\/16)|(Fedora 16)" "Fedora 15" => string(24) "(Fedora\/15)|(Fedora 15)" "Fedora 14" => string(24) "(Fedora\/14)|(Fedora 14)" "Chromium OS" => string(12) "(ChromiumOS)" "Google Chrome OS" => string(10) "(ChromeOS)" "Linux" => string(13) "(Linux)|(X11)" "OpenBSD" => string(9) "(OpenBSD)" "FreeBSD" => string(9) "(FreeBSD)" "NetBSD" => string(8) "(NetBSD)" "OS/8" => string(12) "(OS/8)|(OS8)" "Older DEC OS" => string(22) "(DEC)|(RSTS)|(RSTS\/E)" "WPS-8" => string(14) "(WPS-8)|(WPS8)" "BeOS" => string(16) "(BeOS)|(BeOS r5)" "BeIA" => string(6) "(BeIA)" "OS/2 2.0" => string(21) "(OS\/220)|(OS\/2 2.0)" "OS/2" => string(13) "(OS\/2)|(OS2)" "Search engine or robot" => string(89) "(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(msnbot)|(Ask Jeeves/Teoma)|(ia_archiver)" ) "os" => string(4) "OS/8" "pattern" => string(12) "(OS/8)|(OS8)" )
-
MODPATH/coffee/classes/Marlin/Coffee.php [ 486 ] » preg_match(arguments)
pattern
string(15) "/(OS/8)|(OS8)/i"
subject
string(9) "claudebot"
481 'Search engine or robot' => '(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(msnbot)|(Ask Jeeves/Teoma)|(ia_archiver)' 482 ); 483 484 485 foreach($oses as $os=>$pattern){ 486 if(preg_match("/$pattern/i", $userAgent)) { 487 return $os; 488 } 489 } 490 return 'Unknown'; 491 }
-
MODPATH/coffee/classes/Marlin/Coffee.php [ 503 ] » Marlin_Coffee::getOS(arguments)
0
string(9) "claudebot"
498 else 499 return false; 500 } 501 502 if( 503 self::getOS($user_agent)=='Android'|| 504 self::getOS($user_agent)=='iPod'|| 505 self::getOS($user_agent)=='iPhone'|| 506 self::getOS($user_agent)=='iPad' 507 ) 508 return true;
-
APPPATH/classes/Media/Image.php [ 44 ] » Marlin_Coffee::isMobile()
39 * @return void 40 */ 41 public static function get_image($type, $prefix, $image, $attr=null, $ext = NULL, $path_only = false) 42 { 43 44 if(Coffee::isMobile() && isset(App::$config['image_size'][$type]['prefix']['mob_'.$prefix])) 45 $prefix = 'mob_'.$prefix; 46 if(isset($attr['crop']) && $attr['crop']){ 47 $crop = Media_Image::get_crop_by_original($image); 48 if(isset($crop['path']) && glob($crop['path'], GLOB_BRACE)){ 49 if(isset($crop['image']) && $crop['image']){
-
APPPATH/views/corporate/layout/first/inc/banner.php [ 8 ] » Media_Image::get_image(arguments)
0
string(4) "list"
1
string(5) "corn_"
2
string(33) "/img/common/content/font/corn.jpg"
3
array(2) ( "class" => string(14) "img-responsive" "alt" => string(18) "Кукурудза" )
3 <div class="w38"> 4 <div class="grid"> 5 <?php $corn = App::m('Structure')->getRowBy(array('alias'=>'corn'))?> 6 <?php if(!empty($corn)):?> 7 <figure class="effect-chico"> 8 <?=Media_Image::get_image('list', 'corn_', $corn['image'], array('class'=>'img-responsive','alt'=>$corn['name']));?> 9 <figcaption> 10 <p><?php echo $corn['name']?></p> 11 <a href="<?php echo Lang::prepare_link($corn['alias'])?>">View more</a> 12 </figcaption> 13 </figure>
-
APPPATH/views/corporate/layout/first/area_central.php [ 1 ] » include(arguments)
0
string(92) "/var/wwwvimal/agro.vimal.ua/WebPages/application/views/corporate/layout/first/inc/banner.php"
1 <?include Kohana::find_file('views',$layout_path.'/first/inc/banner')?> 2 3 <?include Kohana::find_file('views',$layout_path.'/first/inc/news')?> 4 5 <?include Kohana::find_file('views',$layout_path.'/first/inc/production')?> 6
-
APPPATH/views/corporate/layout/first/template.php [ 33 ] » include(arguments)
0
string(94) "/var/wwwvimal/agro.vimal.ua/WebPages/application/views/corporate/layout/first/area_central.php"
28 <?include Kohana::find_file('views',$layout_path.$template.'/area_top')?> 29 <?else:?> 30 <?include Kohana::find_file('views', $layout_path.'default/area_top')?> 31 <?endif;?> 32 33 <?include Kohana::find_file('views',$layout_path.$template.'/area_central')?> 34 35 36 <?if (Kohana::find_file('views', $layout_path.$template.'/area_bottom') ):?> 37 <?include Kohana::find_file('views',$layout_path.$template.'/area_bottom')?> 38 <?else:?>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(90) "/var/wwwvimal/agro.vimal.ua/WebPages/application/views/corporate/layout/first/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(90) "/var/wwwvimal/agro.vimal.ua/WebPages/application/views/corporate/layout/first/template.php"
1
array(6) ( "area_top" => NULL "area_left" => NULL "area_center" => NULL "area_right" => NULL "area_bottom" => NULL "sOnLoad" => string(0) "" )
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/Base.php [ 241 ] » Kohana_View->render()
236 }else{ 237 $this->template->sOnLoad = ''; 238 } 239 } 240 241 Cache::instance()->set($cache_name,$this->response->body(MinHtml::minify_html($this->template->render()))); 242 } 243 }else{ 244 if(isset($this->template) && is_object($this->template) ){ 245 if ($data = Session::instance()->get('message')) 246 {
-
APPPATH/classes/Controller/Base.php [ 161 ] » Controller_Base->after()
156 $this->{$action}(); 157 } 158 } 159 160 // Execute the "after action" method 161 $this->after(); 162 163 // Return the response 164 //Log::instance()->add(Log::NOTICE, '$this->response = '.print_r($this->response, TRUE)); 165 return $this->response; 166 }
-
{PHP internal call} » Controller_Base->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Routes_Index(11)
{ public template_name => string(5) "first" protected _project_type => string(9) "corporate" public layout_path => string(17) "corporate/layout/" public styles => NULL public scripts => array(0) public metatags => NULL public enable_cache => bool TRUE public template => object View(2)
{ protected _file => string(90) "/var/wwwvimal/agro.vimal.ua/WebPages/application/views/corporate/layout/first/template.php" protected _data => array(6) ( "area_top" => NULL "area_left" => NULL "area_center" => NULL "area_right" => NULL "area_bottom" => NULL "sOnLoad" => string(0) "" ) }
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 FALSE protected _referrer => string(23) "http://agro.vimal.ua/ua" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(36) "(<lang>)(/)(<controller>(/<action>))" protected _regex => array(3) ( "lang" => string(10) "[a-z][a-z]" "controller" => string(5) "index" "action" => string(14) "[a-zA-Z0-9_-]+" ) protected _defaults => array(3) ( "directory" => string(6) "Routes" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<lang>[a-z][a-z]))?(?:/)?(?:(?P<controller>index)(?:/(?P<action>[a-zA-Z0-9_-]+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Routes" protected _controller => string(5) "Index" 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.0" }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 FALSE protected _referrer => string(23) "http://agro.vimal.ua/ua" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "(<lang>)(/)(<controller>(/<action>))" protected _regex => array(3) ( "lang" => string(10) "[a-z][a-z]" "controller" => string(5) "index" "action" => string(14) "[a-zA-Z0-9_-]+" ) protected _defaults => array(3) ( "directory" => string(6) "Routes" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<lang>[a-z][a-z]))?(?:/)?(?:(?P<controller>index)(?:/(?P<action>[a-zA-Z0-9_-]+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Routes" protected _controller => string(5) "Index" 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.0" }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.0" protected _secure => bool FALSE protected _referrer => string(23) "http://agro.vimal.ua/ua" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "(<lang>)(/)(<controller>(/<action>))" protected _regex => array(3) ( "lang" => string(10) "[a-z][a-z]" "controller" => string(5) "index" "action" => string(14) "[a-zA-Z0-9_-]+" ) protected _defaults => array(3) ( "directory" => string(6) "Routes" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<lang>[a-z][a-z]))?(?:/)?(?:(?P<controller>index)(?:/(?P<action>[a-zA-Z0-9_-]+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Routes" protected _controller => string(5) "Index" 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 [ 126 ] » Kohana_Request->execute()
121 /** 122 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 123 * If no source is specified, the URI will be automatically detected. 124 */ 125 echo Request::factory(TRUE, array(), FALSE) 126 ->execute() 127 ->send_headers(TRUE) 128 ->body(); 129 }