Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Invalid Configuration – yii\base\InvalidConfigException
  2.  
  3. The directory does not exist: C:/OpenServer/domains/flint/flint/webinar/web/assets
  4. 1. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\AssetManager.php at line 213
  5. 204205206207208209210211212213214215216217218219220221222    /**
  6.      * Initializes the component.
  7.      * @throws InvalidConfigException if [[basePath]] is invalid
  8.      */
  9.     public function init()
  10.     {
  11.         parent::init();
  12.         $this->basePath = Yii::getAlias($this->basePath);
  13.         if (!is_dir($this->basePath)) {
  14.             throw new InvalidConfigException("The directory does not exist: {$this->basePath}");
  15.         } elseif (!is_writable($this->basePath)) {
  16.             throw new InvalidConfigException("The directory is not writable by the Web process: {$this->basePath}");
  17.         } else {
  18.             $this->basePath = realpath($this->basePath);
  19.         }
  20.         $this->baseUrl = rtrim(Yii::getAlias($this->baseUrl), '/');
  21.     }
  22.  
  23.     /**
  24. 2. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Object.php at line 107 – yii\web\AssetManager::init()
  25. 3. yii\base\Object::__construct(['linkAssets' => true, 'bundles' => ['yii\web\JqueryAsset' => ['sourcePath' => null, 'js' => []]]])
  26. 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' => []]]]])
  27. 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' => []]]])
  28. 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' => []]]])
  29. 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' => []]]])
  30. 8. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Application.php at line 605 – yii\di\ServiceLocator::get('assetManager')
  31. 9. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\View.php at line 225 – yii\base\Application::getAssetManager()
  32. 10. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\View.php at line 285 – yii\web\View::getAssetManager()
  33. 11. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\AssetBundle.php at line 125 – yii\web\View::registerAssetBundle('webinar\assets\WebinarAsset')
  34. 12. in C:\OpenServer\domains\flint\flint\webinar\views\webinar\index.php at line 23 – yii\web\AssetBundle::register(yii\web\View)
  35. 17181920212223242526272829    $lang = 'th';
  36. } else {
  37.     $lang = Yii::$app->request->getCurrentLanguage();
  38. }
  39.  
  40. $this->title = Yii::t('common', 'FL International');
  41. WebinarAsset::register($this);
  42. ?>
  43.  
  44.  
  45. <div class="webinar dib-container">
  46.  
  47.     <div class="webinar_container dib">
  48. 13. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\View.php at line 328 – require('C:\OpenServer\domains\flint\flin...')
  49. 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...', [])
  50. 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)
  51. 16. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Controller.php at line 381 – yii\base\View::render('index', [], webinar\controllers\WebinarController)
  52. 17. in C:\OpenServer\domains\flint\flint\webinar\controllers\WebinarController.php at line 32 – yii\base\Controller::render('index')
  53. 26272829303132333435363738
  54.     /**
  55.      * @return string
  56.      */
  57.     public function actionIndex()
  58.     {
  59.         return $this->render('index');
  60.     }
  61.  
  62.     /**
  63.      * @param $id
  64.      * @return string
  65.      * @throws HttpException
  66. 18. webinar\controllers\WebinarController::actionIndex()
  67. 19. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\InlineAction.php at line 57 – call_user_func_array([webinar\controllers\WebinarController, 'actionIndex'], [])
  68. 20. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Controller.php at line 156 – yii\base\InlineAction::runWithParams(['id' => '1'])
  69. 21. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Module.php at line 523 – yii\base\Controller::runAction('', ['id' => '1'])
  70. 22. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\web\Application.php at line 102 – yii\base\Module::runAction('webinar', ['id' => '1'])
  71. 23. in C:\OpenServer\domains\flint\flint\vendor\yiisoft\yii2\base\Application.php at line 380 – yii\web\Application::handleRequest(webinar\components\LangRequest)
  72. 24. in C:\OpenServer\domains\flint\flint\webinar\web\index.php at line 18 – yii\base\Application::run()
  73. 12131415161718192021222324    require(__DIR__ . '/../../common/config/main-local.php'),
  74.     require(__DIR__ . '/../config/main.php'),
  75.     require(__DIR__ . '/../config/main-local.php')
  76. );
  77.  
  78. $application = new yii\web\Application($config);
  79. $application->run();
  80.  
  81. function d($params) {
  82.     echo '<pre>';
  83.         var_dump($params);
  84.     echo '</pre>';
  85.  
  86.  $_GET = [
  87.     'id' => '1',
  88. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement