Yii Framework Forum: Yii Captcha Extended - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii Captcha Extended Rate Topic: -----

#1 User is offline   zohaib 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 27-February 13

Posted 27 February 2013 - 06:07 AM

Hey I am using an extension of yii captcha-extended Yii extended Captcha .The problem is that its work fine on localhost but when i upload this to my live link captcha picture is broken . i have checked my Gd extension it is enabled .i think that it is problem of path so
code for path to extension in ccontroller
public function init(){
        // register class paths for extension captcha extended
        Yii::$classMap = array_merge( Yii::$classMap, array(
            'CaptchaExtendedAction' => Yii::getPathOfAlias('ext.captchaExtended').DIRECTORY_SEPARATOR.'CaptchaExtendedAction.php',
            'CaptchaExtendedValidator' => Yii::getPathOfAlias('ext.captchaExtended').DIRECTORY_SEPARATOR.'CaptchaExtendedValidator.php'
        ));
    }


model and controller is edited as in the extension page written
I need some quick reply . Thanks in advance.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users