91.227.69.106
Open in
urlscan Pro
91.227.69.106
Public Scan
URL:
http://91.227.69.106/
Submission: On December 02 via api from NL — Scanned from NL
Submission: On December 02 via api from NL — Scanned from NL
Form analysis
0 forms found in the DOMText Content
yii\base\InvalidConfigException: The directory is not writable by the Web process: /var/www/html/user/web/assets in /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php:242 Stack trace: #0 /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php(555): yii\web\AssetManager->checkBasePathPermission() #1 /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php(487): yii\web\AssetManager->publishDirectory() #2 /var/www/html/vendor/yiisoft/yii2/web/AssetBundle.php(181): yii\web\AssetManager->publish() #3 /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php(294): yii\web\AssetBundle->publish() #4 /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php(265): yii\web\AssetManager->loadBundle() #5 /var/www/html/vendor/yiisoft/yii2/web/View.php(296): yii\web\AssetManager->getBundle() #6 /var/www/html/vendor/yiisoft/yii2/web/AssetBundle.php(125): yii\web\View->registerAssetBundle() #7 /var/www/html/user/views/layouts/siteLayout.php(10): yii\web\AssetBundle::register() #8 /var/www/html/vendor/yiisoft/yii2/base/View.php(347): require('/var/www/html/u...') #9 /var/www/html/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile() #10 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(422): yii\base\View->renderFile() #11 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(408): yii\base\Controller->renderContent() #12 /var/www/html/user/controllers/SiteController.php(152): yii\base\Controller->render() #13 [internal function]: user\controllers\SiteController->actionIndex() #14 /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #15 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams() #16 /var/www/html/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction() #17 /var/www/html/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction() #18 /var/www/html/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest() #19 /var/www/html/user/web/index.php(33): yii\base\Application->run() #20 {main} Copied! INVALID CONFIGURATION – YII\BASE\INVALIDCONFIGEXCEPTION THE DIRECTORY IS NOT WRITABLE BY THE WEB PROCESS: /VAR/WWW/HTML/USER/WEB/ASSETS * 1. in /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php at line 242 233234235236237238239240241242243244245246247248249250251 if ($this->_isBasePathPermissionChecked) { return; } if (!is_dir($this->basePath)) { throw new InvalidConfigException("The directory does not exist: {$this->basePath}"); } if (!is_writable($this->basePath)) { throw new InvalidConfigException("The directory is not writable by the Web process: {$this->basePath}"); } $this->_isBasePathPermissionChecked = true; } /** * Returns the named asset bundle. * * This method will first look for the bundle in [[bundles]]. If not found, * 2. in /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php at line 555 – yii\web\AssetManager::checkBasePathPermission() 549550551552553554555556557558559560561 * * @return string[] the path directory and the URL that the asset is published as. * @throws InvalidArgumentException if the asset to be published does not exist. */ protected function publishDirectory($src, $options) { $this->checkBasePathPermission(); $dir = $this->hash($src); $dstDir = $this->basePath . DIRECTORY_SEPARATOR . $dir; if ($this->linkAssets) { if (!is_dir($dstDir)) { FileHelper::createDirectory(dirname($dstDir), $this->dirMode, true); * 3. in /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php at line 487 – yii\web\AssetManager::publishDirectory() 481482483484485486487488489490491492493 } if (is_file($src)) { return $this->_published[$path] = $this->publishFile($src); } return $this->_published[$path] = $this->publishDirectory($src, $options); } /** * Publishes a file. * @param string $src the asset file to be published * @return string[] the path and the URL that the asset is published as. * 4. in /var/www/html/vendor/yiisoft/yii2/web/AssetBundle.php at line 181 – yii\web\AssetManager::publish() 175176177178179180181182183184185186187 * CSS or JS files using [[AssetManager::converter|asset converter]]. * @param AssetManager $am the asset manager to perform the asset publishing */ public function publish($am) { if ($this->sourcePath !== null && !isset($this->basePath, $this->baseUrl)) { list($this->basePath, $this->baseUrl) = $am->publish($this->sourcePath, $this->publishOptions); } if (isset($this->basePath, $this->baseUrl) && ($converter = $am->getConverter()) !== null) { foreach ($this->js as $i => $js) { if (is_array($js)) { $file = array_shift($js); * 5. in /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php at line 294 – yii\web\AssetBundle::publish() 288289290291292293294295296297298299300 if (!isset($config['class'])) { $config['class'] = $name; } /* @var $bundle AssetBundle */ $bundle = Yii::createObject($config); if ($publish) { $bundle->publish($this); } return $bundle; } /** * 6. in /var/www/html/vendor/yiisoft/yii2/web/AssetManager.php at line 265 – yii\web\AssetManager::loadBundle() 259260261262263264265266267268269270271 */ public function getBundle($name, $publish = true) { if ($this->bundles === false) { return $this->loadDummyBundle($name); } elseif (!isset($this->bundles[$name])) { return $this->bundles[$name] = $this->loadBundle($name, [], $publish); } elseif ($this->bundles[$name] instanceof AssetBundle) { return $this->bundles[$name]; } elseif (is_array($this->bundles[$name])) { return $this->bundles[$name] = $this->loadBundle($name, $this->bundles[$name], $publish); } elseif ($this->bundles[$name] === false) { return $this->loadDummyBundle($name); * 7. in /var/www/html/vendor/yiisoft/yii2/web/View.php at line 296 – yii\web\AssetManager::getBundle() 290291292293294295296297298299300301302 * @throws InvalidConfigException if the asset bundle does not exist or a circular dependency is detected */ public function registerAssetBundle($name, $position = null) { if (!isset($this->assetBundles[$name])) { $am = $this->getAssetManager(); $bundle = $am->getBundle($name); $this->assetBundles[$name] = false; // register dependencies $pos = isset($bundle->jsOptions['position']) ? $bundle->jsOptions['position'] : null; foreach ($bundle->depends as $dep) { $this->registerAssetBundle($dep, $pos); } * 8. in /var/www/html/vendor/yiisoft/yii2/web/AssetBundle.php at line 125 – yii\web\View::registerAssetBundle() 119120121122123124125126127128129130131 * Registers this asset bundle with a view. * @param View $view the view to be registered with * @return static the registered asset bundle instance */ public static function register($view) { return $view->registerAssetBundle(get_called_class()); } /** * Initializes the bundle. * If you override this method, make sure you call the parent implementation in the last. */ * 9. in /var/www/html/user/views/layouts/siteLayout.php at line 10 – yii\web\AssetBundle::register() 45678910111213141516 /** @var string $content */ use common\models\work\SiteNews; use yii\helpers\Url; use user\assets\AppAsset; AppAsset::register($this); $homeUrl = Yii::$app->params['webPreffix'] . '/user/'; $this->registerJsVar('distressedApplicationUrl', Url::toRoute(['application'])); $announcements = SiteNews::getNewsForPublication(SiteNews::TYPE_ANONS,3,'>='); * 10. in /var/www/html/vendor/yiisoft/yii2/base/View.php at line 347 – require('/var/www/html/user/views/layouts...') 341342343344345346347348349350351352353 { $_obInitialLevel_ = ob_get_level(); ob_start(); ob_implicit_flush(false); extract($_params_, EXTR_OVERWRITE); try { require $_file_; return ob_get_clean(); } catch (\Exception $e) { while (ob_get_level() > $_obInitialLevel_) { if (!@ob_end_clean()) { ob_clean(); } * 11. in /var/www/html/vendor/yiisoft/yii2/base/View.php at line 257 – yii\base\View::renderPhpFile() 251252253254255256257258259260261262263 $this->renderers[$ext] = Yii::createObject($this->renderers[$ext]); } /* @var $renderer ViewRenderer */ $renderer = $this->renderers[$ext]; $output = $renderer->render($this, $viewFile, $params); } else { $output = $this->renderPhpFile($viewFile, $params); } $this->afterRender($viewFile, $params, $output); } array_pop($this->_viewFiles); $this->context = $oldContext; * 12. in /var/www/html/vendor/yiisoft/yii2/base/Controller.php at line 422 – yii\base\View::renderFile() 416417418419420421422423424425426427428 * @since 2.0.1 */ public function renderContent($content) { $layoutFile = $this->findLayoutFile($this->getView()); if ($layoutFile !== false) { return $this->getView()->renderFile($layoutFile, ['content' => $content], $this); } return $content; } /** * 13. in /var/www/html/vendor/yiisoft/yii2/base/Controller.php at line 408 – yii\base\Controller::renderContent() 402403404405406407408409410411412413414 * @return string the rendering result. * @throws InvalidArgumentException if the view file or the layout file does not exist. */ public function render($view, $params = []) { $content = $this->getView()->render($view, $params, $this); return $this->renderContent($content); } /** * Renders a static string by applying a layout. * @param string $content the static string being rendered * @return string the rendering result of the layout with the given static string as the `$content` variable. * 14. in /var/www/html/user/controllers/SiteController.php at line 152 – yii\base\Controller::render() 146147148149150151152153154155156157158 } return $this->render('index', [ 'partners' => $partners, 'announcements' => $announcements, 'reports'=>$reports, 'contacts' => $contacts ]); } public function actionReports() { * 15. user\controllers\SiteController::actionIndex() * 16. in /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php at line 57 – call_user_func_array() 515253545556575859 $args = $this->controller->bindActionParams($this, $params); Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } } * 17. in /var/www/html/vendor/yiisoft/yii2/base/Controller.php at line 178 – yii\base\InlineAction::runWithParams() 172173174175176177178179180181182183184 } $result = null; if ($runAction && $this->beforeAction($action)) { // run the action $result = $action->runWithParams($params); $result = $this->afterAction($action, $result); // call afterAction on modules foreach ($modules as $module) { /* @var $module Module */ * 18. in /var/www/html/vendor/yiisoft/yii2/base/Module.php at line 552 – yii\base\Controller::runAction() 546547548549550551552553554555556557558 $parts = $this->createController($route); if (is_array($parts)) { /* @var $controller Controller */ list($controller, $actionID) = $parts; $oldController = Yii::$app->controller; Yii::$app->controller = $controller; $result = $controller->runAction($actionID, $params); if ($oldController !== null) { Yii::$app->controller = $oldController; } return $result; } * 19. in /var/www/html/vendor/yiisoft/yii2/web/Application.php at line 103 – yii\base\Module::runAction() 979899100101102103104105106107108109 $params = $this->catchAll; unset($params[0]); } try { Yii::debug("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } $response = $this->getResponse(); if ($result !== null) { * 20. in /var/www/html/vendor/yiisoft/yii2/base/Application.php at line 384 – yii\web\Application::handleRequest() 378379380381382383384385386387388389390 { try { $this->state = self::STATE_BEFORE_REQUEST; $this->trigger(self::EVENT_BEFORE_REQUEST); $this->state = self::STATE_HANDLING_REQUEST; $response = $this->handleRequest($this->getRequest()); $this->state = self::STATE_AFTER_REQUEST; $this->trigger(self::EVENT_AFTER_REQUEST); $this->state = self::STATE_SENDING_RESPONSE; $response->send(); * 21. in /var/www/html/user/web/index.php at line 33 – yii\base\Application::run() 27282930313233343536 require(__DIR__ . '/../config/main.php'), require(__DIR__ . '/../config/main-local.php') ); if (isset($params['siteClose']) && $params['siteClose']) { $html = 'Ведуться техничні роботи. Спробуйте пізніш ......'; } else { (new yii\web\Application($config))->run(); } ?> <?=(isset($html) ? $html : '')?> 2023-12-02, 05:04:08 Apache/2.4.57 (CentOS Stream) OpenSSL/3.0.7 Yii Framework/2.0.49.3 Warning: mkdir(): Permission denied in /var/www/html/vendor/yiisoft/yii2/helpers/BaseFileHelper.php on line 711