Ticket #1051 (closed defeito: fixed)

Opened 10 years ago

Last modified 10 years ago

Empty string or invalid image in show_thumbs.php on line 27

Reported by: niltonneto Owned by: niltonneto
Priority: grave Milestone: Expresso 2.0.6
Component: ExpressoMail Version: branch 2.0
Severity: Keywords: show_thumbs
Cc: jakjr@… WorkGroup:

Description

Foi detectado que quase um terço do php_error gerado no servidor de produção se deve ao erro:
{{ PHP Warning: imagecreatefromstring() [<a href='function.imagecreatefromstring'>function.imagecreatefromstring</a>]: Empty string or invalid image in /var/www/expresso/expressoMail1_2/inc/show_thumbs.php on line 27".

}}}
Favor tratar corretamente o retorno da função nativa imagecreatefromstring(), para eliminar o erro.

Change History

comment:1 Changed 10 years ago by niltonneto

O problema relatado depende exclusivamente do conteúdo da mensagem lida pelo usuário. Pode haver casos em que nunca aconteça. Corrigido no Branch 2.0 [2627].

comment:2 Changed 10 years ago by niltonneto

  • Status changed from new to closed
  • Resolution set to fixed

Corrigido no Trunk [2651].

comment:3 Changed 10 years ago by niltonneto

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 10 years ago by niltonneto

  • Status changed from reopened to closed
  • Resolution set to fixed

Corrigindo problema para cálculo do $theight, quando menor que 1 (erro no log) [2782]. Replicado no Branch 2.0 [2783]

Note: See TracTickets for help on using tickets.