Jump to content

[Answered] Homepage Isn't Being Interpreted


synch

Recommended Posts

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.

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...