Skip to content
Snippets Groups Projects
Commit 5bb5f778 authored by alvaro's avatar alvaro
Browse files

Improved message when sqlite DB can't be used

parent 3adddfa7
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ class MetaDb{
}
$db = NULL;
}catch(PDOException $e){
print 'Exception query : '.$e->getMessage()."\n".$this->dbLocation."\n";
print 'Exception query : '.$e->getMessage()."\nDatabase used:".$this->dbLocation."\nPlease check the webserver has write permissions to the file AND the directory, as well as you have installed the driver for PHP and SQLite";
exit(10);
}
return $results;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment