Warning (2): getimagesize(D:\Apache\CakePHP\app\webroot\/img/noticias/.jpg) [
function.getimagesize]: failed to open stream: No such file or directory [
APP\views\helpers\imagenes.php, line
10]
Code |
Context$archivo = ".jpg"
$dir = "/img/noticias/"
$anchoN = 130
$altoN = null
$porcentaje_x = 1
$download = false
$fuente = "D:\Apache\CakePHP\app\webroot\/img/noticias/.jpg"
getimagesize - [internal], line ??
ImagenesHelper::generar() - APP\views\helpers\imagenes.php, line 10
include - APP\views\noticias\index.ctp, line 22
View::_render() - CORE\cake\libs\view\view.php, line 654
View::render() - CORE\cake\libs\view\view.php, line 372
Controller::render() - CORE\cake\libs\controller\controller.php, line 744
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 262
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 213
[main] - APP\webroot\index.php, line 90
Warning (2): Division by zero [APP\views\helpers\imagenes.php, line 12]
Code |
Context$archivo = ".jpg"
$dir = "/img/noticias/"
$anchoN = 130
$altoN = null
$porcentaje_x = 1
$download = false
$fuente = "D:\Apache\CakePHP\app\webroot\/img/noticias/.jpg"
$type = null
$alto = null
$ancho = null
$ext = false
list($ancho, $alto, $type) = getimagesize($fuente);
$ext = image_type_to_extension($type);
$razon = $ancho / $alto;
ImagenesHelper::generar() - APP\views\helpers\imagenes.php, line 12
include - APP\views\noticias\index.ctp, line 22
View::_render() - CORE\cake\libs\view\view.php, line 654
View::render() - CORE\cake\libs\view\view.php, line 372
Controller::render() - CORE\cake\libs\controller\controller.php, line 744
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 262
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 213
[main] - APP\webroot\index.php, line 90
Warning (2): Division by zero [APP\views\helpers\imagenes.php, line 18]
Code |
Context$archivo = ".jpg"
$dir = "/img/noticias/"
$anchoN = 130
$altoN = null
$porcentaje_x = 1
$download = false
$fuente = "D:\Apache\CakePHP\app\webroot\/img/noticias/.jpg"
$type = null
$alto = null
$ancho = null
$ext = false
$razon = false
$finalAncho = 130
$finalAncho = $anchoN;
if (trim($altoN) == "")
$finalAlto = floor($anchoN / $razon);
ImagenesHelper::generar() - APP\views\helpers\imagenes.php, line 18
include - APP\views\noticias\index.ctp, line 22
View::_render() - CORE\cake\libs\view\view.php, line 654
View::render() - CORE\cake\libs\view\view.php, line 372
Controller::render() - CORE\cake\libs\controller\controller.php, line 744
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 262
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 213
[main] - APP\webroot\index.php, line 90
" alt=".jpg" class="post_imagen imagen_link" />
Sab. 06, Octubre, 2007
Visitas: 289 »
0