bitter-engineer-82580
10/16/2019, 9:10 AM-> % docker/sdk up
*** DEVELOPMENT MODE
========================================================================================================================
Install docker environment
========================================================================================================================
Section build
Command generate-transfers [vendor/bin/console transfer:generate] (In progress...)
PHP Fatal error: Uncaught Error: Undefined class constant 'GLUE_APPLICATION_DOMAIN' in /data/config/Shared/config_default-docker.php:434
Stack trace:
#0 /data/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(210): include()
#1 /data/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(165): Spryker\Shared\Config\Config::buildConfig('default-docker', Object(ArrayObject))
#2 /data/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(62): Spryker\Shared\Config\Config::init()
#3 /data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandlerEnvironment.php(18): Spryker\Shared\Config\Config::get('ERROR_LEVEL')
#4 /data/vendor/spryker/console/src/Spryker/Zed/Console/Business/Model/Environment.php(34): Spryker\Shared\ErrorHandler\ErrorHandlerEnvironment->__construct()
#5 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/ConsoleBootstrap.php(38): Spryker\Zed\Console\Business\Model\Environment::initialize()
#6 /data/vendor/spryker/console/bin/console(20): Spryker\Zed\Console\Commu in /data/config/Shared/config_default-docker.php on line 434
In CommandLineExecutable.php line 101:
Aborted install...
install [-r|--recipe RECIPE] [-d|--dry-run] [-s|--sections SECTIONS] [-g|--groups GROUPS] [-x|--exclude EXCLUDE] [-e|--include-excluded INCLUDE-EXCLUDED] [-i|--interactive] [-b|--breakpoint] [-a|--ask-before-continue] [-l|--log] [--] [<store>]average-branch-45579
10/16/2019, 9:15 AMbitter-engineer-82580
10/16/2019, 9:21 AMaverage-branch-45579
10/16/2019, 9:25 AMuse Spryker\Shared\GlueApplication\GlueApplicationConstants; at the beginning of the config_default-docker.php?bitter-engineer-82580
10/16/2019, 9:27 AMsilly-motherboard-93855
10/16/2019, 9:32 AMspryker/glue-application in your composer.lock?silly-motherboard-93855
10/16/2019, 9:34 AMsilly-motherboard-93855
10/16/2019, 9:35 AMsilly-motherboard-93855
10/16/2019, 9:36 AMcat vendor/spryker/glue-application/src/Spryker/Shared/GlueApplication/GlueApplicationConstants.php
should do 🙂bitter-engineer-82580
10/16/2019, 9:38 AM-> % cat vendor/spryker/glue-application/src/Spryker/Shared/GlueApplication/GlueApplicationConstants.php
<?php
/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace Spryker\Shared\GlueApplication;
/**
* Declares global environment configuration keys. Do not use it for other class constants.
*/
interface GlueApplicationConstants
{
/**
* Specification:
* The domain name used for glue application.
*
* @api
*/
public const GLUE_APPLICATION_DOMAIN = 'GLUE_APPLICATION_DOMAIN';
/**
* Specification:
* If rest debug is enabled, will show exception stack traces instead of 500 errors.
*
* @api
*/
public const GLUE_APPLICATION_REST_DEBUG = 'GLUE_APPLICATION_REST_DEBUG';
/**
* Specification:
* - The domain name returned as allowed in 'access-control-allow-origin' CORS headers.
* - Ether '*' or single domain should be passed, due to CORS policy.
*
* @api
*/
public const GLUE_APPLICATION_CORS_ALLOW_ORIGIN = 'GLUE_APPLICATION_CORS_ALLOW_ORIGIN';
}high-pencil-62400
10/16/2019, 9:43 AMGlueApplicationConstants interface on project level.
2. It could be autoload stuff. Try to run composer install or remove vendor folder and run up againbitter-engineer-82580
10/16/2019, 12:17 PMhigh-pencil-62400
10/16/2019, 12:19 PMvendor/bin/console transfer:generate on your host if you have PHP installed.bitter-engineer-82580
10/16/2019, 12:22 PM-> % APPLICATION_ENV=docker vendor/bin/console transfer:generate
PHP Fatal error: Uncaught Error: Undefined class constant 'GLUE_APPLICATION_DOMAIN' in /tmp/spryker-helu/spryker/config/Shared/config_default-docker.php:434
Stack trace:
#0 /tmp/spryker-helu/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(210): include()
#1 /tmp/spryker-helu/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(165): Spryker\Shared\Config\Config::buildConfig('default-docker', Object(ArrayObject))
#2 /tmp/spryker-helu/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(62): Spryker\Shared\Config\Config::init()
#3 /tmp/spryker-helu/spryker/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandlerEnvironment.php(18): Spryker\Shared\Config\Config::get('ERROR_LEVEL')
#4 /tmp/spryker-helu/spryker/vendor/spryker/console/src/Spryker/Zed/Console/Business/Model/Environment.php(34): Spryker\Shared\ErrorHandler\ErrorHandlerEnvironment->__construct()
#5 /tmp/spryker-helu/spryker/vendor/spryker/console/src/Spryker/Zed/Console/Communication/ConsoleBootstrap.php( in /tmp/spryker-helu/spryker/config/Shared/config_default-docker.php on line 434high-pencil-62400
10/16/2019, 12:40 PMuse Spryker\Shared\GlueApplication\GlueApplicationConstants; exactly the same?
Would you try to search for files that contains interface GlueApplicationConstants?bitter-engineer-82580
10/16/2019, 2:58 PMPHP Fatal error: Uncaught Error: Class 'Pyz\Shared\Scheduler\SchedulerConfig' not found in /data/config/Shared/config_default-docker.php:462
Stack trace:
#0 /data/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(189): include()
#1 /data/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(144): Spryker\Shared\Config\Config::buildConfig('default-docker', Object(ArrayObject))
#2 /data/vendor/spryker/config/src/Spryker/Shared/Config/Config.php(57): Spryker\Shared\Config\Config::init()
#3 /data/vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandlerEnvironment.php(18): Spryker\Shared\Config\Config::get('ERROR_LEVEL')
#4 /data/vendor/spryker/console/src/Spryker/Zed/Console/Business/Model/Environment.php(34): Spryker\Shared\ErrorHandler\ErrorHandlerEnvironment->__construct()
#5 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/ConsoleBootstrap.php(44): Spryker\Zed\Console\Business\Model\Environment::initialize()
#6 /data/vendor/spryker/console/bin/console(20): Spryker\Zed\Console\C in /data/config/Shared/config_default-docker.php on line 462
In CommandLineExecutable.php line 105:
Did i miss some?high-pencil-62400
10/16/2019, 2:59 PM