Jump to content
Sehrish Iftikhar

My site is showing unformed template

Recommended Posts

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 

 

WHMCS-CustomTheme.JPG

Share this post


Link to post
Share on other sites
 
 
 
 
 
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.

 

 

 

WHMCS-CustomTheme.JPG

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated