Guest User

Untitled

a guest
Jan 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. CException
  2.  
  3. Unable to import "application.models.*". Please check your server configuration to make sure you are allowed to change PHP include_path.
  4.  
  5. /home/aijam/www/yii-1.1.7.r3135/framework/base/CModule.php(467)
  6.  
  7. 455 }
  8. 456 }
  9. 457
  10. 458 /**
  11. 459 * Configures the module with the specified configuration.
  12. 460 * @param array $config the configuration array
  13. 461 */
  14. 462 public function configure($config)
  15. 463 {
  16. 464 if(is_array($config))
  17. 465 {
  18. 466 foreach($config as $key=>$value)
  19. 467 $this->$key=$value;
  20. 468 }
  21. 469 }
  22. 470
  23. 471 /**
  24. 472 * Loads static application components.
  25. 473 */
  26. 474 protected function preloadComponents()
  27. 475 {
  28. 476 foreach($this->preload as $id)
  29. 477 $this->getComponent($id);
  30. 478 }
  31. 479
  32.  
  33. Stack Trace
  34. #0
  35. +
  36. /home/aijam/www/yii-1.1.7.r3135/framework/base/CModule.php(209): YiiBase::import("application.models.*")
  37. #1
  38. +
  39. /home/aijam/www/yii-1.1.7.r3135/framework/base/CComponent.php(152): CModule->setImport(array("application.models.*", "application.components.*"))
  40. #2
  41. +
  42. /home/aijam/www/yii-1.1.7.r3135/framework/base/CModule.php(467): CComponent->__set("import", array("application.models.*", "application.components.*"))
  43. #3
  44. +
  45. /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(), ...))
  46. #4
  47. +
  48. /home/aijam/www/yii-1.1.7.r3135/framework/YiiBase.php(118): CApplication->__construct("/home/aijam/www/demo/protected/config/main.php")
  49. #5
  50. +
  51. /home/aijam/www/yii-1.1.7.r3135/framework/YiiBase.php(91): YiiBase::createApplication("CWebApplication", "/home/aijam/www/demo/protected/config/main.php")
  52. #6
  53. Γ’β‚¬β€œ
  54. /home/aijam/www/demo/index.php(13): YiiBase::createWebApplication("/home/aijam/www/demo/protected/config/main.php")
  55.  
  56. 08 defined('YII_DEBUG') or define('YII_DEBUG',true);
  57. 09 // specify how many levels of call stack should be shown in each log message
  58. 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
  59. 11
  60. 12 require_once($yii);
  61. 13 Yii::createWebApplication($config)->run();
  62.  
  63. 2011-03-31 16:46:37 Apache Yii Framework/1.1.7
Add Comment
Please, Sign In to add comment