-
Update from 3.5 to 4.13
After update was everything OK, site starts and I check for missed modules to install. After I install module danielgausi/contao-calendareditor-bundle which I use for frontend calender events I get followed:
[2024-07-30T09:31:50.864962+02:00] request.INFO: Matched route "tl_page.2.root". {"route":"tl_page.2.root","route_parameters":{"_co ntroller":"Contao\\FrontendIndex::renderPage","_sc ope":"frontend","_locale":"sl","_format":"html","_ canonical_route":"tl_page.2","parameters":"","page Model":{"Contao\\PageModel":[]},"_route":"tl_page.2.root","_route_object":{"Symf ony\\Component\\Routing\\Route":[]}},"request_uri":"http://localhost/myproject/public/","method":"GET"} []
[2024-07-30T09:31:50.904936+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2024-07-30T09:31:51.013845+02:00] contao.error.ERROR: Page ID "34" does not belong to a root page [] {"contao":{"Contao\\CoreBundle\\Monolog\\ContaoCon text":"{"func":"Contao\\\\PageModel::loadDetails", "action":"ERROR","username":"anon.","browser":"Moz illa\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/127.0.0.0 Safari\\/537.36 Edg\\/127.0.0.0"}"}}
[2024-07-30T09:31:51.021917+02:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHtt pException: "No root page found" at D:\xampp\htdocs\myproject\vendor\contao\core-bundle\src\EventListener\ExceptionConverterListene r.php line 97 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFou ndHttpException(code: 0): No root page found at D:\\xampp\\htdocs\\myproject\\vendor\\contao\\core-bundle\\src\\EventListener\\ExceptionConverterList ener.php:97)\n[previous exception] [object] (Contao\\CoreBundle\\Exception\\NoRootPageFoundExc eption(code: 0): No root page found at D:\\xampp\\htdocs\\myproject\\vendor\\contao\\core-bundle\\src\\Resources\\contao\\models\\PageModel. php:1290)"} []
What could be wrong with page with ID 34. I didn't change anything. Thank you guys for help.
-
1 Attachment(s)
Every Contao installation requires a root page. You must therefore make sure that a root page actually exists.
Attachment 358
-
Ofcourse, root page exists. Page worked fine until I install module for frontend calendar editing.
-
Can you please post a screenshot of the page structure?
Does the hierarchy fit?
Have you tried to save the root page again?
-
Yes, I did. Something must goes wrong with module Calendar FE edit. Module has property called Redirect page for adding events and if I set a specified page I get errors Page ID "65" does not belong to a root page and error No root page found. I think something must be set a little bit different because everything works OK under 3.5. Damn, any help please. Thanks guys.