Sylius: An exception has been thrown during the rendering of a template ("Channel could not be found! Tip: You can use the Web Debug Toolbar to switch between channels in development.").

Created on 21 Nov 2018  路  19Comments  路  Source: Sylius/Sylius

after my installation I just wrote this problem to me prevents me from working and am really blocking, please help

Most helpful comment

Hello @christiankasse !

Sylius issues should be used to report bugs, propose new features, discuss new functionalities. For everything else, please, use our Slack channel or stackoverflow ;)

All 19 comments

You have to configure the URL for the default channel in the backend or manually set it in the debug toolbar because the current ChannelResolver could not determine the channel to use.

how can i do that

Go to the admin pannel (usually under /admin) and click on channels and then edit the only channel you have and set the host to localhost or whatever URL you are using.

they said No route found for "GET /en_US/admin"

screenshot from 2018-11-21 22-42-27
screenshot from 2018-11-21 22-42-32

It's just localhost:8081/admin.

the second pincture present my first time when i was open my server to acced to the url

It's just localhost:8081/admin.

Yes but no route it's link for this

So this route does not exist?

Then try to set it manually in the debug toolbar. (The bar at the bottom). There is a red field with two arrows that cross each other and after that it says "Undefined". Hover over it and then a menu will pop up with one other channel. Click on the "change" link next to the name.

but before that I first have to do the migrations after loading the fixtures but I can not and it cuts on the way saying saying Root image path not resolvable "/var/www/html/tinda/public/media/image"

The usual workflow is migrations first then the data fixtures.

it's said No migrations to execute.

screenshot from 2018-11-21 23-00-21

I do not know if you understand me, after I download the project with the explanation of the documentation I'm blocking because even if I just hope to do php bin / console I do not buy all the commands with this error message that is displayed to me; my first project sylius I downloaded it two months ago and it worked well but it has been 3 days that I do absolutely nothing
screenshot from 2018-11-21 23-05-00

Try to create the folder and then try again. I am going to bed now, but I'll have a look at it later. Good luck for now.

thank you I'm still trying

Any luck? Have you tried to create the folder it couldn't resolve?

Hello @christiankasse !

Sylius issues should be used to report bugs, propose new features, discuss new functionalities. For everything else, please, use our Slack channel or stackoverflow ;)

Was this page helpful?
0 / 5 - 0 ratings