Database_Exception [ 1146 ]: Table 'bat.storage' doesn't exist [ SELECT avg(soc) as soc, avg(voltage) as voltage,avg(current) as current,avg(temp1) as temp1 FROM `storage` where DATE(timeIn) = CURRENT_DATE() ORDER BY address,timeIn DESC Limit 10 ]

MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ]

166 			{
167 				// This benchmark is worthless
168 				Profiler::delete($benchmark);
169 			}
170 
171 			throw new Database_Exception(':error [ :query ]', array(
172 				':error' => $this->_connection->error,
173 				':query' => $sql
174 			), $this->_connection->errno);
175 		}
176 
  1. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)

  2. APPPATH/views/pages/Dashboard/index_tpl.php [ 137 ] » Kohana_Database_Query->execute(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  6. APPPATH/views/Templates/Esmdefault_tpl.php [ 116 ] » Kohana_View->__toString()

  7. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  10. APPPATH/classes/Controller/EsmTemplate.php [ 135 ] » Kohana_Controller_Template->after()

  11. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_EsmTemplate->after()

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

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

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

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

  16. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment