Depuração do Erro

Mensagem: Erro: Arquivo de imagem não encontrado!

Correção:

72				$this->criaImagem();
73			}
74		}
75		else
76		{
77			trigger_error( 'Erro: Arquivo de imagem não encontrado!', E_USER_ERROR );
78		}
79
80	} // fim dadosImagem
81
82	/**

Arquivo:

/var/www/site/app/vendors/canvas.php(77)

Rastreamento:

#0 /var/www/site/core/libs/Error.php(213) Error::trace
#1 /var/www/site/core/libs/Error.php(34) Error::traceAsString
#2 () Error::handle
#3 /var/www/site/app/vendors/canvas.php(77) trigger_error
#4 /var/www/site/app/vendors/canvas.php(90) canvas->dados
#5 /var/www/site/app/models/Image.php(12) canvas->carrega
#6 /var/www/site/app/views/theme/default/news/index.php(5) Image::crop
#7 /var/www/site/core/libs/Import.php(191) require
#8 /var/www/site/core/libs/Template.php(223) Import::view
#9 /var/www/site/core/libs/Template.php(86) Template->renderView
#10 /var/www/site/core/libs/App.php(159) Template->render
#11 /var/www/site/core/bootstrap.php(58) App->__construct
#12 /var/www/site/app/wwwroot/index.php(8) require_once

Ambiente

Variáveis de ambiente

Server: [expandir]

# Nome Valor
1 USER www-data
2 HOME /var/www
3 FCGI_ROLE RESPONDER
4 QUERY_STRING
5 REQUEST_METHOD GET
6 CONTENT_TYPE
7 CONTENT_LENGTH
8 SCRIPT_FILENAME /var/www/site/app/wwwroot/index.php
9 SCRIPT_NAME /index.php
10 PATH_INFO //news
11 PATH_TRANSLATED /var/www/site/app/wwwroot//news
12 REQUEST_URI /news
13 DOCUMENT_URI /index.php//news
14 DOCUMENT_ROOT /var/www/site/app/wwwroot
15 SERVER_PROTOCOL HTTP/1.0
16 GATEWAY_INTERFACE CGI/1.1
17 SERVER_SOFTWARE nginx/1.4.6
18 REMOTE_ADDR 54.82.56.95
19 REMOTE_PORT 42842
20 SERVER_ADDR 104.236.58.243
21 SERVER_PORT 80
22 SERVER_NAME ciadseta.com.br
23 REDIRECT_STATUS 200
24 HTTP_HOST ciadseta.com.br
25 HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
26 HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
27 HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
28 HTTP_IF_MODIFIED_SINCE Thu, 19 Oct 2017 03:41:22 GMT
29 ORIG_SCRIPT_FILENAME /var/www/site/app/wwwroot/index.php//news
30 ORIG_PATH_TRANSLATED /var/www/site/app/wwwroot//news
31 PHP_SELF /index.php//news
32 REQUEST_TIME_FLOAT 1513217623.4351
33 REQUEST_TIME 1513217623

Constantes: [expandir]

# Nome Valor
1 root /var/www/site/
2 root_virtual /
3 wwwroot /var/www/site/app/wwwroot/
4 ROOT /var/www/site/
5 ROOT_VIRTUAL /
6 WWWROOT /var/www/site/app/wwwroot/
7 CACHE_TIME 60
8 br <br />
9 nl \r\n
10 content <!-- content:1513217623 -->
11 ip 54.82.56.95
12 is_post false
13 is_ajax false
14 site_url http://ciadseta.com.br/
15 minute 60
16 hour 3600
17 day 86400
18 month 2592000
19 year 31536000
20 BR <br />
21 NL \r\n
22 CONTENT <!-- content:1513217623 -->
23 IP 54.82.56.95
24 IS_POST false
25 IS_AJAX false
26 SITE_URL http://ciadseta.com.br/
27 URL http://ciadseta.com.br/news
28 MINUTE 60
29 HOUR 3600
30 DAY 86400
31 MONTH 2592000
32 YEAR 31536000
33 is_autodot false
34 IS_AUTODOT false
35 lang pt-br
36 LANG pt-br
37 controller NewsController
38 action index
39 CONTROLLER NewsController
40 ACTION index
41 master public
42 MASTER public
43 SESSION_STARTED true
44 flash
45 FLASH
46 IS_MOBILE false
47 IS_TABLET false

Debug e SQL: [expandir]

# Valor
1 SELECT poll.* FROM poll ORDER BY Id DESC LIMIT 1
2 SELECT COUNT(*) AS calc FROM poll ORDER BY Id DESC
3 SELECT ads.* FROM ads ORDER BY Id asc
4 SELECT news.* FROM news ORDER BY Id DESC LIMIT 20
5 SELECT COUNT(*) AS calc FROM news ORDER BY Id DESC