Sehrish Iftikhar Posted September 20, 2019 Share Posted September 20, 2019 I'm creating a custom WHMCS template. I've cloned Six theme from Github but my frontend is showing the unformed text rather than complete page styled with CSS. On visit the path to https://mywebsite/templates/custom_template/css/styles.css it is showing 404 error. I've made sure the path, the path is correct. Also, take a look at General Settings also the System URL link is https. Don;t know the exact reason. I've gone through many community observe people face the same problem but I'm still unable to find the exact path form my website. my website link is 0 Quote Link to comment Share on other sites More sharing options...
Sehrish Iftikhar Posted September 20, 2019 Author Share Posted September 20, 2019 3 1 minute ago, Sehrish Iftikhar said: I'm creating a custom WHMCS template. I've cloned Six theme from Github but my frontend is showing the unformed text rather than complete page styled with CSS. On visit the path to https://mywebsite/templates/custom_template/css/styles.css it is showing 404 error. I've made sure the path, the path is correct. Also, take a look at General Settings also the System URL link is https. Don;t know the exact reason. I've gone through many community observe people face the same problem but I'm still unable to find the exact path form my website. 0 Quote Link to comment Share on other sites More sharing options...
thunderz Posted October 8, 2019 Share Posted October 8, 2019 I'm having this same issue and it started happening randomly.. https://gyazo.com/652a27a4226ad272dd60f964bf102c1c At one point it was fine and then i force refreshed the page and this is what i saw. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 9, 2019 Share Posted October 9, 2019 On 20/09/2019 at 14:34, Sehrish Iftikhar said: I'm creating a custom WHMCS template. I've cloned Six theme from GitHub but my frontend is showing the unformed text rather than complete page styled with CSS. but the site works ok when you use the default Six theme (not the duplicated version) ? On 20/09/2019 at 14:34, Sehrish Iftikhar said: On visit the path to https://mywebsite/templates/custom_template/css/styles.css it is showing 404 error. so it's missing - can't you copy it from the Six template ?? in any event, styles.css got deprecated in v7.1, so it's only there for reference I believe and shouldn't be called by your templates. Quote Failure to remove stale links may cause JavaScript errors, or odd rendering due to conflicting CSS rules. so I would suggest taking a look at your templates because they shouldn't be calling styles.css in your head/header templates. 0 Quote Link to comment Share on other sites More sharing options...
Sehrish Iftikhar Posted October 10, 2019 Author Share Posted October 10, 2019 Sorry to bother all of you. I got this problem resolved. It was the issue of file access permissions. When I cloned Six template from the Git then the permission of files was 644 then I transfer it to 755 then my issue gets resolved. 0 Quote Link to comment Share on other sites More sharing options...
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.