error แบบนี้ CSRF state token does not match one provided.
แต่ไปค้นมาว่าน่าจะเป็นที่ไฟล์ base_facebook.php ใครที่มีโค้ดรบกวนบอกให้หน่อยได้ไหมครับ
Code (PHP)
<?
protected function getCode() {
if (isset($_REQUEST['code'])) {
if ($this->state !== null && isset($_REQUEST['state']) && $this->state == $_REQUEST['state']) {
// CSRF state has done its job, so clear it
$this->state = null;
$this->clearPersistentData('state');
return $_REQUEST['code'];
} else {
$add = '';
if($this->state == null){
$add .= ' state is null.';
}
if(!isset($_REQUEST['state'])){
$add .= ' state is not set.';
}
if($this->state !== $_REQUEST['state']){
$add .= ' states do not match.';
}
self::errorLog('CSRF state token does not match one provided.');
return false;
}
}
return false;
}
?>