Hallo zusammen,
ich habe ein Contao 4 / Managed Edition. Zusammen mit Php 7.1.8. Das CLI läuft auf Php 7.1.8.
Heute habe ich versucht, den Cache über die Console zu löschen. Dabei erschien folgender Fehler, welchen ich im Root des Kundenprojektes ausgeführt habe:
Code:
grafik7$ vendor/bin/contao-console cache:warmup --env=prod
In ConnectionFactory.php line 96:
An exception occured while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 108:
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory
In PDOConnection.php line 47:
SQLSTATE[HY000] [2002] No such file or directory
In PDOConnection.php line 43:
SQLSTATE[HY000] [2002] No such file or directory
Meine composer.json:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0+",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^5.6|^7.0",
"alnv/prosearch": "^1.1",
"bugbuster/contao-be_user_online-bundle": "^1.0",
"bugbuster/contao-botstatistics-bundle": "^1.0",
"christianbarkowsky/rel-canonical": "^3.3",
"codefog/contao-bootstrap": "^1.0",
"codefog/contao-news_categories": "^3.0",
"contao-monitoring/bundle-all": "^1.4",
"contao/calendar-bundle": "^4.4",
"contao/comments-bundle": "^4.4",
"contao/faq-bundle": "^4.4",
"contao/listing-bundle": "^4.4.8",
"contao/manager-bundle": "4.4.*",
"contao/news-bundle": "^4.4",
"derhaeuptling/contao-lazy-images": "^2.0",
"derhaeuptling/contao-mobilecontent": "^2.2",
"derhaeuptling/contao-seo-serp-preview": "^3.0",
"fritzmg/contao-inherit-article": "^1.3",
"fritzmg/contao-lightcase": "^2.0",
"fritzmg/contao-news-related": "^1.1",
"fritzmg/contao-news-sorting": "^1.0",
"fritzmg/contao-nivo-lightbox": "^1.3",
"fritzmg/contao-swiper": "^0.3.2",
"heimrichhannot/contao-newsnavigation-bundle": "^2.0",
"hofff/contao-opengraph": "^3.2",
"jrgregory/m17-sticky-backend-footer": "^2.0",
"marebe1602/mae_event_categories": "^1.5",
"oneup/contao-mailchimp": "^4.0",
"pdir/amphtml-bundle": "^0.1.7",
"pdir/mobilede-bundle": "^1.0",
"terminal42/notification_center": "^1.4"
},
"prefer-stable": true,
"minimum-stability": "stable",
"conflict": {
"contao/core-bundle": "<4.4.8"
},
"config": {
"component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Weiß jemand was genau passiert ist? Frontend und Backend laufen stabil. Über den Manager kann ich den Cache löschen.
Ps: Meine Contao Version ist 4.4.12 laut Contao Backend. Im Manager steht aber: 4.4.9
Lesezeichen