- 5 Мар 2021
- 3
- 0
Причина
Фатальная ошибка PHP – yii\base\ErrorException
Класс 'app\modules\gateway\controllers\ForbiddenHttpException' не найден
'orderId' => > '8711',
];
$_COOKIE = [
'__cfduid' => > 'dd304b10ad9d05245d2e5e75392d711f71614923955',
'_csrf' = > > 'ac2ab15c202d101942b47c579d4c0ef82e0388ecff91ba04841656aec60f3ddaa:2:{i:0;s:5:"_csrf";i:1;s:32:"vItAu2_g6vULMWLuxqgs5_Kh0co6PRoe";}',
];
2021-03-05, 15:30:08
Апач
Yii Framework/2.0.35
Фатальная ошибка PHP – yii\base\ErrorException
Класс 'app\modules\gateway\controllers\ForbiddenHttpException' не найден
- 1. в /home/uqojkmhu/public_html/radmir.games/modules/gateway/controllers/PaymentController.phpна линии 85
76777879808182838485868788899091929394 $ip = Yii::$app->getRequest()->getUserIP();
$paymentOrder = PaymentOrder:: find()->where ([>'order_id' => > $orderId])->with ([>'project'])->asArray()->>one();
если(!$paymentOrder) {
throw new NotFoundHttpException('заказ не найден');
}
if($paymentOrder->ip != $ip) {
throw new ForbiddenHttpException('no access to this order');
}
$enotUrl = Enot::createPaymentUrl($paymentOrder['order_id'], $paymentOrder['sum']);
$interkassaUrl = Interkassa::createPaymentUrl($paymentOrder['order_id'], $paymentOrder['sum']);
$qiwiUrl = Qiwi::createPaymentUrl($paymentOrder['order_id'], $paymentOrder['sum']);
$_methods = PaymentMethod::find()->with(['system'])->asArray()->where(['disabled' => 0])->orderBy(['sort' => SORT_ASC])->all();
$методы = [];
foreach($_method as $method) {
- 2. yii\base\ErrorHandler:: handleFatalError()
'orderId' => > '8711',
];
$_COOKIE = [
'__cfduid' => > 'dd304b10ad9d05245d2e5e75392d711f71614923955',
'_csrf' = > > 'ac2ab15c202d101942b47c579d4c0ef82e0388ecff91ba04841656aec60f3ddaa:2:{i:0;s:5:"_csrf";i:1;s:32:"vItAu2_g6vULMWLuxqgs5_Kh0co6PRoe";}',
];
2021-03-05, 15:30:08
Апач
Yii Framework/2.0.35