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: -
<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=84fa96bbc24a062090d00bd72b338265&userurl=&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=84fa96bbc24a062090d00bd72b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
-
</html>
-
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
4 22810
Common error with xslt, the meta and link tags need to be closed: -
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
-
<link href="css.php?color=000000" rel="stylesheet" type="text/css"/>
-
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]
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.
Thank you for your help, guys- turns out the developer had included wrong file entirely. Thanks for listening. :)
Sign in to post your reply or Sign up for a free account.
Similar topics
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...
|
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....
|
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...
|
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:-
...
|
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...
|
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
|
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...
|
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...
|
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 =...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |