Dynamically related files could not be resolved because the site definition is not correct
I have a php/mysql website running on Win11 xampp localhost server and it displays fine in browsers using http://localhost/sitename
And it loads dynamic content in live mode but still gives the site definition error.
But in design mode dynamic content is not displayed due to "site definition not correct".
If the site definition is incorrect why does it work in everything except design mode?
Does anyone know how to fix this?
