Hi all,
I am confused with captcha feature : Images are displayed on my localhost, but aren’t on my hosted site.
I found many ideas on this forum :
-
check that Duality.ttf file is transferred with binary mode
-
check actions in controller
-
check accessRules in controller
-
check the yii requirements on the server
-
change ‘allowEmpty’=>CCaptcha::checkRequirements()) with ‘allowEmpty’=>!extension_loaded(‘gd’)
-
check GD on the server
But issue still occurses.
On my PC (Win7, wamp), it works fine, based on the yum extension, without any modification in this feature. PhpInfo returns these informations about GD :
GD Support : enabled
GD Version : bundled (2.0.34 compatible)
FreeType Support : enabled
FreeType Linkage : with freetype
FreeType Version : 2.4.3
GIF Read Support : enabled
GIF Create Support : enabled
JPEG Support : enabled
libJPEG Version : 6b
PNG Support : enabled
libPNG Version : 1.2.44
WBMP Support : enabled
XBM Support : enabled
Directive ; Local Value ; Master Value ;
gd.jpeg_ignore_warning ; 0 ; 0 ;
On my hosted site (Linux, Apache 2.0), /testdrive, /framework and /requirements directories are transferred. PhpInfo returns these informations about GD :
GD Support : enabled
GD Version : 2.0 or higher
FreeType Support : enabled
FreeType Linkage : with freetype
FreeType Version : 2.3.11
T1Lib Support : enabled
GIF Read Support : enabled
GIF Create Support : enabled
JPG Support : enabled
PNG Support : enabled
WBMP Support : enabled
Can somebody help me understand this behavior ?
Thanks.