Mhari Posted February 23, 2018 Posted February 23, 2018 Hi, I have problem in my site in this domain http://tatoeba.gaThe style doesn't load at all, but I have install it on my local and work perfectly.please tell me whats wrong username: mhr2server: ricky Quote
sagnik Posted February 23, 2018 Posted February 23, 2018 Loading failed for the <script> with source “http://tatoeba.ga/iwbx-assets/js/jquery-2.1.1.min.js”. iwbx-assets:2 Loading failed for the <script> with source “http://tatoeba.ga/iwbx-assets/js/bootstrap.min.js”. iwbx-assets:2Bootstrap requires jquery and bootstrap.js is loaded to work.But the problem with your website is every request to any URL of your website is being forwarded/rewritten to "/index.*".Rewrite your URLs correctly in your .htaccess file. Quote
Mhari Posted February 24, 2018 Author Posted February 24, 2018 yes but, it is work perfectly in my local (i am sure), so I dont think the code is wrong Quote
Krydos Posted February 24, 2018 Posted February 24, 2018 The reason your css/js isn't loading is because you're getting a 500 error on all of those files. For instance http://tatoeba.ga/iwbx-assets/css/bootstrap.min.css Try deleting or renaming your .htaccess file. That can cause 500 errors sometimes. Quote
wolstech Posted February 24, 2018 Posted February 24, 2018 Your issue is your .htaccess files as expected. The one in your document root has a forced redirect to index.php that prevents the assets from loading, and the one in the assets folder is invalid, causing a 500 error on the assets once the redirect was removed. I renamed both files to htaccess.old so they're ignored, and your site now seems to function correctly. EDIT: @Krydos: You posted while I was looking at it. It's actually 2 htaccess files. I just renamed them for him and it does indeed now work correctly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.