What is happening to my website?
Hello Guys, I have this issue with my website and I cant get my head around it because... well, shamefully, I'm not a programmer. My website has been acting funny all day, the pages won't load properly. apparently it loads only text and does not come up in the proper structure. At first I thought it has something to do with my browser until I found out its actually general on all browsers.
I've been trying to figure it out but can't find a way around it. Check out there websites. I have attached a picture of my homepage and how it loads now.It's heart breaking cuz I'm beginning to really gather users on that damn site!
-
-
·
LeonidS
- ·
Hello Kelvin!
First of all, you need to remember all the changes in your server before this trouble's appearance. For not it looks like your template doesn't have an "access" to the own css files from "template/css" folder.
-
·
LeonidS
-
- · Kelvin30286063
- ·
So how do I fix that?
-
Check the permissions to this folder (template and css should have 755, files there 644) via Control Panel of your server-> Files management there. If the permissions are OK, then provide me these accesses (UNA's operator too) to me via Messenger here.
-
- · Kelvin30286063
- ·
All the permissions are checked out fine...any other suggestions you can think of? I think I'll just send you an inbox now
-
-
- · Kelvin30286063
- ·
Did help. Still need help with this! @una
-
-
Yes it does. My hosting provides an ssl certificate with there services by default.
-
-
- · tech66
- ·
What to do:
1. Edit file /inc/header.inc.php
define('BX_DOL_URL_ROOT', 'https://domen.name/'); ///< site url - Replace http to https
Save/Exit
2. Edit file .htaccess at the root of your site, default /public_html/.htaccess
After RewriteEngine on add
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]Save/Exit
All will be redirected to https
-
Okay, I'm gonna do that right a way
-
-
·
LeonidS
- ·
Hello Kevin
The reason was in the empty template/_hader.html file , after restoration your site looks fine now. Maybe you remember what has happened with this file recently?
-
·
LeonidS
-
Yeah I do. I was trying to inject a Google ad code on the head section. I couldn't fantom which is the right one to use. It should be noted that I tried to inject it through the traditional UNA injection at the back end but it won't save after pasting the code.
Thank you so much.
Right now, I get 500 internal error when I try to make a post. Don't know if that has anything to do with the issue that was just resolved.