We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.0からgitで4.2にアップグレードしていき、PHP8.1に上げるとデータベースに繋がらなくなるケースがある。
ec-cube/src/Eccube/DependencyInjection/EccubeExtension.php
Line 145 in eaf5f67
default_connection
$config['dbal']['default_connection']
'default'
EC-CUBE: 4.2.1 PHP: 8.1.2-1ubuntu2.11 (Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, intl, exif, pdo_pgsql, pgsql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache) DB: PostgreSQL 14.8 (Ubuntu 14.8-0ubuntu0.22.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu122.04.1) 11.3.0, 64-bit Server: Linux dev 5.19.0-1025-gcp #2722.04.1-Ubuntu SMP Wed May 24 03:53:01 UTC 2023 x86_64
The text was updated successfully, but these errors were encountered:
こちらご報告&PRもありがとうございます。 再現手順に従い検証してみます。
Sorry, something went wrong.
fix: EC-CUBE#6008 doctrineのconfigにdefault_connectionを追加
6880761
4587dc9
Merge pull request #6009 from tao-s/patch-28
cae3bf9
fix: #6008 doctrineのconfigにdefault_connectionを追加
No branches or pull requests
概要(Overview)
4.0からgitで4.2にアップグレードしていき、PHP8.1に上げるとデータベースに繋がらなくなるケースがある。
ec-cube/src/Eccube/DependencyInjection/EccubeExtension.php
Line 145 in eaf5f67
ここで
default_connection
なんか無いって怒られる。$config['dbal']['default_connection']
じゃなくて'default'
でも良い気がするけど経緯がよくわからない。再現手順(Procedure)
環境(Environment)
EC-CUBE: 4.2.1
PHP: 8.1.2-1ubuntu2.11 (Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, intl, exif, pdo_pgsql, pgsql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache)
DB: PostgreSQL 14.8 (Ubuntu 14.8-0ubuntu0.22.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1
22.04.1) 11.3.0, 64-bit22.04.1-Ubuntu SMP Wed May 24 03:53:01 UTC 2023 x86_64Server: Linux dev 5.19.0-1025-gcp #27
The text was updated successfully, but these errors were encountered: