Foros del Web » Programando para Internet » PHP »

PHP OO Problemas con CAPTCHA

Estas en el tema de Problemas con CAPTCHA en el foro de PHP en Foros del Web. Hola, tengo una web el problema es que al registrarse pide condigo de verificacion y envez de sair el codigo sale esto: Cita: Warning: imageftbbox() ...
  #1 (permalink)  
Antiguo 25/01/2011, 22:46
 
Fecha de Ingreso: enero-2011
Mensajes: 2
Antigüedad: 13 años, 3 meses
Puntos: 0
Pregunta Problemas con CAPTCHA

Hola, tengo una web el problema es que al registrarse pide condigo de verificacion y envez de sair el codigo sale esto:

Cita:
Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 304

Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 304

Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 304

Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 304

Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 304

Warning: imageftbbox() [function.imageftbbox]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 296

Warning: imagefttext() [function.imagefttext]: Could not find/open font in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 304

Warning: Cannot modify header information - headers already sent by (output started at /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php:296) in /data/multiserv/users/510872/projects/1255991/www/includes/captcha/php-captcha.inc.php on line 320
ÿØÿàJFIFÿþ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality ÿÛC    $.' ",#(7), (AQUII SEGUIAN UNOS 600 LETRAS PERO NADA CONCORDABA)
No puedo registrarme ni que nadie se registre si sale esto, Quien sabra el codigo?? nadie ps y mi web esta hay, ya he intentado todo lo que se pero nada funiona.

Aqui esta el CAPTCHA.PHP:
Cita:
<?php
/*================================================= ===============+\
|| # PHPRetro - An extendable virtual hotel site and management
|+================================================ ==================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|| # All images, scripts, and layouts
|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.
|+================================================ ==================
|| # PHPRetro is provided "as is" and comes without
|| # warrenty of any kind. PHPRetro is free software!
|| # License: GNU Public License 3.0
|| # http://opensource.org/licenses/gpl-license.php
\+================================================ ================*/

// Feel free to change the settings for your hotel.

require('./php-captcha.inc.php');
$aFonts = array('./monofont.ttf');
$oPhpCaptcha = new PhpCaptcha($aFonts, 200, 60);
$oPhpCaptcha->SetWidth(200);
$oPhpCaptcha->SetHeight(60);
$oPhpCaptcha->SetNumChars(6);
$oPhpCaptcha->SetCharSet('a,b,c,d,e,f,g,h,j,k,m,n,p,q,r,s,t,u,v ,w,x,y,z');
$oPhpCaptcha->SetNumLines(70);
$oPhpCaptcha->DisplayShadow(false);
$oPhpCaptcha->SetMaxFontSize(50);
$oPhpCaptcha->SetMinFontSize(40);
$oPhpCaptcha->UseColour(false);
$oPhpCaptcha->Create();
?>

o abra algun problema en captcha.ini??
AYUDENME PLZZ
aqui esta i web, haber si le echan un vistaso.
[URL="http://hoteltipton.co.de"]Hotel Tipton. Co. De[/URL]
  #2 (permalink)  
Antiguo 26/01/2011, 02:38
Avatar de djsos  
Fecha de Ingreso: septiembre-2007
Ubicación: Madrid-España
Mensajes: 374
Antigüedad: 16 años, 7 meses
Puntos: 14
Respuesta: Problemas con CAPTCHA

Hola

El error lo que te esta diciendo es que no encuentra o no puede abrir los archivos que te dice, revisa que los archivos esten y que las rutas sean las correctas y que el arrchivo que quieres abrirles tenga permiso para hacerlo.

Ahora una pekeña bronca has abierto dos post iguales, ten cuidado y que no vuelva a ocurrir ok ;)
Un Saludo
__________________
Es de bien nacidos ser agradecidos.
Desarrollo de software a medida | TPV Comercios

Etiquetas: captcha, registracion, registrarse, webmaster
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:01.