• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] CodeIgniter 2.2.6 captcha bug?

#1
After upgrade now i've this kind of error in all page of my applications that use captcha...

Code:
A PHP Error was encountered
Severity: Notice

Message: Undefined variable: word_length

Filename: helpers/captcha_helper.php

Line Number: 147

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: word_length

Filename: helpers/captcha_helper.php

Line Number: 188

A PHP Error was encountered
Severity: Warning

Message: Division by zero

Filename: helpers/captcha_helper.php

Line Number: 204

A PHP Error was encountered
Severity: Warning

Message: Division by zero

Filename: helpers/captcha_helper.php

Line Number: 276

Is a possible bug or something i'm wrong?
Reply

#2
It seems a bug.

https://github.com/bcit-ci/CodeIgniter/b...er.php#L73
is missing in 2.2.6.
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#3
Confirmed as a bug?
Will there be a release fixing this?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.