Database_Exception [ 42S02 ]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fachmanicz.staticpages' doesn't exist [ SELECT * FROM staticpages WHERE url = 'kontakt' ]

/var/www/primadoma-modules/database/classes/Kohana/Database/PDO.php [ 157 ]

152 				// This benchmark is worthless
153 				Profiler::delete($benchmark);
154 			}
155 
156 			// Convert the exception in a database exception
157 			throw new Database_Exception(':error [ :query ]',
158 				[
159 					':error' => $e->getMessage(),
160 					':query' => $sql
161 				],
162 				$e->getCode());
  1. /var/www/primadoma-modules/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_PDO->query(arguments)

  2. APPPATH/classes/Model/Staticpages.php [ 18 ] » Kohana_Database_Query->execute()

  3. APPPATH/classes/Controller/Staticpages.php [ 17 ] » Model_Staticpages::load(arguments)

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Staticpages->action_staticpage()

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

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

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

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

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

Environment