473,396 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Newbie Error: End tag 'head' does not match the start tag 'link'.

I am an IT consultant, but I work entirely on the hardware and networking side of things. I don't work with much (any) code. So most of what you guys do within this forum may as well be in Chinese. But I've got an issue that I hope you might help me resolve:

I've got a problem in front of me- a program that upon startup throws an error:

End tag 'head' does not match the start tag 'link'.

I believe I've narrowed the problem down to a file called updateversion.xml

Code for that file is here:


Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Internet Usage Terms and Conditions</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <link href="css.php?color=000000" rel="stylesheet" type="text/css">
  6. </head>
  7. <iframe name="header" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="855" height="40" src="welcome_head.php?res=notyet&uamip=192.168.182.1&uamport=3990&challenge=84fa96bbc24a062090d00bd72b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
  8. <iframe name="main" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="1000" height="1500" src="welcome_main.php?res=notyet&uamip=192.168.182.1&uamport=3990&challenge=84fa96bbc24a062090d00bd72b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
  9. </html>
  10.  
I hope I posted that code correctly and I don't get kicked out of this forum. :) If anyone here has an answer, I'll be most appreciative.

Thanks,

Jake
Montana, USA
Mar 17 '08 #1
4 22810
jkmyoung
2,057 Expert 2GB
Common error with xslt, the meta and link tags need to be closed:

Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  2. <link href="css.php?color=000000" rel="stylesheet" type="text/css"/>
  3.  
Mar 17 '08 #2
Thanks so much for replying. Even knowing very very little of HTML, that was my guess as well.

After fixing that, a bunch of other errors popped up. But I'm a learn-as-I-go kind of guy, and I was able to fix each of them by referencing line numbers in the error and with a little common sense.

I think I'm down to the last error (and then I can spend some time tracking down the amateur that sent this program to market with all these inherent problems.) This last error does not mention a line or position, but I'm guessing the problem lies in the parameters following src="welcome_head.php etc etc Accordingly, I would guess that if there's a problem with that line, there's the same problem with the following line that appears to be almost identical.

This is the only file I've got, and the code below reperesents the entire file, so if you can help me resolve this, there won't be more to come. I appreciate your time on this. I'm in the middle of nowhere up here in Montana- I exhausted all of my local resources when I asked my wife if she knew anything about XML coding. :)

The code now generates the following error, and the code has changed to this:

Error:
Object reference not set to an instance of an object

[code]


<html>
<head>
<title>Internet Usage Terms and Conditions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link href="css.php?color=000000" rel="stylesheet" type="text/css"/>
</head>
<iframe name="header" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" width="855" height="40" src="welcome_head.php?res=notyet;uamip=192.168.182 .1;uamport=3990;challenge=84fa96bbc24a062090d00bd7 2b338265;nasid=634;mac=00-1F-3A-1E-C7-00"></iframe>
<iframe name="main" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" width="1000" height="1500" src="welcome_main.php?res=notyet;uamip=192.168.182 .1;uamport=3990;challenge=84fa96bbc24a062090d00bd7 2b338265;nasid=634;mac=00-1F-3A-1E-C7-00"></iframe>
</html>
[code]
Mar 17 '08 #3
jkmyoung
2,057 Expert 2GB
The errors probably lie in the linked files:

welcome_head.php
welcome_main.php
css.php

Would have to see those, and then it might be a PHP question instead.
Mar 17 '08 #4
Thank you for your help, guys- turns out the developer had included wrong file entirely. Thanks for listening. :)
Mar 18 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

75
by: Beni | last post by:
I have been programming in C for about a year now. It sounds silly, but I never took the time to question why a C(or C++ or Java) program execution begins only at the main(). Is it a convention or...
1
by: Suman | last post by:
We are facing a problem with a Service we developed. It does not start after a re-boot. We can Start/Stop the service from the interfacing Application and the Services Control Panel all day long....
2
by: Denon | last post by:
Hi, everybody I have a web control, build by VB.net, and if I put two instance on the same aspx, error occur while debugging. Parser Error Message: Ambiguous match found. It highlight the...
1
by: kamleshsharmadts | last post by:
I am using Ajax with struts in web application. from jsp i am calling a function of ajax.js onclick of a button. code of that call function which calling from jsp given as below:- ...
5
by: cfli1688 | last post by:
I have the following xsl: =============================== <xsl:for-each select="ROWSET/ROW"> <xsl:choose> <!-- previous node is blank, this is the first node --> <xsl:when...
1
by: Priya27 | last post by:
XML parser error: End tag ‘HEAD’ does not match the start tag ‘LINK’ How to resolve this error in VPN environment
1
AnuSumesh
by: AnuSumesh | last post by:
Hi All, I have installed Local CA (Microsoft) . At the time of installation, it was working fine. Suddenly after 1 week, CA service is stopped and when tried to start the service it displays the...
3
by: klaus654 | last post by:
I have posted this also in the XML forum, as the code below actually came from an XML doc, but I think it's a basic HTML issue: Original post I am an IT consultant, but I work entirely on the...
1
by: aberry | last post by:
I have text file which contain Unicode data (say inp.txt) I read file using following code:- import codecs infile = codecs.open('C:\\tdata\\inp.txt','r','utf-16',errors='ignore') data =...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.