Warning (2): imagecreatetruecolor() [http://php.net/function.imagecreatetruecolor]: Invalid image dimensions [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2131]Code |
Context $thumb["src_h"]=$file["height"];
}
$dst_img=ImageCreateTrueColor($thumb["width"],$thumb["height"]);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1"
$fileSize = "9620"
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75"
)
$src_img = resource
$centerx = 50
$cropx = 12.5
imagecreatetruecolor - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2131
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): imagecopyresampled() expects parameter 1 to be resource, boolean given [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2132]Code |
Context }
$dst_img=ImageCreateTrueColor($thumb["width"],$thumb["height"]);
imagecopyresampled($dst_img,$src_img,0,0,$thumb["x"],$thumb["y"],$thumb["width"],$thumb["height"],$thumb["src_w"],$thumb["src_h"]);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1"
$fileSize = "9620"
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75"
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
imagecopyresampled - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2132
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): imagejpeg() expects parameter 1 to be resource, boolean given [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2134]Code |
Context imagecopyresampled($dst_img,$src_img,0,0,$thumb["x"],$thumb["y"],$thumb["width"],$thumb["height"],$thumb["src_w"],$thumb["src_h"]);
if (preg_match('/jpg|jpeg/',$file["type"])){
imagejpeg($dst_img,$thumb["src"]);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1"
$fileSize = "9620"
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75"
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
imagejpeg - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2134
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): filesize() [http://php.net/function.filesize]: stat failed for /mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0 [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2144]Code |
Context }
$thumb["type"]=$user["Avatar"]["type"];
$thumb["size"]=filesize($thumb["src"]);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1"
$fileSize = "9620"
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg"
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
filesize - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2144
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): filemtime() [http://php.net/function.filemtime]: stat failed for /mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0 [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2024]Code |
Context function _check_if_modified_since($path) {
$last_modified=filemtime($path);
$path = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
filemtime - [internal], line ??
UsersController::_check_if_modified_since() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2024
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2157
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): filemtime() [http://php.net/function.filemtime]: stat failed for /mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0 [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2159]Code |
Context $this->_check_if_modified_since($filePath); //if it has not been modified, it will exit now with a 304 Not Modified
$last_modified=filemtime($filePath);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
filemtime - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2159
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2162]Code |
Context $etag='"' . md5($last_modified) . '"';
header("Content-Length: ".$fileSize);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2162
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2163]Code |
Context
header("Content-Length: ".$fileSize);
header("Content-type: ".($fileType ? $fileType : "image/jpeg")); // if we really don't know the file type, assume jpeg
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2163
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2164]Code |
Context header("Content-Length: ".$fileSize);
header("Content-type: ".($fileType ? $fileType : "image/jpeg")); // if we really don't know the file type, assume jpeg
header("Cache-Control: no-cache");//header("Cache-Control: public, max-age=1800");
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2164
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2165]Code |
Context header("Content-type: ".($fileType ? $fileType : "image/jpeg")); // if we really don't know the file type, assume jpeg
header("Cache-Control: no-cache");//header("Cache-Control: public, max-age=1800");
header("Age: 15");
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2165
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2166]Code |
Context header("Cache-Control: no-cache");//header("Cache-Control: public, max-age=1800");
header("Age: 15");
header("Date: ".gmdate("D, d M Y H:i:s", time())." GMT");
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2166
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2167]Code |
Context header("Age: 15");
header("Date: ".gmdate("D, d M Y H:i:s", time())." GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s",$last_modified)." GMT");;
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2167
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2168]Code |
Context header("Date: ".gmdate("D, d M Y H:i:s", time())." GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s",$last_modified)." GMT");;
header("Expires: ".gmdate("D, d M Y H:i:s", time() + 1800)." GMT");
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2168
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /mnt/data/www/sites/dcn_sites/opendcn2_master/home/cake/libs/debugger.php:686) [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2169]Code |
Context header("Last-Modified: ".gmdate("D, d M Y H:i:s",$last_modified)." GMT");;
header("Expires: ".gmdate("D, d M Y H:i:s", time() + 1800)." GMT");
header("ETag: ".$etag);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
header - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2169
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96
Warning (2): readfile(/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0) [http://php.net/function.readfile]: failed to open stream: No such file or directory [/mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2171]Code |
Context header("ETag: ".$etag);
readfile($filePath);
$id = "64"
$width = "64"
$height = 0
$user = array(
"User" => array(
"id" => "64",
"username" => "annamaria.dimaria@studenti.unimi.it~unimi",
"password" => "*****",
"first_name" => "Annamaria",
"last_name" => "Di Maria",
"email" => "annamaria.dimaria@studenti.unimi.it",
"showemail" => "1",
"admin" => "0",
"active" => "1",
"old_crypt" => "0",
"created" => "2015-12-08 17:39:09",
"modified" => "2017-05-15 23:17:26"
),
"Avatar" => array(
"id" => "1",
"user_id" => "64",
"size" => "9620",
"type" => "image/jpeg",
"width" => "100",
"height" => "75",
"created" => "2015-12-08 17:55:35",
"modified" => "2015-12-08 17:55:35"
),
"Registrationfield" => array(
array(),
array(),
array(),
array(),
array()
),
"Group" => array(
array(),
array()
)
)
$file = array(
"type" => "image/jpeg",
"size" => "9620",
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/1",
"width" => "100",
"height" => "75"
)
$filePath = "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0"
$fileSize = false
$fileType = "image/jpeg"
$thumb = array(
"src" => "/mnt/data/www/sites/dcn_sites/spedem15/webroot/files/avatarfiles/thumbs/1_64_0",
"width" => "64",
"height" => 0,
"x" => 12.5,
"y" => 0,
"src_w" => 75,
"src_h" => "75",
"type" => "image/jpeg",
"size" => false
)
$src_img = resource
$centerx = 50
$cropx = 12.5
$dst_img = false
$last_modified = false
$etag = ""d41d8cd98f00b204e9800998ecf8427e""
readfile - [internal], line ??
UsersController::getavatar() - /mnt/data/www/sites/dcn_sites/opendcn2_master/home/app/controllers/users_controller.php, line 2171
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - /mnt/data/www/sites/dcn_sites/spedem15/webroot/index.php, line 96