collective / Collective

Plone Collective Requests, Questions, Maintenance
http://collective.github.io
124 stars 164 forks source link

Mastering Plone 6 Training Results in Broken Classic UI #1844

Closed tjprescott closed 7 months ago

tjprescott commented 7 months ago

Originally posted here: https://github.com/collective/training_buildout/issues/30

PROBLEM

I'm trying to follow this training for Plone 6, which says to clone and build this repo to start the backend: https://training.plone.org/mastering-plone/installation.html#installing-the-backend

When I follow this and create my site, the article says I should see this:

image

But instead I get this:

image

When I check the developer console I get the following error:

image

And the problematic code seems to be:

image

QUESTION I have searched through the backend (and frontend) code and can't find any reference to this code, so I can't even fix it by hand. I ran into a similar problem when I tried creating my Plone 6 site through the regular installation docs and using containers (when using the backend container, sometimes it would work and other times the CSS would be broken just like this...)

Not sure what's going on but it feels impossible to move forward learning Plone 6 when this is the first obstacle I run into.

tjprescott commented 7 months ago

So apparently this issue here was going to 127.0.0.1/Plone instead of localhost/Plone. I learned that there is some rule that disables theming when using the IP address.

If that's the case, it seems like it would make sense to mention this in the training, or to update the scripts to reference localhost rather than IP address.