ErrorException [ Warning ]:
MODPATH/database/classes/kohana/database/mysql.php [ 173 ]
168 // Select database on persistent connections
169 $this->_select_db($this->_config['connection']['database']);
170 }
171
172 // Execute the query
173 if (($result = mysql_query($sql, $this->_connection)) === FALSE)
174 {
175 if (isset($benchmark))
176 {
177 // This benchmark is worthless
178 Profiler::delete($benchmark);
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(40) "mysql_query(): Unable to save result set"
2
string(130) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/kohana/3.1.3/modules/database/classes/kohana/database/mysql.p …"
3
integer 173
4
array(5) ( "type" => integer 1 "sql" => string(51) "SELECT `cms_news`.* FROM `cms_news` ORDER BY `date`" "as_object" => string(9) "Model_New" "params" => array(0) "benchmark" => string(4) "kp/g" )
-
MODPATH/database/classes/kohana/database/mysql.php [ 173 ] » mysql_query(arguments)
query
string(51) "SELECT `cms_news`.* FROM `cms_news` ORDER BY `date`"
link_identifier
resource(mysql link)
168 // Select database on persistent connections 169 $this->_select_db($this->_config['connection']['database']); 170 } 171 172 // Execute the query 173 if (($result = mysql_query($sql, $this->_connection)) === FALSE) 174 { 175 if (isset($benchmark)) 176 { 177 // This benchmark is worthless 178 Profiler::delete($benchmark);
-
MODPATH/database/classes/kohana/database/query.php [ 225 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(51) "SELECT `cms_news`.* FROM `cms_news` ORDER BY `date`"
2
string(9) "Model_New"
3
array(0)
220 return new Database_Result_Cached($result, $sql, $this->_as_object, $this->_object_params); 221 } 222 } 223 224 // Execute the query 225 $result = $db->query($this->_type, $sql, $this->_as_object, $this->_object_params); 226 227 if (isset($cache_key)) 228 { 229 // Cache the result array 230 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/orm/classes/kohana/orm.php [ 1028 ] » Kohana_Database_Query->execute(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => string(40) "705312d7064fb9ef524d19fe59d71b9518b7c81a" protected _identifier => string(1) "`" public last_query => string(94) "SELECT `session_id` FROM `cms_sessions` WHERE `session_id` = '6605d24b664783-05181517' LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(14) "22591.m.tld.pl" "database" => string(22) "baza22591_losule01_www" "persistent" => bool FALSE ) "table_prefix" => string(4) "cms_" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
1023 } 1024 1025 if ($multiple === TRUE) 1026 { 1027 // Return database iterator casting to this object type 1028 $result = $this->_db_builder->as_object(get_class($this))->execute($this->_db); 1029 1030 $this->reset(); 1031 1032 return $result; 1033 }
-
MODPATH/orm/classes/kohana/orm.php [ 987 ] » Kohana_ORM->_load_result(arguments)
0
bool TRUE
982 } 983 } 984 985 $this->_build(Database::SELECT); 986 987 return $this->_load_result(TRUE); 988 } 989 990 /** 991 * Loads a database result, either as a new record for this model, or as 992 * an iterator for multiple rows.
-
APPPATH/views/page/news_list_archive.php [ 39 ] » Kohana_ORM->find_all()
34 35 36 37 </td> 38 <td> 39 <?php $news_filtr= ORM::factory('new')->order_by('date')->find_all(); 40 $years = array('0' => 'Wszystkie'); 41 foreach($news_filtr as $new){ 42 $ex = explode('-', $new->date); 43 44 if (in_array($ex[0], $years)) {
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(111) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/page/news_list_archive.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(111) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/page/news_list_archive.php"
1
array(2) ( "news" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(171) "SELECT `cms_news`.* FROM `cms_news` WHERE `deleted` IS NULL AND `date` < '2023-12-28 21:25:47' ORDER BY `cms_news`.`sticky` DESC …" protected _result => resource(mysql result) protected _total_rows => integer 9 protected _current_row => integer 0 protected _as_object => string(9) "Model_New" protected _object_params => NULL }
"pagination" => object Pagination(12){ protected config => array(6) ( "total_items" => string(4) "1421" "items_per_page" => integer 9 "view" => string(19) "pagination/floating" "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(4) "page" ) "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 66 protected total_items => integer 1421 protected items_per_page => integer 9 protected total_pages => integer 158 protected current_first_item => integer 586 protected current_last_item => integer 594 protected previous_page => integer 65 protected next_page => integer 67 protected first_page => integer 1 protected last_page => integer 158 protected offset => integer 585 }
)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/layout/page.php [ 162 ] » Kohana_View->__toString()
157 <div class="clear"></div> 158 </div> 159 160 <div class="contentBox rightcolumn"> 161 <?php echo Messages::show()?> 162 <?php echo isset($content)?$content:'';?> 163 </div> 164 165 <div class="clear"></div> 166 </div> 167
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(100) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/layout/page.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(100) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/layout/page.php"
1
array(3) ( "rout_name" => string(12) "news-archive" "current_page" => string(4) "news" "content" => object View(2)
{ protected _file => string(111) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/page/news_list_archive.php" protected _data => array(2) ( "news" => object Database_MySQL_Result(7)
){ protected _internal_row => integer 0 protected _query => string(171) "SELECT `cms_news`.* FROM `cms_news` WHERE `deleted` IS NULL AND `date` < '2023-12-28 21:25:47' ORDER BY `cms_news`.`sticky` DESC …" protected _result => resource(mysql result) protected _total_rows => integer 9 protected _current_row => integer 0 protected _as_object => string(9) "Model_New" protected _object_params => NULL }
"pagination" => object Pagination(12){ protected config => array(6) ( "total_items" => string(4) "1421" "items_per_page" => integer 9 "view" => string(19) "pagination/floating" "current_page" => array(2) ( ... ) "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 66 protected total_items => integer 1421 protected items_per_page => integer 9 protected total_pages => integer 158 protected current_first_item => integer 586 protected current_last_item => integer 594 protected previous_page => integer 65 protected next_page => integer 67 protected first_page => integer 1 protected last_page => integer 158 protected offset => integer 585 }
) }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)
0
object Controller_Page_News(5)
{ public items_per_page => integer 9 public template => object View(2)
{ protected _file => string(100) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/layout/page.php" protected _data => array(3) ( "rout_name" => string(12) "news-archive" "current_page" => string(4) "news" "content" => object View(2)
public auto_render => bool TRUE public request => object Request(20){ protected _file => string(111) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/application/views/page/news_list_archive.php" protected _data => array(2) ( "news" => object Database_MySQL_Result(7)
) }{ protected _internal_row => integer 0 protected _query => string(171) "SELECT `cms_news`.* FROM `cms_news` WHERE `deleted` IS NULL AND `date` < '2023-12-28 21:25:47' ORDER BY `cms_news`.`sticky` DESC …" protected _result => resource(mysql result) protected _total_rows => integer 9 protected _current_row => integer 0 protected _as_object => string(9) "Model_New" protected _object_params => NULL }
"pagination" => object Pagination(12){ protected config => array(6) ( ... ) protected current_page => integer 66 protected total_items => integer 1421 protected items_per_page => integer 9 protected total_pages => integer 158 protected current_first_item => integer 586 protected current_last_item => integer 594 protected previous_page => integer 65 protected next_page => integer 67 protected first_page => integer 1 protected last_page => integer 158 protected offset => integer 585 }
) }{ 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(8) "archiwum" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "news" "action" => string(7) "archive" "directory" => string(4) "page" ) protected _route_regex => string(14) "#^archiwum$#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(4) "page" protected _controller => string(4) "news" protected _action => string(7) "archive" protected _uri => string(8) "archiwum" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "page" => string(2) "66" ) 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 1711657547 }
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 [ 1136 ] » Kohana_Request_Client_Internal->execute(arguments)
0
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)
{ protected _callback => NULL protected _uri => string(8) "archiwum" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "news" "action" => string(7) "archive" "directory" => string(4) "page" ) protected _route_regex => string(14) "#^archiwum$#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(4) "page" protected _controller => string(4) "news" protected _action => string(7) "archive" protected _uri => string(8) "archiwum" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "page" => string(2) "66" ) 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 1711657547 }
public _injected_routes => array(0) }1131 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1132 ':uri' => $this->_uri, 1133 )); 1134 } 1135 1136 return $this->_client->execute($this); 1137 } 1138 1139 /** 1140 * Returns whether this request is the initial request Kohana received. 1141 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 122 ] » Kohana_Request->execute()
117 /** 118 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 119 * If no source is specified, the URI will be automatically detected. 120 */ 121 echo Request::factory() 122 ->execute() 123 ->send_headers() 124 ->body();
Environment
Included files (123)
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 |
APPPATH/classes/exception/handler.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/cookie.php |
SYSPATH/classes/kohana/cookie.php |
SYSPATH/classes/session.php |
SYSPATH/classes/kohana/session.php |
DOCROOT/modules/imagefly/init.php |
APPPATH/classes/route.php |
SYSPATH/classes/kohana/route.php |
DOCROOT/modules/logviewer/init.php |
APPPATH/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 |
APPPATH/config/locale.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 |
APPPATH/classes/controller/page/news.php |
APPPATH/classes/controller/page.php |
APPPATH/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/config/session.php |
MODPATH/database/config/session.php |
APPPATH/config/session.php |
SYSPATH/classes/session/native.php |
SYSPATH/classes/kohana/session/native.php |
APPPATH/classes/orm.php |
MODPATH/orm/classes/kohana/orm.php |
SYSPATH/classes/model.php |
SYSPATH/classes/kohana/model.php |
APPPATH/classes/model/stats.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/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 |
SYSPATH/classes/profiler.php |
SYSPATH/classes/kohana/profiler.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 |
SYSPATH/classes/validation.php |
SYSPATH/classes/kohana/validation.php |
MODPATH/database/classes/database/query/builder/update.php |
MODPATH/database/classes/kohana/database/query/builder/update.php |
SYSPATH/classes/view.php |
SYSPATH/classes/kohana/view.php |
APPPATH/classes/breadcrumbs.php |
APPPATH/classes/url.php |
SYSPATH/classes/kohana/url.php |
SYSPATH/classes/utf8.php |
SYSPATH/classes/kohana/utf8.php |
APPPATH/classes/model/new.php |
DOCROOT/modules/pagination/classes/pagination.php |
DOCROOT/modules/pagination/classes/kohana/pagination.php |
DOCROOT/modules/pagination/config/pagination.php |
APPPATH/views/layout/page.php |
APPPATH/classes/html.php |
SYSPATH/classes/kohana/html.php |
APPPATH/i18n/pl.php |
APPPATH/classes/model/page.php |
DOCROOT/modules/messages/classes/messages.php |
DOCROOT/modules/messages/classes/kohana/messages.php |
DOCROOT/modules/messages/config/messages.php |
MODPATH/database/classes/session/database.php |
MODPATH/database/classes/kohana/session/database.php |
DOCROOT/modules/messages/views/messages.php |
APPPATH/views/page/news_list_archive.php |
APPPATH/classes/form.php |
SYSPATH/classes/kohana/form.php |
SYSPATH/classes/debug.php |
SYSPATH/classes/kohana/debug.php |
APPPATH/classes/date.php |
SYSPATH/classes/kohana/date.php |
SYSPATH/views/kohana/error.php |
Loaded extensions (84)
Core |
date |
ereg |
libxml |
openssl |
pcre |
zlib |
bcmath |
bz2 |
calendar |
ctype |
dba |
dom |
hash |
fileinfo |
filter |
ftp |
gettext |
SPL |
iconv |
json |
mbstring |
session |
standard |
posix |
Reflection |
Phar |
shmop |
SimpleXML |
soap |
sockets |
exif |
sysvmsg |
sysvsem |
sysvshm |
tokenizer |
wddx |
xml |
xmlreader |
xmlwriter |
zip |
apache2handler |
mysqlnd |
PDO |
curl |
dio |
enchant |
gd |
gmp |
imagick |
imap |
interbase |
intl |
ldap |
mcrypt |
memcached |
mssql |
mysql |
mysqli |
odbc |
pdo_dblib |
PDO_Firebird |
pdo_mysql |
PDO_ODBC |
pdo_pgsql |
pdo_sqlite |
pgsql |
pspell |
recode |
redis |
snmp |
SQLite |
sqlite3 |
ssh2 |
stats |
suhosin |
tidy |
trader |
uploadprogress |
xmlrpc |
xsl |
mhash |
ionCube Loader |
eAccelerator |
$_SESSION
visit |
string(4) "true" |
$_GET
page |
string(2) "66" |
$_SERVER
REDIRECT_KOHANA_ENV |
string(10) "production" |
REDIRECT_STATUS |
string(3) "200" |
KOHANA_ENV |
string(10) "PRODUCTION" |
HTTP_X_FROM_SSL |
string(2) "no" |
HTTP_X_FORWARDED_PROTO |
string(4) "http" |
HTTP_HOST |
string(13) "losulechow.pl" |
HTTP_X_REAL_IP |
string(12) "54.144.95.36" |
HTTP_X_FORWARDED_FOR |
string(12) "54.144.95.36" |
HTTP_ACCEPT |
string(3) "*/*" |
HTTP_USER_AGENT |
string(9) "claudebot" |
PATH |
string(28) "/usr/local/bin:/usr/bin:/bin" |
SERVER_SIGNATURE |
string(0) "" |
SERVER_SOFTWARE |
string(6) "Apache" |
SERVER_NAME |
string(13) "losulechow.pl" |
SERVER_ADDR |
string(12) "94.152.11.91" |
SERVER_PORT |
string(2) "80" |
REMOTE_ADDR |
string(12) "54.144.95.36" |
DOCUMENT_ROOT |
string(66) "/home/users/losule01/public_html/domains/losulechow.pl/public_html" |
SERVER_ADMIN |
string(23) "webmaster@losulechow.pl" |
SCRIPT_FILENAME |
string(76) "/home/users/losule01/public_html/domains/losulechow.pl/public_html/index.php" |
REMOTE_PORT |
string(5) "33840" |
REDIRECT_QUERY_STRING |
string(7) "page=66" |
REDIRECT_URL |
string(9) "/archiwum" |
GATEWAY_INTERFACE |
string(7) "CGI/1.1" |
SERVER_PROTOCOL |
string(8) "HTTP/1.1" |
REQUEST_METHOD |
string(3) "GET" |
QUERY_STRING |
string(7) "page=66" |
REQUEST_URI |
string(17) "/archiwum?page=66" |
SCRIPT_NAME |
string(10) "/index.php" |
PATH_INFO |
string(9) "/archiwum" |
PATH_TRANSLATED |
string(28) "redirect:/index.php/archiwum" |
PHP_SELF |
string(19) "/index.php/archiwum" |
REQUEST_TIME_FLOAT |
float 1711657547.301 |
REQUEST_TIME |
integer 1711657547 |
argv |
array(1) ( 0 => string(7) "page=66" ) |
argc |
integer 1 |