Warning (2): imageftbbox() [function.imageftbbox]: Could not find/open font [CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 309]
Context |
Code$r = 92
$g = 34
$b = 20
$i = 0
$sCurrentFont = "tahoma.ttf"
$iTextColour = 71
$iFontSize = 17
$iAngle = -8
$iAngle = rand(-30, 30);
// get dimensions of character in selected font and text size
$aCharDetails = imageftbbox($iFontSize, $iAngle, $sCurrentFont, $this->sCode[$i], array());
imageftbbox - [internal], line ??
PhpCaptcha::DrawCharacters() - CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 309
PhpCaptcha::Create() - CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 391
CaptchaComponent::image() - CORE/app/controllers/components/captcha.php, line 31
CaptchaController::image() - CORE/app/controllers/captcha_controller.php, line 10
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 83
Warning (2): imagefttext() [function.imagefttext]: Could not find/open font [CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 317]
Context |
Code$r = 92
$g = 34
$b = 20
$i = 0
$sCurrentFont = "tahoma.ttf"
$iTextColour = 71
$iFontSize = 17
$iAngle = -8
$aCharDetails = false
$iX = 10.25
$iCharHeight = 0
$iY = 30
$iY = $this->iHeight / 2 + $iCharHeight / 4;
// write text to image
imagefttext($this->oImage, $iFontSize, $iAngle, $iX, $iY, $iTextColour, $sCurrentFont, $this->sCode[$i], array());
imagefttext - [internal], line ??
PhpCaptcha::DrawCharacters() - CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 317
PhpCaptcha::Create() - CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 391
CaptchaComponent::image() - CORE/app/controllers/components/captcha.php, line 31
CaptchaController::image() - CORE/app/controllers/captcha_controller.php, line 10
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 83
Warning (2): Cannot modify header information - headers already sent by (output started at /home/danielzeli/domains/aydmultimedia.com/public_html/dd/cake/basics.php:773) [CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 333]
Context |
Code$sFilename = ""
function WriteFile($sFilename) {
if ($sFilename == '') {
// tell browser that data is jpeg
header("Content-type: image/$this->sFileType");
}
header - [internal], line ??
PhpCaptcha::WriteFile() - CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 333
PhpCaptcha::Create() - CORE/app/vendors/phpcaptcha/php-captcha.inc.php, line 394
CaptchaComponent::image() - CORE/app/controllers/components/captcha.php, line 31
CaptchaController::image() - CORE/app/controllers/captcha_controller.php, line 10
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 83