prashants / webzash

Easy to use web based double entry accounting software in PHP - MySQL under MIT License
http://webzash.org
Other
211 stars 108 forks source link

Missing Database Connection #121

Closed lantha closed 4 years ago

lantha commented 6 years ago

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

lantha commented 6 years ago

1 2

lantha commented 6 years ago

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.

lantha commented 6 years ago

another problem in a fresh install 1

prashants commented 6 years ago

Did you solve the sqlite problem ?

lantha commented 6 years ago

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.

prashants commented 4 years ago

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

mytbi commented 3 years ago

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)