Welcome Guest, Not a member yet? Register   Sign In
Call to undefined method CI_Loader::spark()
#1

[eluser]Unknown[/eluser]
I try to integrate oauth-facebook in my application.. recently reviewing this site http://getsparks.org/ and following all the manual steps to install sparks... can't..
here is my directory tree.

root
sparks
oauth
0.0.2
config
language
libraries
spark.info
README.md

//autoload
$autoload['sparks'] = array('oauth/0.0.2');

//controller
class Auth extends CI_Controller
{
public function oauth($providername)
{
$key=config_item($providername . '_key');
$secret=config_item($providername . '_secret');

$this->load->helper('url');

$this->load->spark('oauth/0.0.2');

When I try I gets this message: Fatal error: Call to undefined method CI_Loader:Confusedpark() in /home/content/41/12636841/html/application/controllers/auth.php on line 11

Please help with this issue ASAP here is the link to gets the error
http://www.biipitdev.com/auth/oauth/facebook


Messages In This Thread
Call to undefined method CI_Loader::spark() - by El Forum - 05-28-2014, 11:11 AM
Call to undefined method CI_Loader::spark() - by El Forum - 05-28-2014, 02:03 PM
Call to undefined method CI_Loader::spark() - by El Forum - 05-29-2014, 08:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB