Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invalid Configuration – yii\base\InvalidConfigException
- The directory does not exist: C:/OpenServer/domains/flint/flint/webinar/web/assets
- 1. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\AssetManager.php at line 213
- 204205206207208209210211212213214215216217218219220221222 /**
- * Initializes the component.
- * @throws InvalidConfigException if [[basePath]] is invalid
- */
- public function init()
- {
- parent::init();
- $this->basePath = Yii::getAlias($this->basePath);
- if (!is_dir($this->basePath)) {
- throw new InvalidConfigException("The directory does not exist: {$this->basePath}");
- } elseif (!is_writable($this->basePath)) {
- throw new InvalidConfigException("The directory is not writable by the Web process: {$this->basePath}");
- } else {
- $this->basePath = realpath($this->basePath);
- }
- $this->baseUrl = rtrim(Yii::getAlias($this->baseUrl), '/');
- }
- /**
- 2. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Object.php at line 107 – yii\web\AssetManager::init()
- 3. yii\base\Object::__construct(['linkAssets' => true, 'bundles' => ['yii\web\JqueryAsset' => ['sourcePath' => null, 'js' => []]]])
- 4. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\di\Container.php at line 381 – ReflectionClass::newInstanceArgs([['linkAssets' => true, 'bundles' => ['yii\web\JqueryAsset' => ['sourcePath' => null, 'js' => []]]]])
- 5. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\di\Container.php at line 156 – yii\di\Container::build('yii\web\AssetManager', [], ['linkAssets' => true, 'bundles' => ['yii\web\JqueryAsset' => ['sourcePath' => null, 'js' => []]]])
- 6. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\BaseYii.php at line 344 – yii\di\Container::get('yii\web\AssetManager', [], ['linkAssets' => true, 'bundles' => ['yii\web\JqueryAsset' => ['sourcePath' => null, 'js' => []]]])
- 7. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\di\ServiceLocator.php at line 135 – yii\BaseYii::createObject(['linkAssets' => true, 'bundles' => ['yii\web\JqueryAsset' => ['sourcePath' => null, 'js' => []]]])
- 8. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Application.php at line 605 – yii\di\ServiceLocator::get('assetManager')
- 9. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\View.php at line 225 – yii\base\Application::getAssetManager()
- 10. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\View.php at line 285 – yii\web\View::getAssetManager()
- 11. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\AssetBundle.php at line 125 – yii\web\View::registerAssetBundle('webinar\assets\WebinarAsset')
- 12. in C:\OpenServer\domains\flint\flint\webinar\views\webinar\index.php at line 23 – yii\web\AssetBundle::register(yii\web\View)
- 17181920212223242526272829 $lang = 'th';
- } else {
- $lang = Yii::$app->request->getCurrentLanguage();
- }
- $this->title = Yii::t('common', 'FL International');
- WebinarAsset::register($this);
- ?>
- <div class="webinar dib-container">
- <div class="webinar_container dib">
- 13. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\View.php at line 328 – require('C:\OpenServer\domains\flint\flin...')
- 14. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\View.php at line 250 – yii\base\View::renderPhpFile('C:\OpenServer\domains\flint\flin...', [])
- 15. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\View.php at line 152 – yii\base\View::renderFile('C:\OpenServer\domains\flint\flin...', [], webinar\controllers\WebinarController)
- 16. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Controller.php at line 381 – yii\base\View::render('index', [], webinar\controllers\WebinarController)
- 17. in C:\OpenServer\domains\flint\flint\webinar\controllers\WebinarController.php at line 32 – yii\base\Controller::render('index')
- 26272829303132333435363738
- /**
- * @return string
- */
- public function actionIndex()
- {
- return $this->render('index');
- }
- /**
- * @param $id
- * @return string
- * @throws HttpException
- 18. webinar\controllers\WebinarController::actionIndex()
- 19. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\InlineAction.php at line 57 – call_user_func_array([webinar\controllers\WebinarController, 'actionIndex'], [])
- 20. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Controller.php at line 156 – yii\base\InlineAction::runWithParams(['id' => '1'])
- 21. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Module.php at line 523 – yii\base\Controller::runAction('', ['id' => '1'])
- 22. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\Application.php at line 102 – yii\base\Module::runAction('webinar', ['id' => '1'])
- 23. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Application.php at line 380 – yii\web\Application::handleRequest(webinar\components\LangRequest)
- 24. in C:\OpenServer\domains\flint\flint\webinar\web\index.php at line 18 – yii\base\Application::run()
- 12131415161718192021222324 require(__DIR__ . '/../../common/config/main-local.php'),
- require(__DIR__ . '/../config/main.php'),
- require(__DIR__ . '/../config/main-local.php')
- );
- $application = new yii\web\Application($config);
- $application->run();
- function d($params) {
- echo '<pre>';
- var_dump($params);
- echo '</pre>';
- $_GET = [
- 'id' => '1',
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement