[Flow] Get an 404 error after switching to "production"-context

Mira Frei mira at modifiziert.com
Fri Mar 6 15:28:51 CET 2015


Yes, because autoloader.php is called more than one time.

I think my composer.json is misconfigured.

I don't understand the handling of composer for flow for 3rd party packages with PSR-0.

At the moment my composer.json is like this:

{
    "name": "typo3/flow-base-distribution",
    "description": "TYPO3 Flow Base Distribution",
    "license": "LGPL-3.0+",
    "config": {
        "vendor-dir": "Packages/Libraries",
        "bin-dir": "bin"
    },
    "require": {
        "typo3/flow": "2.3.*",
        "typo3/welcome": "2.3.*",
        "doctrine/migrations": "@dev",
        "phpoffice/phpexcel": "dev-master"
    },
    "require-dev": {
        "typo3/kickstart": "2.3.*",
        "typo3/buildessentials": "2.3.*",
        "phpunit/phpunit": "4.3.*",
        "mikey179/vfsstream": "1.4.*"
    },
    "suggest": {
        "ext-pdo_sqlite": "For running functional tests out-of-the-box this is required"
    },
    "scripts": {
        "post-update-cmd": "TYPO3\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
        "post-install-cmd": "TYPO3\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
        "post-package-update": "TYPO3\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
        "post-package-install": "TYPO3\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
    }
}

Are you think this is correct?


More information about the Flow mailing list