Developer forum

Forum » CMS - Standard features » No layout selected for website

No layout selected for website

Ivan Marijanović
Ivan Marijanović
Reply

I need urgent help.

Suddenly bunch of my websites / languages do not render with error "No layout selected for website" and I cannot find where is problem. When I go to Apps and to Website and the Layout is set correctly to Rapido:Page as it is in one website that is working.

Ivan


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Ivan,

 

Did you happen to be poiting to a file that was deleted or renamed? Or even the design folder may have been renamed.

 

The UI might be loading a reference to a file that no longer exists, because it gets the data from the database directly, which is a relative path to a file. That seems to be the most obvious situation. Try setting to another layout and see if it works.

 

Best Regards,

Nuno Aguiar

 
Ivan Marijanović
Ivan Marijanović
Reply

It looks like it has something to do with urls

I have setup differnet urls for example main is product.com/hr-hr/ and for uk it is product.com/co-uk/ so I can go to main site but all other that have diferent part do not work anymore

 

Ivan

 
Ivan Marijanović
Ivan Marijanović
Reply

I finally found the error! On main website I selected "The selected domains can only reach this website" and after that all other sites became unaccessible but with this wierd msg!

Ivan

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply
This post has been marked as an answer

Glad you found it. and I agree that appears to be a misleading message. Maybe Dynamicweb can fix that to make it more explicit.

Votes for this answer: 1

 

You must be logged in to post in the forum