[eluser]Unknown[/eluser]
I am using a recaptcha library and load it as per usual:
Code:
$this->load->library('recaptcha');
However, whenever I call some thing like:
Code:
$this->recaptcha->get_html();
It tells me: Unable to load the requested file: recaptcha.php
Weird thing is that the constructor in the recaptcha library logs that it initialized properly and it only errors when I try and use functions. Any ideas?
Edit: It seems as if it's not loading a config file properly
Code:
$this->_CI->config->load('recaptcha');
But I have a file called recaptcha.php in my config folder. Hmm...
Solved: After debugging the library it seems you need a view file called recaptcha.php, which was not included in the download. So if you're having this problem with recaptcha just create a view file.