terminal42 / contao-url-rewrite

Provides a back end module in Contao that allows you to specify url rewrites that are added to the Symfony Route collection
MIT License
15 stars 4 forks source link

Problems during installation #6

Closed akroii closed 6 years ago

akroii commented 6 years ago

Hi there, i want to migrate an contao 4 installation with managed-edition. After I want to update php composer.phar install --ignore-platform-reqs the composer.lock I got this issue in terminal:

bildschirmfoto 2018-03-02 um 14 39 21
13:09:01 ERROR     [console] Error thrown while running command "--ansi cache:warmup --env=prod". Message: "An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory in . (which is being imported from "@Terminal42UrlRewriteBundle/Resources/config/routing.yml"). Make sure there is a loader supporting the "terminal42_url_rewrite" type." ["error" => Symfony\Component\Config\Exception\FileLoaderLoadException { …},"command" => "--ansi cache:warmup --env=prod","message" => "An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory in . (which is being imported from "@Terminal42UrlRewriteBundle/Resources/config/routing.yml"). Make sure there is a loader supporting the "terminal42_url_rewrite" type."] []

In FileLoader.php line 168:

  An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
  ectory in . (which is being imported from "@Terminal42UrlRewriteBundle/Reso
  urces/config/routing.yml"). Make sure there is a loader supporting the "ter
  minal42_url_rewrite" type.

In AbstractMySQLDriver.php line 108:

  An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
  ectory

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

cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception

  [RuntimeException]
  An error occurred while executing the "cache:warmup" command: 13:09:01 ERROR     [console]39;49m
  9m Error thrown while running command "--ansi cache:warmup --env=prod". Message: "An exception occurred in d
  river: SQLSTATE[HY000] [2002] No such file or directory in . (which is being imported from "@Terminal42UrlRe
  writeBundle/Resources/config/routing.yml"). Make sure there is a loader supporting the "terminal42_url_rewri
  te" type." ["error" => Symfony\Component\Config\Exc
  eption\FileLoaderLoadException { …},"command" => "39;49m
  3m--ansi cache:warmup --env=prod","message" => "
  An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory in . (which is being impor
  ted from "@Terminal42UrlRewriteBundle/Resources/config/routing.yml"). Make sure there is a loader supporting
   the "terminal42_url_rewrite" type."] []

  In FileLoader.php line 168:

    An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
    ectory in . (which is being imported from "@Terminal42UrlRewriteBundle/Reso
    urces/config/routing.yml"). Make sure there is a loader supporting the "ter
    minal42_url_rewrite" type.

  In AbstractMySQLDriver.php line 108:

    An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
    ectory

  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

  cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--a
  nsi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

I dont understand whats happend? Frontend and backend works well.

I'am using: Contao 4.4.14 urlrewrite 1.1.1 PHP 71.8

akroii commented 6 years ago

It seems, that i forgot to upload config/parameters.yml while i fire the command. Sorry for false alert.