About the Yii problem!
I beginner yii, according to provide examples, write that Hello World, after writing, has been prompted this error do not know what meaning, have a master, please help, thank you!
Fatal error:uncaught exception ' CException ' with message ' Application base path ' protected ' was not a valid directory. ' E:\works\myframe\framework\base\CApplication.php on line 244
Share to:
------Solution--------------------
Of course, using Yii's own tools, YIIC can also build projects.
Use commands under MSDOS, search for details
------Solution--------------------
I don't have such a framework, so I can't provide the sample code. But they should provide a sample code
All frameworks create a large pile of folders and files when creating a project, and a simple copy is not possible because they are fixed project paths
In this respect do relatively good is thinkphp, after all, is domestic, humanized point
But emptying the Runtime directory is something that beginners don't dare to do.
------Solution--------------------
First you use the Yii tool YIIC to create a webapp and then the framework can be used, you manually create the directory, is not initialized
------Solution--------------------
Use YIIC to create an application to the official web or http://www.yiibook.com/study
------Solution--------------------
Misleading, what version is still in YIIC? First put the YII framework under your project directory, get a configuration directory, direct access to the GII can be built with scaffolding projects, as for the project directory structure, you just follow the gourd to create a few basic directories, the most important is the protected directory, and its subdirectory config directory.
Yii is a good framework and can be quickly started!
------Solution--------------------
Build a project with YIIC WebApp