Unable to find the requested cms layout '1' for nav item page id '1 #2157
Unanswered
kangzhaolong
asked this question in
Questions & Problems
Replies: 3 comments 11 replies
-
What version of luya, cms and admin are you using? What database server do you use, mysql? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Can you find new database entries in your |
Beta Was this translation helpful? Give feedback.
3 replies
-
Can you please post the FULL output log when running the command? It returns what happens: for example:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I create the luya-kickstarter-bootstrap4 on my pc and config well, and I upload to git server.
on my cloud server, I get the package from git server and do the "composer update" , THEN I EXECUTE THE COMMAND "./vender/bin/luya import", It seams that the "id" of database cms_layout will be increase automatically .
BUT in the cms/frontend/default page, it still search the layout id which value is 1.
then I visit the default cms, (e.g. https://xxxx/cms), The default page will show below information:
Invalid Configuration – yii\base\InvalidConfigException
Unable to find the requested cms layout '1' for nav item page id '1'. Make sure your page does not have an old inactive/deleted cms layout selected.
152153154155156157158159160161162163164165166167168169170
155156157158159160161162163164165166167
I am thinking if there is some problem in "import process" or the cms default page for using the id of cms_layout?
Beta Was this translation helpful? Give feedback.
All reactions