Hi everyone,
A website with Contao 4.4.57 (with changelanguage for fr and en)
And 2 hosts :
- o2switch where the dev version is hosted at http://sitev3.bxcf3586.odns.fr
- ovh which manages our domain terea.net and where our former website was hosted.
First time.
We tried to move our website with contao-manager to our host at ovh. But the page terea.net/actualites.html or terea.net/news.html (dns ovh) generated a Contao error message. These pages have a newslist module.
Second time.
So we decided to redirect terea.net (dns ovh) to the dev version hosted at o2switch.
http://terea.net/actualite.html (dns ovh) still generates Contao error message.
http://sitev3.bxcf3586.odns.fr/actualites.html (dns o2switch) works fine.
The problem is with the page /actualites.html or /news.html where there is a news module.
What can be the problem ?
Here are the last lines of /var/log
Code:
[2021-09-03 23:24:26] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2021-09-03 23:24:26] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: http://www.terea.net/robots.txt" at /home/bxcf3586/sitev3/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: http://www.terea.net/robots.txt at /home/bxcf3586/sitev3/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: http://www.terea.net/robots.txt at /home/bxcf3586/sitev3/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
[2021-09-03 23:38:37] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"robots.txt","_route":"contao_catch_all"},"request_uri":"http://terea.net/robots.txt","method":"GET"} []
[2021-09-03 23:38:37] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2021-09-03 23:38:37] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: http://terea.net/robots.txt" at /home/bxcf3586/sitev3/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: http://terea.net/robots.txt at /home/bxcf3586/sitev3/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: http://terea.net/robots.txt at /home/bxcf3586/sitev3/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
Thanks for your help.
Bookmarks