下了个开源代码研究,遇到验证码的问题,请教下,以下是错误代码:errID:2
errStr:imagettftext() [function.imagettftext]: Problem loading glyph
errFile:IWEB_PATH/core\util\captcha_class.php
errLine:256
errTime:11-09-22 14:38:21
##出错时变量的值:##
array (
'text' => 'nuheb',
'fontcfg' =>
array (
'spacing' => 2,
'minSize' => 22,
'maxSize' => 24,
'font' => 'font.ttf',
),
'fontfile' => 'E:\\php\\lib\\core\\util/font.ttf',
'lettersMissing' => 0,
'fontSizefactor' => 1,
'x' => 60,
'y' => 91,
'length' => 5,
'i' => 0,
'degree' => -5,
'fontsize' => 78,
'letter' => 'n',
)
-------
errStr:imagettftext() [function.imagettftext]: Problem loading glyph
errFile:IWEB_PATH/core\util\captcha_class.php
errLine:256
errTime:11-09-22 14:38:21
##出错时变量的值:##
array (
'text' => 'nuheb',
'fontcfg' =>
array (
'spacing' => 2,
'minSize' => 22,
'maxSize' => 24,
'font' => 'font.ttf',
),
'fontfile' => 'E:\\php\\lib\\core\\util/font.ttf',
'lettersMissing' => 0,
'fontSizefactor' => 1,
'x' => 60,
'y' => 91,
'length' => 5,
'i' => 0,
'degree' => -5,
'fontsize' => 78,
'letter' => 'n',
)
-------
解决方案 »
- 求教关于DEDECMS的问题
- PHP 如何用JQuery+AjAx 在页面实现显示影藏数据列
- 有人用过xdebug吗, 是不是xdebug只能调试本地服务器的代码啊?
- 我想把参数写进连接数据库文件,请各位有点经验,谢谢了
- 中国银联在线支付接口的问题!!!
- php教学系统
- 关于ECSHOP2.5和discuz7.0整合问题!!
- 哪位高手能说明一下discuz X2.5 upload/index.php文件思路!
- smarty模板文件tpl中在写输出的时候会变量名后面的“|h”是什么含义
- 问个if else 混编的问题
- 问一个ZEND FRAMEWORK的问题~
- 云粉们,有勇气来挑战你的创意潜能吗?还有大奖等你牵手呦!
errStr:imagettftext() [function.imagettftext]: Problem loading glyph
errFile:IWEB_PATH/core\util\captcha_class.php
errLine:256
errTime:11-09-22 14:38:21这段错误记录是开源码带的调试功能么?
提示的很清楚:
captcha_class.php这个文件里边的第256行错误。imagetfrtext()函数错误,应该是字符文件载入错误吧。