PHP warning

include(NotFoundHttpException.php): failed to open stream: No such file or directory

/data/b3/baltika3.ru/public/public/promo/yii-1.1.17.467ff50/framework/YiiBase.php(432)

420                         {
421                             include($classFile);
422                             if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
423                                 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
424                                     '{class}'=>$className,
425                                     '{file}'=>$classFile,
426                                 )));
427                             break;
428                         }
429                     }
430                 }
431                 else
432                     include($className.'.php');
433             }
434             else  // class name with namespace in PHP 5.3
435             {
436                 $namespace=str_replace('\\','.',ltrim($className,'\\'));
437                 if(($path=self::getPathOfAlias($namespace))!==false && is_file($path.'.php'))
438                     include($path.'.php');
439                 else
440                     return false;
441             }
442             return class_exists($className,false) || interface_exists($className,false);
443         }
444         return true;

Stack Trace

#2
+
 /data/b3/baltika3.ru/public/public/promo/protected/models/Crm.php(442): spl_autoload_call("NotFoundHttpException")
437         die;*/ 
438 
439 
440 
441         if (curl_errno($ch) > 0) {
442             throw new NotFoundHttpException(curl_error($ch).' ('.curl_errno($ch).')');
443         }
444 
445         curl_close($ch);
446 
447         if ($parseJson) {
#3
+
 /data/b3/baltika3.ru/public/public/promo/protected/models/Crm.php(29): Crm->makeRequest("ApiAuthUser", array("data" => array("login" => "PET2019", "password" => "Hd83qJ1baD3")))
24 
25         if ($t2 - $t1 > 60 * 60 * 20 || empty($this->token)) {
26             $response = $this->makeRequest('ApiAuthUser', [
27                 'data' => [
28                     'login' => $this->api_t_user,
29                     'password' => $this->api_t_password,
30                 ],
31             ]);
32 
33             $this->token = $response->access_token;
34 
#4
+
 /data/b3/baltika3.ru/public/public/promo/protected/components/Controller.php(91): Crm->checkUpdateToken()
86     {
87         if ($action->id == 'logout' || $action->id == 'import')
88             return parent::beforeAction($action);
89 
90 
91         $this->crm->checkUpdateToken();
92 
93 
94         if (!(
95             ($this->id == 'site' && ($this->action->id == 'age' || $this->action->id == 'agegate' || $this->action->id == 'activate' || $this->action->id == 'test' || $this->action->id == 'error' || $this->action->id == 'message')) ||
96             ($this->id == 'profile' && ($this->action->id == 'unsubscribe'))
2021-10-19 09:07:26 Apache Yii Framework/1.1.17