ErrorException [ Notice ]: Undefined index: db_Website

MODPATH/database/classes/Kohana/Database.php [ 65 ]

60 		if ( ! isset(Database::$instances[$name]))
61 		{
62 			if ($config === NULL)
63 			{
64 				// Load the configuration for this database
65 				$config = Kohana::$config->load('database')->$name;
66 			}
67 
68 			if ( ! isset($config['type']))
69 			{
70 				throw new Kohana_Exception('Database type not defined in :name configuration',
  1. MODPATH/database/classes/Kohana/Database.php [ 65 ] » Kohana_Core::error_handler(arguments)

  2. MODPATH/database/classes/Kohana/Database/Query.php [ 220 ] » Kohana_Database::instance(arguments)

  3. MODPATH/yuguangpc/classes/Model/Mwarticle.php [ 120 ] » Kohana_Database_Query->execute(arguments)

  4. MODPATH/yuguangpc/classes/Controller/Article.php [ 28 ] » Model_Mwarticle->getSingleArticle(arguments)

  5. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Article->action_index()

  6. {PHP internal call} » Kohana_Controller->execute()

  7. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  8. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  9. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  10. DOCROOT/index.php [ 150 ] » Kohana_Request->execute()

Environment