Strict Standards: Redefining already defined constructor for class Object in /home/focikic/public_html/cake/libs/object.php on line 66
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/focikic/public_html/cake/bootstrap.php on line 51
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/debugger.php on line 84
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/file.php on line 90
Strict Standards: Non-static method Debugger::invoke() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 440
Strict Standards: Non-static method Debugger::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 440
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/cache/file.php on line 77
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/security.php on line 56
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/string.php on line 75
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/dispatcher.php on line 497
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/router.php on line 178
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/controller/controller.php on line 390
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/controller/controller.php on line 641
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/controller/component.php on line 132
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/view/view.php on line 847
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/class_registry.php on line 63
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/i18n.php on line 81
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/i18n.php on line 82
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/model/model.php on line 441
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/model/model.php on line 693
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/model/connection_manager.php on line 84
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/cake/libs/model/connection_manager.php on line 107
Deprecated: Assigning the return value of new by reference is deprecated in /home/focikic/public_html/app/app_model.php on line 10
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 161
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/configure.php on line 238
Strict Standards: Non-static method Configure::read() should not be called statically in /home/focikic/public_html/cake/basics.php on line 768
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/focikic/public_html/cake/libs/configure.php on line 238
Warning (2): Cannot modify header information - headers already sent by (output started at /home/focikic/public_html/cake/libs/object.php:66) [CORE/cake/libs/controller/controller.php, line 503]
Context |
Code$url = "/"
$status = null
$exit = false
$c = "Session"
$path = array(0 => "Session")
$resp = null
$this = array("name" => "Photos", "uses" => array, "paginate" => array, "helpers" => array, "components" => array, "here" => "/app/webroot/index.php/photos/show/Алексей_Матвеев/0", "webroot" => "/app/webroot/", "action" => "show", "params" => array, "data" => null, "viewPath" => "photos", "layoutPath" => null, "viewVars" => array, "pageTitle" => false, "modelNames" => array, "base" => "/app/webroot/index.php", "layout" => "default", "autoRender" => false, "autoLayout" => true, "view" => "View", "ext" => ".ctp", "__viewClass" => null, "output" => null, "plugin" => null, "cacheAction" => false, "persistModel" => false, "webservices" => null, "passedArgs" => array, "_log" => null, "modelClass" => "User", "modelKey" => "photo", "Cookie" => array, "RequestHandler" => array, "Session" => array, "User" => array, "Photo" => array, "PhotoComment" => array, "Friend" => array, "Album" => array, "AlbumPhoto" => array, "menu" => array, "user_menu" => array)
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in
/home/focikic/public_html/cake/libs/debugger.php on line
185
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in
/home/focikic/public_html/cake/libs/configure.php on line
238
Strict Standards: Non-static method Configure::read() should not be called statically in
/home/focikic/public_html/cake/basics.php on line
959
Strict Standards: Non-static method Configure::getInstance() should not be called statically in
/home/focikic/public_html/cake/libs/configure.php on line
238
header($status);
}
if ($url !== null) {
header('Location: ' . Router::url($url, true));
}
Strict Standards: Non-static method Configure::read() should not be called statically in
/home/focikic/public_html/cake/basics.php on line
959
Strict Standards: Non-static method Configure::getInstance() should not be called statically in
/home/focikic/public_html/cake/libs/configure.php on line
238
header - [internal], line ??
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 503
PhotosController::show() - CORE/app/controllers/photos_controller.php, line 72
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 85
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 194
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/configure.php on line 238
Strict Standards: Non-static method CakeLog::write() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 195
Query: SELECT `Photo`.`id`, `Photo`.`name`, `Photo`.`created`, `Photo`.`updated`, `Photo`.`user_id`, `Photo`.`secret`, `Photo`.`hidden`, `Photo`.`description`, `Photo`.`size`, `Photo`.`last_comment`, `Photo`.`privacy`, `Photo`.`latlng`, `User`.`id`, `User`.`username`, `User`.`hashed_password`, `User`.`email`, `User`.`rank`, `User`.`token`, `User`.`created`, `User`.`updated`, `User`.`language`, `User`.`firstname`, `User`.`lastname`, `User`.`membership_id`, `User`.`membership_type`, `User`.`gender`, `User`.`photos`, `User`.`birthday`, `User`.`hidden`, `User`.`location`, `User`.`address2`, `User`.`city`, `User`.`state`, `User`.`zipcode`, `User`.`country`, `User`.`photo_id`, `User`.`phone`, `User`.`gg`, `User`.`skype`, `User`.`msn`, `User`.`aim`, `User`.`jabber`, `User`.`photo_secret`, `User`.`last_public_photo`, `User`.`friends`, `User`.`email_messages_notification`, `User`.`photos_limit`, `User`.`slideshows`, `User`.`last_public_slideshow`, `User`.`last_friend_photo`, `User`.`last_friend_slideshow`, `User`.`privacy`, `User`.`last_public_album`, `User`.`last_friend_album`, `User`.`albums`, `User`.`open_id_identifier`, `User`.`open_id_displayname`, `User`.`open_id_provider` FROM `fociki_photos` AS `Photo` LEFT JOIN `fociki_users` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`user_id` = 1727 AND `Photo`.`privacy` <= 0 AND `Photo`.`id` < ORDER BY `Photo`.`id` DESC LIMIT 2
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 161
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/configure.php on line 238
Strict Standards: Non-static method Configure::read() should not be called statically in /home/focikic/public_html/cake/basics.php on line 768
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/focikic/public_html/cake/libs/configure.php on line 238
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `Photo`.`id` DESC LIMIT 2' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 440]
Context |
Code$sql = "SELECT `Photo`.`id`, `Photo`.`name`, `Photo`.`created`, `Photo`.`updated`, `Photo`.`user_id`, `Photo`.`secret`, `Photo`.`hidden`, `Photo`.`description`, `Photo`.`size`, `Photo`.`last_comment`, `Photo`.`privacy`, `Photo`.`latlng`, `User`.`id`, `User`.`username`, `User`.`hashed_password`, `User`.`email`, `User`.`rank`, `User`.`token`, `User`.`created`, `User`.`updated`, `User`.`language`, `User`.`firstname`, `User`.`lastname`, `User`.`membership_id`, `User`.`membership_type`, `User`.`gender`, `User`.`photos`, `User`.`birthday`, `User`.`hidden`, `User`.`location`, `User`.`address2`, `User`.`city`, `User`.`state`, `User`.`zipcode`, `User`.`country`, `User`.`photo_id`, `User`.`phone`, `User`.`gg`, `User`.`skype`, `User`.`msn`, `User`.`aim`, `User`.`jabber`, `User`.`photo_secret`, `User`.`last_public_photo`, `User`.`friends`, `User`.`email_messages_notification`, `User`.`photos_limit`, `User`.`slideshows`, `User`.`last_public_slideshow`, `User`.`last_friend_photo`, `User`.`last_friend_slideshow`, `User`.`privacy`, `User`.`last_public_album`, `User`.`last_friend_album`, `User`.`albums`, `User`.`open_id_identifier`, `User`.`open_id_displayname`, `User`.`open_id_provider` FROM `fociki_photos` AS `Photo` LEFT JOIN `fociki_users` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`user_id` = 1727 AND `Photo`.`privacy` <= 0 AND `Photo`.`id` < ORDER BY `Photo`.`id` DESC LIMIT 2"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `Photo`.`id` DESC LIMIT 2' at line 1"
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in
/home/focikic/public_html/cake/libs/debugger.php on line
185
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in
/home/focikic/public_html/cake/libs/configure.php on line
238
Strict Standards: Non-static method Configure::read() should not be called statically in
/home/focikic/public_html/cake/basics.php on line
959
Strict Standards: Non-static method Configure::getInstance() should not be called statically in
/home/focikic/public_html/cake/libs/configure.php on line
238
if (($this->debug || $error) && Configure::read() > 0) {
e("<p style = \"text-align:left\"><b>Query:</b> {$sql} ");
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
} else {
Strict Standards: Non-static method Configure::read() should not be called statically in
/home/focikic/public_html/cake/basics.php on line
959
Strict Standards: Non-static method Configure::getInstance() should not be called statically in
/home/focikic/public_html/cake/libs/configure.php on line
238
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 440
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 166
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 297
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 571
Model::find() - CORE/cake/libs/model/model.php, line 1502
PhotosController::show() - CORE/app/controllers/photos_controller.php, line 150
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 85
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 194
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/configure.php on line 238
Strict Standards: Non-static method CakeLog::write() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 195
Query: SELECT `Photo`.`id`, `Photo`.`name`, `Photo`.`created`, `Photo`.`updated`, `Photo`.`user_id`, `Photo`.`secret`, `Photo`.`hidden`, `Photo`.`description`, `Photo`.`size`, `Photo`.`last_comment`, `Photo`.`privacy`, `Photo`.`latlng`, `User`.`id`, `User`.`username`, `User`.`hashed_password`, `User`.`email`, `User`.`rank`, `User`.`token`, `User`.`created`, `User`.`updated`, `User`.`language`, `User`.`firstname`, `User`.`lastname`, `User`.`membership_id`, `User`.`membership_type`, `User`.`gender`, `User`.`photos`, `User`.`birthday`, `User`.`hidden`, `User`.`location`, `User`.`address2`, `User`.`city`, `User`.`state`, `User`.`zipcode`, `User`.`country`, `User`.`photo_id`, `User`.`phone`, `User`.`gg`, `User`.`skype`, `User`.`msn`, `User`.`aim`, `User`.`jabber`, `User`.`photo_secret`, `User`.`last_public_photo`, `User`.`friends`, `User`.`email_messages_notification`, `User`.`photos_limit`, `User`.`slideshows`, `User`.`last_public_slideshow`, `User`.`last_friend_photo`, `User`.`last_friend_slideshow`, `User`.`privacy`, `User`.`last_public_album`, `User`.`last_friend_album`, `User`.`albums`, `User`.`open_id_identifier`, `User`.`open_id_displayname`, `User`.`open_id_provider` FROM `fociki_photos` AS `Photo` LEFT JOIN `fociki_users` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`user_id` = 1727 AND `Photo`.`privacy` <= 0 AND `Photo`.`id` > ORDER BY `Photo`.`id` ASC
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 161
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/configure.php on line 238
Strict Standards: Non-static method Configure::read() should not be called statically in /home/focikic/public_html/cake/basics.php on line 768
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/focikic/public_html/cake/libs/configure.php on line 238
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `Photo`.`id` ASC' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 440]
Context |
Code$sql = "SELECT `Photo`.`id`, `Photo`.`name`, `Photo`.`created`, `Photo`.`updated`, `Photo`.`user_id`, `Photo`.`secret`, `Photo`.`hidden`, `Photo`.`description`, `Photo`.`size`, `Photo`.`last_comment`, `Photo`.`privacy`, `Photo`.`latlng`, `User`.`id`, `User`.`username`, `User`.`hashed_password`, `User`.`email`, `User`.`rank`, `User`.`token`, `User`.`created`, `User`.`updated`, `User`.`language`, `User`.`firstname`, `User`.`lastname`, `User`.`membership_id`, `User`.`membership_type`, `User`.`gender`, `User`.`photos`, `User`.`birthday`, `User`.`hidden`, `User`.`location`, `User`.`address2`, `User`.`city`, `User`.`state`, `User`.`zipcode`, `User`.`country`, `User`.`photo_id`, `User`.`phone`, `User`.`gg`, `User`.`skype`, `User`.`msn`, `User`.`aim`, `User`.`jabber`, `User`.`photo_secret`, `User`.`last_public_photo`, `User`.`friends`, `User`.`email_messages_notification`, `User`.`photos_limit`, `User`.`slideshows`, `User`.`last_public_slideshow`, `User`.`last_friend_photo`, `User`.`last_friend_slideshow`, `User`.`privacy`, `User`.`last_public_album`, `User`.`last_friend_album`, `User`.`albums`, `User`.`open_id_identifier`, `User`.`open_id_displayname`, `User`.`open_id_provider` FROM `fociki_photos` AS `Photo` LEFT JOIN `fociki_users` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`user_id` = 1727 AND `Photo`.`privacy` <= 0 AND `Photo`.`id` > ORDER BY `Photo`.`id` ASC "
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `Photo`.`id` ASC' at line 1"
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in
/home/focikic/public_html/cake/libs/debugger.php on line
185
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in
/home/focikic/public_html/cake/libs/configure.php on line
238
Strict Standards: Non-static method Configure::read() should not be called statically in
/home/focikic/public_html/cake/basics.php on line
959
Strict Standards: Non-static method Configure::getInstance() should not be called statically in
/home/focikic/public_html/cake/libs/configure.php on line
238
if (($this->debug || $error) && Configure::read() > 0) {
e("<p style = \"text-align:left\"><b>Query:</b> {$sql} ");
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
} else {
Strict Standards: Non-static method Configure::read() should not be called statically in
/home/focikic/public_html/cake/basics.php on line
959
Strict Standards: Non-static method Configure::getInstance() should not be called statically in
/home/focikic/public_html/cake/libs/configure.php on line
238
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 440
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 166
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 297
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 571
Model::find() - CORE/cake/libs/model/model.php, line 1502
PhotosController::show() - CORE/app/controllers/photos_controller.php, line 194
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 85
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 194
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/configure.php on line 238
Strict Standards: Non-static method CakeLog::write() should not be called statically, assuming $this from incompatible context in /home/focikic/public_html/cake/libs/debugger.php on line 195