prashants / webzash

Easy to use web based double entry accounting software in PHP - MySQL under MIT License

Home Page:http://webzash.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing Database Connection

lantha opened this issue · comments

Missing Database Connection

Error: A Database connection using "Sqlite" was missing or unable to connect.
The database server returned this error: Selected driver is not enabled

Error: Sqlite driver is NOT enabled

Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp

I got into this problem in a fresh installation of Webzash. I have tried bitnami and other wamp variants but the problem remains. Also, tried downloading different copies of the tar and zip files of webzash, but its not working.

another problem in a fresh install
1

Did you solve the sqlite problem ?

I think using php7 and not php5.x got over the sqlite issue but i cannot be certain on that but the class not found error persists.

I am closing this issue since there is not reply from the user.

commented

I am having the same problem but with webzash 2.9 and php 7.4.14
Errors
Missing Database Connection
Error: A Database connection using "Sqlite" was missing or unable to connect.
The database server returned this error: Selected driver is not enabled

Error: Sqlite driver is NOT enabled

Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp

Stack Trace
CORE\Cake\Model\ConnectionManager.php line 105 → DboSource->__construct(array)
CORE\Cake\Model\Model.php line 3659 → ConnectionManager::getDataSource(string)
CORE\Cake\Model\Model.php line 1162 → Model->setDataSource(string)
CORE\Cake\Model\Model.php line 3686 → Model->setSource(string)
CORE\Cake\Model\Model.php line 834 → Model->getDataSource()
APP\Plugin\Webzash\Controller\WzusersController.php line 386 → Model->__call(string, array)
[internal function] → WzusersController->login()
CORE\Cake\Controller\Controller.php line 499 → ReflectionMethod->invokeArgs(WzusersController, array)
CORE\Cake\Routing\Dispatcher.php line 193 → Controller->invokeAction(CakeRequest)
CORE\Cake\Routing\Dispatcher.php line 167 → Dispatcher->_invoke(WzusersController, CakeRequest)
APP\webroot\index.php line 117 → Dispatcher->dispatch(CakeRequest, CakeResponse)