I have upload pushed a Symfony project (based on symfony-demo) to github, however since doing so, I am unable to log in to the demo application as either the demo user or admin - instead I get the the following:
Authentication request could not be processed due to a system problem.
I have tried the below code as the page advises if the users are not working:
php app/console doctrine:fixtures:load
However, when I submit this I get the following error:
[Doctrine\DBAL\Exception\DriverException]
An exception occured in driver: could not find driver
[Doctrine\DBAL\Driver\PDOException]
could not find driver
I then tried submitting the following in the hope it would fix the doctrine issue:
composer require doctrine/doctrine-fixtures-bundle
However this fed back the following:
Using version ^2.2 for doctrine/doctrine-fixtures-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-pdo_sqlite * is missing from your system.
Problem 2
- sensiolabs/security-checker v2.0.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- sensiolabs/security-checker v2.0.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- sensiolabs/security-checker v2.0.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for sensiolabs/security-checker == 2.0.5.0 -> satisfiable by sensiolabs/security-checker[v2.0.5].
Installation failed, reverting ./composer.json to its original content.
Type into your terminal
php -m
. Do you seecurl
?If not, it's not installed. Depending on your distro you might do:
RHEL/Centos:
Ubuntu/Debian:
If not found, try one of the following:
php_curl
,php-curl
,php5_curl
orphp5-curl
. Less frequently there is56
instead of5
. You could simplify by searching forcurl
and then looking over the list.Not sure about other distros, but it should be similar.