Utworzyłem w phpLiteAdmin bazę danych sqlite, następnie wrzuciłem ją do głównego katalogu Kohany (nadałem jemu i bazie chmody 777) i otrzymuje błąd: "SQLSTATE[HY000] [14] unable to open database file" (http://helid.vipower.pl/cms/).
  1. <?php defined('SYSPATH') or die('No direct access allowed.');
  2.  
  3. return array
  4. (
  5. 'default' => array(
  6. 'type' => 'pdo',
  7. 'connection' => array(
  8. 'dsn' => "sqlite:/database.sqlite",
  9. 'persistent' => FALSE,
  10. ),
  11. 'table_prefix' => '',
  12. 'charset' => NULL, /* IMPORTANT- charset 'utf8' breaks sqlite(?) */
  13. 'caching' => FALSE,
  14. 'profiling' => TRUE,
  15. ),
  16. );


W czym tkwi problem?