Welcome Guest, Not a member yet? Register   Sign In
Simple Problem : Internal server error
#1

[eluser]Unknown[/eluser]
I was following the article here :
http://www.ibm.com/developerworks/web/li...er/?ca=drs-

to create a fb app. I created a Controller as follows:

Code:
<?php

class Sattaking extends Controller
{
    function Home()
    {
        parent::Controller();
        $this->load->plugin('facebook');
    }
    
    function index()
    {
        $this->load->view('sattakingview');
    }
}

?>

And the view as described in the article . But still i am getting an internal error in server .

Can anybody explain what is happening ?
#2

[eluser]Wondering Coder[/eluser]
try this:

Code:
<?php

class Sattaking extends Controller
{
    function Sattaking()
    {
        parent::Controller();
        $this->load->plugin('facebook');
    }
    
    function index()
    {
        $this->load->view('sattakingview');
    }
}

?>

what CI version do you use?




Theme © iAndrew 2016 - Forum software by © MyBB