Skip to content
New issue

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

Exception ked spustam aplikaciu cez console #140

Open
duskohu opened this issue Jun 6, 2017 · 0 comments
Open

Exception ked spustam aplikaciu cez console #140

duskohu opened this issue Jun 6, 2017 · 0 comments

Comments

@duskohu
Copy link

duskohu commented Jun 6, 2017

Spustam apikaciu cez console bin/console help a este nemam vygenerovanu ziadnu cache, tam mi vyhodi

WebLoader\Nette\CompilationException: You must create a writable directory '...\bin/webtemp' in ....\vendor\janmarek\webloader\WebLoader\Nette\Extension.php:94 @ CLI (PID: 10376): bin/console help

#!/usr/bin/env php
<?php

/** @var \Nette\DI\Container $container */
$container = require __DIR__ . '/../app/bootstrap.php';

/** @var \Symfony\Component\Console\Application $consoleApplication */
$console = $container->getByType(Symfony\Component\Console\Application::class);
exit($console->run());

webtemp mam nastavene defaultne

'tempDir' => '%wwwDir%/' . self::DEFAULT_TEMP_PATH,
'tempPath' => self::DEFAULT_TEMP_PATH,

Problem som zatil vyriesil dal som si do bootstrap.php

$configurator->addParameters([
    'appDir' => __DIR__,
    'wwwDir' => __DIR__ . '/../www',
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant