Installing MessengerBundle the first time #2452
-
Let me know if there is anything I messed up here:
public function registerBundlesToCollection(BundleCollection $collection): void
{
if (class_exists(\CoreShop\Bundle\MessengerBundle\CoreShopMessengerBundle::class)) {
$collection->addBundles([
new \CoreShop\Bundle\MessengerBundle\CoreShopMessengerBundle(),
]);
}
Output looks contains Coreshop bundes:
And
But the Messenger bundle did not seem to be fully installed, or it set unexpected path on it's CSS & JS resources, or something like that:
It turns out the actual path in our 10.6.9 environment is really Are we perhaps missing some rewrite rule? I can see that most bundles we use which supply their own resources use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
What versions did you install? |
Beta Was this translation helpful? Give feedback.
For reference, we looked at it together and found the issue: it was a wrong nginx config, the right line for serving the assets would be: