I am beginning to build a new version of our existing Drupal 7 site locally, which has CiviCRM 4.7.15 installed. I installed a fresh copy of the same version of CiviCRM into a fresh SoopterTheme Drupal 7 demo and the installation was successful, however, when I went to review permission settings or click on configuration check list, I get the following error, site-wide. Drupal and CiviCRM both have their own usernames and databases:
Additional uncaught exception thrown while handling exception.
I have run through this process multiple times and get the same error. I also received this same error when trying to set up a local copy of the existing site.
If I run any drush commands, I get:
Drush command terminated abnormally due to an unrecoverable error. [error]
<p>Initialization Error</p><p><pre>Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => simpleHandler
)
[code] => -24
[message] => DB Error: connect failed
[mode] => 16
[debug_info] => [nativecode=No such file or directory]
[type] => DB_Error
[user_info] => [nativecode=No such file or directory]
[to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=No such file or directory]"]
)
</pre></p><p></p><p>Initialization Error</p><p><pre>Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => simpleHandler
)
[code] => -24
[message] => DB Error: connect failed
[mode] => 16
[debug_info] => [nativecode=No such file or directory]
[type] => DB_Error
[user_info] => [nativecode=No such file or directory]
[to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=No such file or directory]"]
)
</pre></p><p></p>
Any guidance is appreciated.
Edit: I reinstalled using the same database user for Drupal and CiviCRM and it seemed to have worked initially but I am getting the same error again the next time I went to access the site locally.