WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Webserver error on Fri May 25, 2012 2:02 pm

RSguideMaker

avatar
Registered Member
Registered Member
This isn't to do with web designing, hence why it is posted here.

My web server is showing me an error message, so I thought it was to do with the upload. I re-uploaded the files using the FTP client FileZilla, and I still get the error message:



My HTML page looks fine when I open it from the folder on my desktop:




My code is this:

Code:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
   Maximus4T by 4Templates | http://www.4templates.com/free/ | @4templates
   Licensed under the Creative Commons Attribution 3.0 License
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Computer Palace</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://fonts.googleapis.com/css?family=Oswald:400,700" rel="stylesheet" type="text/css" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="jquery.dropotron-1.0.js"></script>
<script type="text/javascript" src="init.js"></script>
</head>
<body>
<div id="header-wrapper">
   <div id="header">
      <div id="logo">
         <h1><a href="#">Computer Palace</a></h1>
         <p>For all your computing needs</p>
      </div>
   </div>
</div>
<div id="menu-wrapper">
   <div id="menu-content">
      <ul id="menu">
         <li class="first"><a href="#" accesskey="1" title=""><span>Home</span></a></li>
         <li><span><a href="/forums/" accesskey="2" title="">Forums</a></span>
               </li>
         <li><a href="/software-reviews/" accesskey="3" title=""><span>Software Reviews</span></a></li>
         <li><a href="./vids.html" accesskey="4" title=""><span>Videos</span></a></li>
         <li><a href="/contact/" accesskey="5" title=""><span>Contact</span></a></li>
      </ul>
   </div>
   <div id="search">
      <form method="get" action="">
         <fieldset>
            <input type="text" name="s" id="search-text" title="Search our website" size="15" value="" />
            <input type="submit" id="search-submit" value="GO" />
         </fieldset>
      </form>
   </div>
</div>
<div id="banner-wrapper">
   <div id="banner">
      <div class="image"><a href="#"><img src="http://www.palmbeachvirtual.org/images/computer_banner0.gif" width="900" height="257" alt="" /></a></div>
      <div class="border"></div>
   </div>
</div>
<div id="page">
   <div class="bgtop"></div>
   <div class="content-bg">
      <div id="content">
         <div class="post">
            <p class="date">May<b>23</b></p>
            <h2 class="title">A quick message from the admins</h2>
            <p class="posted">Posted by Administration</p>
            <div class="entry">
               <p><img src="http://images2.wikia.nocookie.net/__cb20110612034548/thesimsmedieval/images/b/bb/Admin.gif" width="550" height="245" alt="" class="img-style1" /></p>
               <p>Hi there. As the administration team at Computer Palace, we have been trying our best to sort this website out. We are trying to build the forums, but we are having trouble finding the staff. No matter what type of help you need, we will help if we can. But it's not just us staff that will help you. Once the forums are sorted, anyone is more than welcome to help you.</p>
               <div class="meta">
                  <p><span class="listed">Posted in <a href="#">Main Page</a></span><span class="tags">Tags:<a href="#">News</a>, <a href="#">Design</a>, <a href="#">Staff</a>, <a href="#">Other</a></span><span class="comments"><a href="#">0 Comments</a></span></p>
               </div>
            </div>
         </div>
      </div>
      <div id="sidebar">
         <div>
            <h2 class="title">About Us</h2>
            <p>We are a non-profit organisation. We like to help people, and all we want is for other people of the public to have the website/software that they so require/desire.</p>
         </div>
         <div>
            <h2 class="title">Latest Videos</h2>
            <ul>
               <li class="first"><a href="#">...</a></li>
               <li><a href="#">...</a></li>
               <li><a href="#">...</a></li>
               <li><a href="#">...</a></li>
               <li><a href="#">...</a></li>
            </ul>
         </div>
         <div>
            <h2 class="title">Contact the Head Admin</h2>
            <p>If the website is down for matinence, and you need to contact the website team, the head administrator is available approx. 12-17 hours a day.
            <br />
            You can contact him on Facebook <i>or</i> on Skype, whichever you prefer. His Skype is RSguideMaker and his Facebook is below:
            <br />
            <a href="https://www.facebook.com/RSguideMaker" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Euan Fitzpatrick"><img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/573732_100001340603944_210219491_n.jpg" /></a></p>
         </div>
      </div>
   </div>
   <div class="bgbtm"></div>
</div>
<div id="footer-content">
   <div class="bgtop"></div>
   <div class="content-bg">
      <div id="column1">
         <div class="box1">
            <h2>Time & Date</h2>
            <p><center><script type="text/javascript" src="http://100widgets.com/js_data.php?id=44"></script>
    </center></p>
         </div>
         <div class="box2">
            <h2>What do you think?</h2>
            <p><br />
            <br />
            <br />
            <br />
            <br /><script type="text/javascript" src="http://100widgets.com/js_data.php?id=152"></script></p>
         </div>
      </div>
      <div id="column2">
         <div class="box3">
            <h2>Your Computer Stats:</h2>
            <p><script type="text/javascript" src="http://100widgets.com/js_data.php?id=149"></script></p>
         </div>
      </div>
   </div>
   <div class="bgbtm"></div>
</div>
<div id="footer">
   <p> © Computer Palace 2012. All Rights Reserved.
</p>
</div>
</body>
</html>

I uploaded EVERYTHING that was together. The JS files, the .CSS file, the images folder and index.html

I still get the error so can somebody please help me.

2 Re: Webserver error on Fri May 25, 2012 3:22 pm

ankillien

avatar
Administrator
Administrator
It says that the error is on the 1st line...

Code:
<?xml version="1.0"?>

If you don't need that line of code, try removing it and see if it works.

3 Re: Webserver error on Fri May 25, 2012 4:02 pm

Mr.Joker

avatar
Mr. WebArtz
Mr. WebArtz
Do you have any PHP part in this? Because this is classic PHP error in syntax.

4 Re: Webserver error on Fri May 25, 2012 10:23 pm

RSguideMaker

avatar
Registered Member
Registered Member
I don't think that there is any PHP, so I will do what Ankillien said and remove the XML line (and put it back if it ruins the site xD)

EDIT: Hmm strange. I went back onto my website so that I could edit it, and I got this error:


(I have blanked out my website so that I am not indirectly advertising)


How come I get this message now when earlier, I was getting this message:


EDIT: Never mind. My website is sorted now. xD


Solved | Locked

5 Re: Webserver error on Sat May 26, 2012 10:02 am

ankillien

avatar
Administrator
Administrator
Solved | Locked

Please avoid using red bold text as it is used for moderation. You can use other colors for highlighting Smile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum