PHP warning

include_once(): open_basedir restriction in effect. File(/var/www/vsmile/data/www/rest.turovschool.ru/object/functions.php) is not within the allowed path(s): (/home/vsmile/.composer:/home/vsmile/web/static.turovschool.ru/public_html:/home/vsmile/web/turovschool.ru/public_html:/home/vsmile/web/turovschool.ru/private:/home/vsmile/web/turovschool.ru/public_shtml:/home/vsmile/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt)

/home/vsmile/web/turovschool.ru/public_html/seminars/preload.php(115)

103 /* --- Функции */
104 
105 header("Last-Modified: " . gmdate("D, d M Y H:i:s")." GMT");
106 header("Cache-Control: no-cache, must-revalidate");
107 header("Cache-Control: post-check=0,pre-check=0", false);
108 header("Cache-Control: max-age=0", false);
109 header("Pragma: no-cache");
110 
111 //require_once('/var/www/vsmile/data/www/legalbis.ru/object/uid.php');      /* СЛЕЖКА UID_TIP */
112 if(isset($_GET['geturl']))
113     die;
114 
115 include_once("/var/www/vsmile/data/www/rest.turovschool.ru/object/functions.php");  /* Функции */
116 
117 if(isset($_POST['method'])) {
118 
119     $method = $_POST['method'];
120     $data = $_POST['data'];
121     $dataMethod = json_decode($data);
122     $email            = $dataMethod->orderemail;
123     $payType        = $dataMethod->paytype;
124     $orderAmount    = $dataMethod->amount;
125     $city            = $dataMethod->city;
126 
127     $roId = array_key_exists('roistat_visit', $_COOKIE) ? $_COOKIE['roistat_visit'] : "неизвестно"; // Roistat

Stack Trace

#0
+
 /home/vsmile/web/turovschool.ru/public_html/seminars/preload.php(115): include_once()
110 
111 //require_once('/var/www/vsmile/data/www/legalbis.ru/object/uid.php');      /* СЛЕЖКА UID_TIP */
112 if(isset($_GET['geturl']))
113     die;
114 
115 include_once("/var/www/vsmile/data/www/rest.turovschool.ru/object/functions.php");  /* Функции */
116 
117 if(isset($_POST['method'])) {
118 
119     $method = $_POST['method'];
120     $data = $_POST['data'];
#1
+
 /home/vsmile/web/turovschool.ru/public_html/protected/views/layouts/seminar.php(2): require_once("/home/vsmile/web/turovschool.ru/public_html/seminars/preload.php")
1 <?
2 require_once('seminars/preload.php');
3 
4 $baseURL            = Yii::app()->request->baseUrl.'/seminars/';
5 $currentCityPage    = $this->currentCityPage;
6 $currentCityDate    = $this->currentCityDate;
7 
#5
+
 /home/vsmile/web/turovschool.ru/public_html/protected/controllers/SochiController.php(38): CController->render("index")
33     public function actionIndex() {
34         Yii::app()->getClientScript()->registerScriptFile($this->assetsBase . '/js/pre-order-spy.js', 2);
35         //Yii::import('application.seminars.*');
36         $this->currentCityPage = 'sochi';
37         //$this->redirect('/moscow');
38         $this->render('index');
39     }
40 
41 }
2024-03-29 02:31:48 Apache/2.4.53 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f Yii Framework/1.1.13