kobachan LiteCart Fan From Japan Member since Jan 2020 kobachan Jan 12 2022 04:44 PM Hello. Thank you for upgrading Litecart 2.3.*. I immediately tried both the upgrade and clean install, but I get the following screen display. Since there is no mention of the screen display problem in the forum, please give me some advice on how to solve this problem, whether it is a problem with the configuration of our server or something caused by the language. I've tried each version in turn, and it seems to be happening with 2.2.12 or later. Thank you very much for your help.
tim Founder From Sweden Member since May 2013 tim Jan 12 2022 05:24 PM Look at the F12 console why the stylesheets are not loaded. Side note: I recommend running applications on subdomains rather than in subfolders. Example: https://dev.site.com/ https://www.site.com/ Here is a wiki what to think of if you move the platform: https://wiki.litecart.net/how_to_move_the_platform
kobachan LiteCart Fan From Japan Member since Jan 2020 kobachan Jan 13 2022 02:30 PM Thank you for all your quick answers. This was the first time I learned how to use the F12 console. It was also the first time I understood how to check for errors. Error message: "Mixed content: load all resources via HTTPS to improve the security of your site" Side note: I recommend running applications on subdomains rather than in subfolders. I installed it directly under my domain before, but it displayed the same screen structure as this question, so I have been testing it by installing it in a subfolder every time it is upgraded. After checking the contents of the F12 console, I understood that if it was https, it would not show an error, but since it was http, it could not be loaded. Please let me know which file I need to modify.
tim Founder From Sweden Member since May 2013 tim Jan 15 2022 04:42 PM Are you on some Cloudflare Flex Proxy? You stylesheets are being loaded from http while the page is https. LiteCart always inherit the http protocol down to the links from the requested protocol of the page load.
kobachan LiteCart Fan From Japan Member since Jan 2020 kobachan Jan 23 2022 05:08 PM I deactivated the free SSL setting on the server I signed up for, and changed it from https://www.mansikka.info/ to http://www.mansikka.info/. I no longer get the F12 console error, and the page looks correct. I would like to learn more and set up .httaccess so that I can access the site at https://. Thank you very much.
tim Founder From Sweden Member since May 2013 tim Jan 23 2022 05:18 PM The only reason LiteCart would not be able to detect the use of SSL is if your SSLs are in some sort of proxy and the internal request behind the proxy is unsecure. Talk to your web host what can be done. PHP uses $_SERVER['HTTPS'] to identify a secure connection which should return "on".