سلام دوستان
من دارم روی یک برنامه کار میکنم که کارش ایجاد جدول هستش و در هر ستون یک آیکنی درج میشه که با کلیک روش عملی انجام میشه ولی بعد از افزودن لینک خطای زیر ظاهر میشه:
2S119/1. The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information.
فرمت:
'link' => \IPS\Http\Url::internal('app=mtasa&module=adminpanel&controller=players&do=viewAccount&id='. $row['id'])
اطلاعات جدول:
protected function viewAccount()
{
\IPS\Session::i()>csrfCheck();
$database = \IPS\mtasa\Application::dbConnect();
$result = $db->select( '*', 'users', [ 'id = ?', \IPS\Request::i()->id ] )->first();
$template = \IPS\Theme::i()->getTemplate( 'adminpanel', 'mtasa', 'admin' )->playerDetails($result);
\IPS\Output::i()->output = $template;
}