Cannot redeclare class Facebook with facebook-php-sdk-master -
i have been test successful project used codeigniter
facebook-php-sdk-master
user login facebook. may 2 month ago , run got errors message
fatal error: cannot redeclare class facebook in ../application/libraries/facebook.php on line 24
that line have code
class facebook extends basefacebook { //any code }
i don't know it's make problem. search in google result because have duplicate class name. after check it. it's show no same name of class in project , other 1 why before it's run , ? have idea it? please share me .
thanks
try include_once
code instead of include
Comments
Post a Comment