cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Plain text site showing up!

SOLVED

Help! Plain text site showing up!

I don't know what happened but my site is showing up in plain text!

www.lasar15.com

 

I don't know what I did and nothing I run in the CLI are fixing it, have I completely screwed it???

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Help! Plain text site showing up!

Turns out I had accidentally deleted .htaccess from my the pub/static folder, once that was replaced everything went back to working fine.

 

Thanks for the help Finestshops.

View solution in original post

4 REPLIES 4

Re: Help! Plain text site showing up!

Hi there,

 

Looks like you cache was not generated correctly. for example, css file returns 404 error:

https://www.lasar15.com/pub/static/version1508464513/_cache/merged/9de8797d0c615276fc794278a0af8df2....

try to run 

bin/magento cache:flush

in ssh in the account where your store is installed.

if that did not help, you may need to regenerate the static content:

bin/magento setup:static-content:deploy

but this can kill your store if your theme was not customized properly (some morons make the changes inside the static content cache folder so regenerating the static content will remove all those customizations).

 

Anton Pachkine @ magento2.hosting : Magento Small Business Package.

Re: Help! Plain text site showing up!

I've run those commands like 10 times now and nothing has changed, last time this happened that fixed it but I feel like it's borked now.  I'm using stock luma theme.

Re: Help! Plain text site showing up!

try to run this:

 

rm -rf var/cache/* var/page_cache/* var/generation/*

and generate cache again

 

Anton Pachkine @ magento2.hosting : Magento Small Business Package.

Re: Help! Plain text site showing up!

Turns out I had accidentally deleted .htaccess from my the pub/static folder, once that was replaced everything went back to working fine.

 

Thanks for the help Finestshops.