Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CException
- Unable to import "application.models.*". Please check your server configuration to make sure you are allowed to change PHP include_path.
- /home/aijam/www/yii-1.1.7.r3135/framework/base/CModule.php(467)
- 455 }
- 456 }
- 457
- 458 /**
- 459 * Configures the module with the specified configuration.
- 460 * @param array $config the configuration array
- 461 */
- 462 public function configure($config)
- 463 {
- 464 if(is_array($config))
- 465 {
- 466 foreach($config as $key=>$value)
- 467 $this->$key=$value;
- 468 }
- 469 }
- 470
- 471 /**
- 472 * Loads static application components.
- 473 */
- 474 protected function preloadComponents()
- 475 {
- 476 foreach($this->preload as $id)
- 477 $this->getComponent($id);
- 478 }
- 479
- Stack Trace
- #0
- +
- /home/aijam/www/yii-1.1.7.r3135/framework/base/CModule.php(209): YiiBase::import("application.models.*")
- #1
- +
- /home/aijam/www/yii-1.1.7.r3135/framework/base/CComponent.php(152): CModule->setImport(array("application.models.*", "application.components.*"))
- #2
- +
- /home/aijam/www/yii-1.1.7.r3135/framework/base/CModule.php(467): CComponent->__set("import", array("application.models.*", "application.components.*"))
- #3
- +
- /home/aijam/www/yii-1.1.7.r3135/framework/base/CApplication.php(137): CModule->configure(array("name" => "My Web Application", "preload" => array("log"), "import" => array("application.models.*", "application.components.*"), "modules" => array(), ...))
- #4
- +
- /home/aijam/www/yii-1.1.7.r3135/framework/YiiBase.php(118): CApplication->__construct("/home/aijam/www/demo/protected/config/main.php")
- #5
- +
- /home/aijam/www/yii-1.1.7.r3135/framework/YiiBase.php(91): YiiBase::createApplication("CWebApplication", "/home/aijam/www/demo/protected/config/main.php")
- #6
- Γ’β¬β
- /home/aijam/www/demo/index.php(13): YiiBase::createWebApplication("/home/aijam/www/demo/protected/config/main.php")
- 08 defined('YII_DEBUG') or define('YII_DEBUG',true);
- 09 // specify how many levels of call stack should be shown in each log message
- 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
- 11
- 12 require_once($yii);
- 13 Yii::createWebApplication($config)->run();
- 2011-03-31 16:46:37 Apache Yii Framework/1.1.7
Add Comment
Please, Sign In to add comment