What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi. i try to enable (I installed Skryper

U02KT30LJ5S
U02KT30LJ5S Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi. i try to enable WebProfiler (I installed Skryper with docker.)
I've enabled
$config[ApplicationConstants::ENABLE_WEB_PROFILER] = true;
$config[ShopApplicationConstants::ENABLE_APPLICATION_DEBUG] = true;
in files: config_default.php and config_default-docker.php
but i don't have WebProfiler. I have to do something else؟

Comments

  • U01A5ARAXP0
    U01A5ARAXP0 Posts: 119 πŸ§‘πŸ»β€πŸš€ - Cadet

    I have these

    $config[WebProfilerConstants::IS_WEB_PROFILER_ENABLED] = true;
    $config[WebProfilerWidgetConstants::IS_WEB_PROFILER_ENABLED] = true;
    
  • U01A5ARAXP0
    U01A5ARAXP0 Posts: 119 πŸ§‘πŸ»β€πŸš€ - Cadet

    I guess you also need to add some plugin somewhere

  • U01A5ARAXP0
    U01A5ARAXP0 Posts: 119 πŸ§‘πŸ»β€πŸš€ - Cadet

    the WebProfilerWidget, maybe

  • U02KT30LJ5S
    U02KT30LJ5S Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    i did it.and use of your commands

    $config[WebProfilerConstants::IS_WEB_PROFILER_ENABLED] = true;
    $config[WebProfilerWidgetConstants::IS_WEB_PROFILER_ENABLED] = true;
    

    but doesn't work

  • U02KT30LJ5S
    U02KT30LJ5S Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    also i have web-profiler in vendor folder .is it possible i enable it in my project. i mean something like app-kernal in Symfony

  • U02KT30LJ5S
    U02KT30LJ5S Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    it is my config in onfig_default.php

  • Dmitriy Aseev
    Dmitriy Aseev Sprykee Posts: 20 πŸ§‘πŸ»β€πŸš€ - Cadet

    Just create config_local.php

    <?php
    
    use Spryker\Shared\Application\ApplicationConstants;
    use Spryker\Shared\WebProfiler\WebProfilerConstants;
    use SprykerShop\Shared\ShopApplication\ShopApplicationConstants;
    use SprykerShop\Shared\WebProfilerWidget\WebProfilerWidgetConstants;
    
    $config[ApplicationConstants::ENABLE_APPLICATION_DEBUG]
        = $config[ShopApplicationConstants::ENABLE_APPLICATION_DEBUG]
        = $config[WebProfilerConstants::IS_WEB_PROFILER_ENABLED]
        = $config[WebProfilerWidgetConstants::IS_WEB_PROFILER_ENABLED]
        = true;
    
  • U02KT30LJ5S
    U02KT30LJ5S Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thanks guys.actually i am incredibly new in Spryker and i work on a custom theme .i think i should have more experience for use your advice .