Jump to content

[Answered] Homepage Isn't Being Interpreted


Recommended Posts

Posted

Hi!

 

Info:

Server:

Stevie

 

Cpanel username:

synch

 

Domain:

synchring.tk

 

I've created an account here recently and the Cpanel and it's relative tools works fine.

But going to http://synchring.tk/index.htm it seems the "index.html" page there isn't being interpreted, just shows the code of the page.

 

Also in the ".tk" configuration the DNS change that it should be done, I really have no idea if I've done it right.

 

 

What should I change?

 

I've read the wiki but honestly I don't understand much of this yet.

 

Thanks, Daniel.

Posted

The DNS in that picture looks fine.

 

As for the page displaying its code...your source is messed up. I've seen this happen when someone uses certain HTML editor tools...

 

Your page's source is:

<p><!DOCTYPE html><br />
<br /><br />
<!--<br />
      Polyglot markup document.<br />
         http://www.w3.org/TR/html-polyglot/<br />
--><br />
<br /><br />
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><br />
<br />  <head><br />
    <meta charset="UTF-8" /><br />
<br />    <title>Synchring</title><br />
<br />    <link rel="shortcut icon" href="./favicon/synchring.ico" /><br />
    <link rel="copyright" href="./" /><br />
    <link rel="stylesheet" href="./presentation/css/desktop/main.css" /><br />
<br />    <script src="./script/client/javascript/main.js"></script><br />
  </head><br />
<br />  <body><br />
<br />    <p><br />
    Menu<br />
    </p><br />
<br />  </body><br />
<br /></html><br />
<br /></p>

 

It should look like:

<!DOCTYPE html>

<!--
  Polyglot markup document.
	 http://www.w3.org/TR/html-polyglot/
-->

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
<meta charset="UTF-8" />
<title>Synchring</title>
<link rel="shortcut icon" href="./favicon/synchring.ico" />
<link rel="copyright" href="./" />
<link rel="stylesheet" href="./presentation/css/desktop/main.css" />
<script src="./script/client/javascript/main.js"></script>
 </head>
 <body>
<p>
Menu
</p>
 </body>
</html>

Try copying the above fixed code into a file and see if it works. :)

  • Like 1
Posted

I just have looked in the source code as suggested and yeah the code is messed up.

I didn't set a ftp account yet, so I was copy and pasting the code from my file to a new one using the web editor provided by the panel.

 

Thanks, I know what to do now, it just slipped my mind that when copy and pasting the editor would add tags for spaces and new lines as html tags.

 

Daniel

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
×
×
  • Create New...