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..

Symfony toolbar gives an error 500 in Zed dashboard. After opening the URL in a new tab, I see that

U01DHAW94DQ
U01DHAW94DQ Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

Symfony toolbar gives an error 500 in Zed dashboard. After opening the URL in a new tab, I see that the URL differs from what we have in Yves:
http://zed.de.oneal.local/cms-gui/edit-page/_wdt?token=5fb54a
VS
http://zed.de.oneal.local/_profiler/_wdt?token=5fb54a

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Is your project started from spryker-shop/suite repo?

  • U01DHAW94DQ
    U01DHAW94DQ Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited October 2020

    According to the README.md, it was started from Spryker B2C Demo Shop. Anyway, most probably it was a caching problem, because after reinstalling from scratch (there also was some strange problem - console hanged up) and running console sync:data, the page has appeared. The only problem now is that it is visible only for the customers. Is there any documentation on how to make it visible for everybody?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Sorry, from previous screenshots it's obvious that the project started from spryker-shop/b2c-demo-shop. Haven't noticed.

    CMS page should be visible for anyone, not only to logged-in customers.

  • U01DHAW94DQ
    U01DHAW94DQ Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

    ah, it's a topic about the toolbar... the problem with it has always been there, it hasn't disappeared...

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    It could be misconfiguration - wdt is missed in ACL configuration:

    // ---------- ACL
    $config[AclConstants::ACL_USER_RULE_WHITELIST][] = [
        'bundle' => 'wdt',
        'controller' => '*',
        'action' => '*',
        'type' => 'allow',
    ];
    
  • U01DHAW94DQ
    U01DHAW94DQ Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited October 2020

    no, the configuration is there. also, as you can see from the screenshots and my message above, the problem is with the paths, not with ACLs. if remove cms-gui/edit-page/ from the path, it works.

  • Stanislav Matveyev
    Stanislav Matveyev Tech Lead @ Spryker Sprykee Posts: 211 πŸ§‘πŸ»β€πŸš€ - Cadet