luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
812 stars 207 forks source link

Website not found #868

Closed codexdb closed 8 years ago

codexdb commented 8 years ago

After installation (beta6 under jessie) admin connection shows homepage in preview and frontend site access works fine. Without changing anything on next day preview is OK, but site access is refused with error.

Not Found (#404) Home item could not be found, have you forget to set a default page?

nadar commented 8 years ago

hi @codexdb i just formated your message a little bit, and i guess the exception already tells you what the error might be: have you forget to set a default page?

So i guess you have disabled your "Homepage" in the CMS Module, we know its possible to disabled an existing homepage, so we have fixed that already in the next release (beta7).

So make sure you got that "home" icon somewhere in your navigation tree, or enable it for a page.

selection_010

Change the homepage:

selection_012

codexdb commented 8 years ago

@nadar, thanks for the formatting, but i have to confess: I did something: After installation i changed (because i am native german speaking) the names and codes for english and german language in menu system. Therefore the cms could not combine the right language id for the home page. Here is the solution. In the database table cms_nav_item, i set by hand the value in the column lang_id to the new changed value - in my case from 1 to 2. Perhaps a hint for further development.

And - most important - congratulations to you a well designed designed project. Gruezi

nadar commented 8 years ago

I guess you could have done this also in the administration area without touching the database (of course its always better to understand what happens in the database and how you can change things). At least in beta7 we have enhanced the language administration area.

Thank YOU, for using LUYA. We love to hear from people using LUYA making the project better! Gruss aus der Schweiz.

nadar commented 8 years ago

@codexdb i assume we can close this issue?