Captcha image issue.
Posted 30 May 2009 - 10:21 PM
The image source is not of an image but the local path of src="/index.php?r=post/captcha".
How is this happening? Can I not run this from my local machine?
Posted 30 May 2009 - 10:31 PM
it may not render on your computer because you need the php extension gd2. are you using wamp on windows or are you in a linux environment?
Posted 31 May 2009 - 11:34 PM
I don't quite understand. The URI index.php?r=post/captcha should display the captcha image? If that was the case then I would think that the URL http://www.yiiframew...?r=post/captcha would also show a captcha image.
I am running Linux and gd2 and php5-gd are both installed. I have tried this on two computers now running the same set-up.
Posted 01 June 2009 - 12:36 AM
I have fixed this error by adding 'captcha' to the actions array in AccessRules() in PostController.