heze54
asked on
Drupal error migrating from 8.1 to 8.3.7
Hi,
After migrate Drupal 8.1 to 8.3.7, this error is shown at web site :
The website encountered an unexpected error. Please try again later.
At apache 2.4 error, I can see this:
[Thu Sep 21 21:30:38.185852 2017] [proxy_fcgi:error] [pid 22862:tid 139697256294144] [client xxxxxxxxx] AH01071: Got error 'PHP message: PDOException: SQLSTATE[HY000] [2002] Connection refused in /volume1/web/drupal/core/l ib/Drupal/ Component/ Dependency Injection/ PhpArrayCo ntainer.ph p on line 79 #0 /volume1/web/drupal/core/l ib/Drupal/ Core/Datab ase/Driver /mysql/Con nection.ph p(142): PDO->__construct('mysql:ho st=127.... ', , Array)\n#1 /volume1/web/drupal/core/l ib/Drupal/ Core/Datab ase/Databa se.php(376 ): Drupal\\Core\\Database\\Dr iver\\mysq l\\Connect ion::open( Array)\n#2 /volume1/web/drupal/core/l ib/Drupal/ Core/Datab ase/Databa se.php(166 ): Drupal\\Core\\Database\\Da tabase::op enConnecti on('defaul t', 'default')\n#3 [internal function]: Drupal\\Core\\Database\\Da tabase::ge tConnectio n('default ')\n#4 /volume1/web/drupal/core/l ib/Drupal/ Component/ Dependency Injection/ PhpArrayCo ntainer.ph p(79): call_user_func_array('Drup al\\\\Core \\\\Dat... ', Array)\n#5 /volume1/web/drupal/core/l ib/Drupal/ Component/ Dependency Injection/ Container. php(177): Drupal\\Component\\Depende ncyInjecti on\\PhpArr ayContaine r->createS ervice(Arr ay, 'database')\n#6 /volume1/web/dr...\n'
I run MariaDB10 and PHP 5.6
Any ideas?
Regards
After migrate Drupal 8.1 to 8.3.7, this error is shown at web site :
The website encountered an unexpected error. Please try again later.
At apache 2.4 error, I can see this:
[Thu Sep 21 21:30:38.185852 2017] [proxy_fcgi:error] [pid 22862:tid 139697256294144] [client xxxxxxxxx] AH01071: Got error 'PHP message: PDOException: SQLSTATE[HY000] [2002] Connection refused in /volume1/web/drupal/core/l
I run MariaDB10 and PHP 5.6
Any ideas?
Regards
ASKER
HI,
After modifying port from 3306 to 3307 this error is show:
The website encountered an unexpected error. Please try again later.
Symfony\Component\HttpKern el\Excepti on\NotFoun dHttpExcep tion: in Drupal\Core\PathProcessor\ PathProces sorFront-> processInb ound() (line 43 of core/lib/Drupal/Core/PathP rocessor/P athProcess orFront.ph p).
After modifying port from 3306 to 3307 this error is show:
The website encountered an unexpected error. Please try again later.
Symfony\Component\HttpKern
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Try manually connecting to your database using your Drupal credentials...
Open in new window
My guess is this will fail. Get this working first + then proceed.