I’ve just updated an octobercms and deploy it to the production site. But when I visit the site I’ve got 404 for every page. When I turn on the debug mode in .env file its working like a charm, but when I turn it off its got 404. I think the problem is in database, because it occur when I migrate the database.
Very strange is that on my local enviroment its working without 404. Also with production database and debug mode set to false.
Could be something with open_basedir restrictions? Becouse somewhere in backend I’ve got this error:
“file_exists(): open_basedir restriction in effect. File(/02.jpg) is not within the allowed path(s):” …