Welcome Guest, Not a member yet? Register   Sign In
Could not find language line?
#1

[eluser]koichirose[/eluser]
Hi, my codeigniter log is full of lines like this:
Code:
ERROR - 2013-02-06 05:00:58 --> Could not find the language line "calculate_amount"

Grepping that recursively inside my project directory doesn't return anything language-related:
Code:
$ grep "calculate_amount" ./ -R
./application/controllers/register.php: $this->form_validation->set_rules('amount', 'amount', 'callback_calculate_amount');
./application/controllers/register.php: function calculate_amount($amount)
./application/views/public/v_register.php: <?php //calculate_amount ?>

Hints?
Something related to form validation, perhaps?
#2

[eluser]Harold Villacorte[/eluser]
Have you set an error message in the "calculate amount" function for when the input does not validate?
#3

[eluser]koichirose[/eluser]
That was it, setting an error message solved the problem.

Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB