Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during adding superuser #5

Closed
fhamborg opened this issue Jan 27, 2017 · 2 comments
Closed

Exception during adding superuser #5

fhamborg opened this issue Jan 27, 2017 · 2 comments
Assignees
Labels

Comments

@fhamborg
Copy link
Contributor

Following the guide, I get the following error message.

ubuntu@vm1:~/literaturemgmt/SciBib$ bin/cake users addSuperuser
PHP Warning:  Module 'intl' already loaded in Unknown on line 0
Exception: Database driver Cake\Database\Driver\Mysql cannot be used due to a missing PHP extension or unmet dependency in [/home/ubuntu/literaturemgmt/SciBib/vendor/cakephp/cakephp/src/Database/Connection.php, line 170]
ubuntu@vm1:~/literaturemgmt/SciBib$ 
@eren-ck
Copy link
Contributor

eren-ck commented Jan 28, 2017

Hey,

this error occurs if a PHP extension is missing.

Please install the PHP module for MySQL connections and restart apache.

sudo apt-get install php-mysql

sudo service apache2 restart

@fhamborg
Copy link
Contributor Author

That solves the problem, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants