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

Christian Loock chl at vkf-renzel.de
Fri Mar 6 15:29:14 CET 2015


Yes, there isn't really much special about the composer.json to be 
considered.


Am 06.03.2015 um 15:28 schrieb Mira Frei:
> 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?
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list