プラグイン > その他 > プラグインをインストールできません。 |
その他
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
chankotaro |
投稿日時: 2019/7/9 20:39
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2019/5/25 居住地: 投稿: 31 |
Re: プラグインをインストールできません。 ありがとうございます。
bin/console eccube:plugin:install --code= RecommendedProduct4 を行ったら、以下のエラーが返ってきました。 PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/drugpure/drugpure.jp/public_html/bin/console on line 15 ちなみに、プラグイン21個中5個はインストール有効となっていて、それ以外の16個が何もステータスが出ない状態です。 bin/consoleの中身は以下の通りです。 #!/usr/bin/env php <?php use Eccube\Kernel; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Dotenv\Dotenv; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Debug\Debug; umask(0000); set_time_limit(0); require __DIR__.'/../vendor/autoload.php'; if (!class_exists(Application::class)) { throw new \RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.'); } if (!isset($_SERVER['APP_ENV'])) { if (file_exists(__DIR__.'/../.env')) { (new Dotenv())->load(__DIR__.'/../.env'); } else { (new Dotenv())->load(__DIR__.'/../.env.install'); } } $input = new ArgvInput(); $env = $input->getParameterOption(['--env', '-e'], $_SERVER['APP_ENV'] ?? 'dev'); $debug = ($_SERVER['APP_DEBUG'] ?? true) !== '0' && !$input->hasParameterOption(['--no-debug', '']); if ($debug && class_exists(Debug::class)) { Debug::enable(); } $kernel = new Kernel($env, $debug); $application = new Application($kernel); $application->run($input); bin/console (END) |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
![]() |
chankotaro | 2019/7/9 11:32 |
![]() |
red | 2019/7/9 13:20 |
» ![]() |
chankotaro | 2019/7/9 20:39 |
![]() |
red | 2019/7/9 21:24 |
![]() |
chankotaro | 2019/7/10 14:54 |
![]() |
red | 2019/7/10 15:44 |
![]() |
chankotaro | 2019/7/10 16:01 |
![]() |
red | 2019/7/10 16:14 |
![]() |
chankotaro | 2019/7/10 16:33 |
![]() |
red | 2019/7/10 18:13 |
![]() |
chankotaro | 2019/7/10 19:32 |
![]() |
cyb2019 | 2019/7/9 19:59 |
