[eluser]Unknown[/eluser]
I'm still have that problem. I've put this code in the config.php, but doesn't worked.
[quote author="igniteflow" date="1267726301"]
Code:
/*
| -------------------------------------------------------------------
| Native Auto-load
| -------------------------------------------------------------------
|
| Nothing to do with config/autoload.php, this allows PHP autoload to work
| for controller types and some third-party libraries.
|
*/
function __autoload($class)
{
if(strpos($class, 'CI_') !== 0)
{
$class = APPPATH . 'classes/'. $class . EXT;
$lib = APPPATH . 'libraries/'. $class . EXT;
if(file_exists($class))
{
include_once( $class );
}
else if(file_exists($lib))
{
include_once( $lib );
}
}
}
[/quote]
And then, these messages started to show.
Code:
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for Facebook::__construct(), called in /home/project/system/libraries/Loader.php on line 928 and defined
Filename: libraries/facebook.php
Line Number: 165
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: config
Filename: libraries/facebook.php
Line Number: 166
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: config
Filename: libraries/facebook.php
Line Number: 167
Somebody know how can I resolve that?