Welcome Guest, Not a member yet? Register   Sign In
Persistent Error
#1

[eluser]Unknown[/eluser]
Hello I just used the Recaptcha library today and it's driving me nuts because of this error:


Fatal error: Call to undefined method Recaptcha::recaptcha_get_html() in C:\xampp\htdocs\xxxxxxxxxxx\application\controllers\user.php on line 94


this is some parts of my method in user controller
Code:
$this->load->library('recaptcha');
$this->load->library('form_validation');
$this->lang->load('recaptcha');

if ($this->form_validation->run() == FALSE):
    $this->load->view('users/register', array($data, $this->recaptcha->recaptcha_get_html()));
   else:

Register.php

Code:
<p>
&lt;?= form_error('recaptcha_response_field') ?&gt;
&lt;?= $recaptcha ?&gt;
</p>

I also copied to my user(view directory ) the included recaptcha. Please help I've been stuck with this one for almost 5 hours I followed the Wiki properly. I also know for sure that my public/private keys are correct.


Messages In This Thread
Persistent Error - by El Forum - 02-04-2012, 12:48 PM
Persistent Error - by El Forum - 02-05-2012, 01:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB