During connection I am getting an error. At this site. When I press Log in and then agree getting error
An uncaught Exception was encountered
Type: FacebookApiException
Message: An active access token must be used to query information about the current user.
Filename: /data/www/iflyge/iflybase.com/application/libraries/base_facebook.php
Line Number: 1340
Backtrace:
File: /data/www/iflyge/iflybase.com/application/libraries/base_facebook.php Line: 911 Function: throwAPIException
File: /data/www/iflyge/iflybase.com/application/libraries/base_facebook.php Line: 687 Function: call_user_func_array
File: /data/www/iflyge/iflybase.com/application/controllers/Fb.php Line: 435 Function: api
File: /data/www/iflyge/iflybase.com/index.php Line: 316 Function: require_once
Any Idea how can I solve this problem? Similar script works well with other web-sites