donna 0 Report post Posted January 31, 2009 I keep getting this error when trying to install Captcha:Parse error: syntax error, unexpected T_STRING in /home/krausede/public_html/modules/captcha.module on line 39Here's line 39:captchas = new CaptchasDotNet ('demo', 'secret',Any help? Share this post Link to post Share on other sites
sonesay 7 Report post Posted January 31, 2009 you need a $ sign infront of captchas so it is $captchas. also you need to properly end CaptchasDotNet ('demo', 'secret'); if it requires more parameters then do so but I don't know the full signature o f that function. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted February 1, 2009 Can you post some more code, please.A couple of lines before and after the one you have posted already. Thanks. Share this post Link to post Share on other sites
galexcd 0 Report post Posted February 1, 2009 you need to properly end CaptchasDotNet ('demo', 'secret'); if it requires more parameters then do so but I don't know the full signature o f that function.It may be that the rest of the parameters and the closing of the function is on the next line. We don't know until more code is posted as jlhaslip suggested. We shouldn't make assumptions until we know what is going on in the code. Share this post Link to post Share on other sites
donna 0 Report post Posted February 1, 2009 It may be that the rest of the parameters and the closing of the function is on the next line. We don't know until more code is posted as jlhaslip suggested. We shouldn't make assumptions until we know what is going on in the code.Honestly, at this point, the entire captcha script isn't working. I think I need to start from scratch. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted February 1, 2009 I know that this link works as an effective captcha.Try it and let us know if you have any issues with it. We will be able to assit you further if you use this and it fails. It was written by one of our moderators and it works fine.http://forums.xisto.com/topic/45058-a-simple-php-captcha-image-validation/All the best. Share this post Link to post Share on other sites