Closed sim2github closed 4 years ago
I can access only to https://batflat.org/sitemap.xml
All other pages return 404 Not Found
Now works.
Hmmm... Did not works till i not define language in URI. After this works fine. Seems the problem with definition lang from browser defaults, redirect to default language if not defined in cookies or smth like that. Will try to recreate issue.
I observed a similar problem when entering from Russia. Now everything is working.
I think that the problem is with auto detection user's language.
I cant reproduce on remote anymore. Will try locally with XDebug.
Batflat ma kilka błędów których nie poprawili Twórcy w wersji 1.3.6. Najważniejszym błędem jest to, że strona wyświetla się jako strona 404. Aby to naprawić wystarczy w pliku "batflat-master\inc\core\lib\Router.php" zmienić 64 linię ($url = trim(preg_replace('#'.$url.'#', '', $_SERVER['PATH_INFO'], 1), '/'); na $url = trim(str_replace($url, '',$_SERVER['PATH_INFO']), '/');. I błąd 404 znika.
It looks like there is no problem with the official website. 🤔