Gregwar / Captcha

PHP Captcha library
MIT License
1.73k stars 290 forks source link

Division by zero #26

Closed radli closed 9 years ago

radli commented 9 years ago

Hello, I have recently begun to see some of that's just such a message in the log

2015/06/08 15:41:56 [error] 23082
0: *8471087 FastCGI sent in stderr: "PHP message: PHP Warning: Division by zero in /var/www/vendor/gregwar/captcha/CaptchaBuilder.php on line 321" 
request: "GET /_gcb/generate-captcha/gcb_captcha?n=1433767309?1589940139 HTTP/1.1", 

VERSION v1.1

Thank you!

whyte624 commented 9 years ago

me too :+1:

deeravenger commented 9 years ago

Fix it, please!

TheRatG commented 9 years ago

+1

whyte624 commented 9 years ago

waiting for release, please!

Gregwar commented 9 years ago

Tagged v1.0.13

whyte624 commented 9 years ago

Previous tag was https://github.com/Gregwar/Captcha/releases/tag/v1.1. And also CaptchaBundle uses v1.1.

What do you think of changing tag to v1.1.1 or v1.2 and updating CaptchaBundle as well?

Thanks!

Gregwar commented 9 years ago

Tagged v1.1.1, sorry for the mistake Since CaptchaBundle depends on ~1.1, I guess the 1.1.1 should be installed by composer

radli commented 9 years ago

Thanks!