Mogens Kjaer wrote:
> Mikkel Bundgaard wrote:
> ...
>
>> Parse error: parse error, unexpected T_STRING in
>> /var/www/mrtg/linksys.html on line 1
>
>
> Hvad står der i den fil; specielt i linie 1?
>
> Mogens
>
Hmmm godt spørgsmål:
Jeg var faktisk af den opfattelse at problemet lå i mrtg. Jeg var kommet
frem til at filen ikke indholdt noget fordi ctrl+U plejer at give
kildekoden for filen...
Men ved at åbne filen i linux får jeg nedenstående indhold...
Så problemet ligger vidst ligeså meget i mozilla-firefox
Hilsen Mikkel
----------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"
http://www.w3.org/TR/xhtml11/dtd/xhtml11.dtd">
<!-- Begin Head -->
<html>
<head>
<title>Traffic Analysis for NETWORK Gateway</title>
<meta http-equiv="refresh" content="300" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Wed, 22 Jun 2005
09:25:07 GMT" />
<meta http-equiv="generator" content="MRTG 2.12.1" />
<meta http-equiv="date" content="Wed, 22 Jun 2005
09:25:07 GMT" />
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />
<!-- maxin d 108114 -->
<!-- maxout d 50051 -->
<!-- avin d 25288 -->
<!-- avout d 9886 -->
<!-- cuin d 22256 -->
<!-- cuout d 21698 -->
<!-- avmxin d 27091 -->
<!-- avmxout d 10495 -->
<!-- maxin w 108124 -->
<!-- maxout w 77070 -->
<!-- avin w 24143 -->
<!-- avout w 9422 -->
<!-- cuin w 24078 -->
<!-- cuout w 21984 -->
<!-- avmxin w 31816 -->
<!-- avmxout w 11097 -->
<!-- maxin m 111860 -->
<!-- maxout m 77070 -->
<!-- avin m 40683 -->
<!-- avout m 19313 -->
<!-- cuin m 956 -->
<!-- cuout m 9188 -->
<!-- avmxin m 59499 -->
<!-- avmxout m 24871 -->
<!-- maxin y 113503 -->
<!-- maxout y 77070 -->
<!-- avin y 20309 -->
<!-- avout y 12316 -->
<!-- cuin y 22102 -->
<!-- cuout y 8770 -->
<!-- avmxin y 74661 -->
<!-- avmxout y 34596 -->
<style type="text/css">
body {
background-color: #ffffff;
}
div {
border-bottom: 2px solid #aaa;
padding-bottom: 10px;
margin-bottom: 5px;
}
div h2 {
font-size: 1.2em;
}
div.graph img {
margin: 5px 0;
}
div.graph table, div#legend table {
font-size: .8em;
}
div.graph table td {
padding: 0 10px;
text-align: right;
}
div table .in th, div table td span.in {
color: #00cc00;
}
div table .out th, div table td span.out {
color: #0000ff;
}
div table .inpeak th {
color: #006600;
}
div table .outpeak th {
color: #ff00ff;
}
div#legend th {
text-align: right;
}
div#footer {
border: none;
font-size: .8em;
font-family: Arial, Helvetica, sans-serif;
width: 476px;
}
div#footer img {
border: none;
height: 25px;
}
div#footer address {
text-align: right;
}
div#footer #version {
margin: 0;
padding: 0;
float: left;
width: 88px;
text-align: right;
}
</style>
</head>
<body>
<H3>Traffic Analysis</H3> <TABLE> <TR><TD>System:</TD> <TD>CRouter ADSL
running @ 1Mbit/512Kbit</TD></TR></TABLE>Statistikken blev sidst
opdateret <strong>Onsdag den 22. Juni 2005 kl. 11:20</strong>,<br />
hvor <strong>'ZyxelRouter'</strong> havde været oppe i
<strong>8621800</strong>.
<!-- End Head -->
<!-- Begin `Daily' Graph (5 Minute -->
<div class="graph">
<h2>`Daglig' graf (5 minuts Middel)</h2>
<img src="router-day.png" title="day" alt="day" />
<table>
<tr>
<th></th>
<th scope="col">Max</th>
<th scope="col">Middel</th>
<th scope="col">Nu</th>
</tr>
<tr class="in">
<th scope="row">Ind</th>
<td>108.1 kB/s (82.5%)</td>
<td>25.3 kB/s (19.3%) </td>
<td>22.3 kB/s (17.0%) </td>
</tr>
<tr class="out">
<th scope="row">Ud</th>
<td>50.1 kB/s (38.2%) </td>
<td>9886.0 B/s (7.5%) </td>
<td>21.7 kB/s (16.6%) </td>
</tr>
</table>
</div>
<!-- End `Daily' Graph (5 Minute -->
<!-- Begin `Weekly' Graph (30 Minute -->
<div class="graph">
<h2>`Ugentlig' graf (30 minuts Middel)</h2>
<img src="router-week.png" title="week"
alt="week" />
<table>
<tr>
<th></th>
<th scope="col">Max</th>
<th scope="col">Middel</th>
<th scope="col">Nu</th>
</tr>
<tr class="in">
<th scope="row">Ind</th>
<td>108.1 kB/s (82.5%)</td>
<td>24.1 kB/s (18.4%) </td>
<td>24.1 kB/s (18.4%) </td>
</tr>
<tr class="out">
<th scope="row">Ud</th>
<td>77.1 kB/s (58.8%) </td>
<td>9422.0 B/s (7.2%) </td>
<td>22.0 kB/s (16.8%) </td>
</tr>
</table>
</div>
<!-- End `Weekly' Graph (30 Minute -->
<!-- Begin `Monthly' Graph (2 Hour -->
<div class="graph">
<h2>`Månedlig' graf (2 times Middel)</h2>
<img src="router-month.png" title="month"
alt="month" />
<table>
<tr>
<th></th>
<th scope="col">Max</th>
<th scope="col">Middel</th>
<th scope="col">Nu</th>
</tr>
<tr class="in">
<th scope="row">Ind</th>
<td>111.9 kB/s (85.3%)</td>
<td>40.7 kB/s (31.0%) </td>
<td>956.0 B/s (0.7%) </td>
</tr>
<tr class="out">
<th scope="row">Ud</th>
<td>77.1 kB/s (58.8%) </td>
<td>19.3 kB/s (14.7%) </td>
<td>9188.0 B/s (7.0%) </td>
</tr>
</table>
</div>
<!-- End `Monthly' Graph (2 Hour -->
<!-- Begin `Yearly' Graph (1 Day -->
<div class="graph">
<h2>`Årlig' graf (1 dags Middel)</h2>
<img src="router-year.png" title="year"
alt="year" />
<table>
<tr>
<th></th>
<th scope="col">Max</th>
<th scope="col">Middel</th>
<th scope="col">Nu</th>
</tr>
<tr class="in">
<th scope="row">Ind</th>
<td>113.5 kB/s (86.6%)</td>
<td>20.3 kB/s (15.5%) </td>
<td>22.1 kB/s (16.9%) </td>
</tr>
<tr class="out">
<th scope="row">Ud</th>
<td>77.1 kB/s (58.8%) </td>
<td>12.3 kB/s (9.4%) </td>
<td>8770.0 B/s (6.7%) </td>
</tr>
</table>
</div>
<!-- End `Yearly' Graph (1 Day -->
<!-- Begin Legend -->
<div id="legend">
<table>
<tr class="in">
<th scope="row">GRØN
###</th>
<td>Indgående trafik i
Bytes per sekund</td>
</tr>
<tr class="out">
<th scope="row">BLÅ ###</th>
<td>Udgående trafik i
Bytes per sekund</td>
</tr>
<tr class="inpeak">
<th
scope="row">MØRKEGRØN ###</th>
<td>Maksimal indgående
trafik i 5 minutter</td>
</tr>
<tr class="outpeak">
<th scope="row">LYSLILLA ###</th>
<td>Maksimal udgående
trafik i 5 minutter</td>
</tr>
</table>
</div>
<!-- End Legend --><!-- Begin MRTG Block -->
<div id="footer">
<a
href="
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/">
src="mrtg-l.png" width="63" title="MRTG" alt="MRTG" /><img
src="mrtg-m.png" width="25" title="MRTG" alt="MRTG" /><img
src="mrtg-r.png" width="388" title="Multi Router Traffic Grapher"
alt="Multi Router Traffic Grapher" /></a>
<p id="version">2.12.1</p>
<address>
<a
href="http://people.ee.ethz.ch/~oetiker/">Tobias Oetiker</a>
<a
href="mailto:oetiker@ee.ethz.ch"><oetiker@ee.ethz.ch></a><br />
og <a href="
http://www.bungi.com/">Dave
Rand</a>
<a
href="mailto:dlr@bungi.com"><dlr@bungi.com></a>
<br />
Forberedt for sprog samt oversat til
dansk af
<a href="
http://www.ipt.dtu.dk">Morten
S. Nielsen</a>
<a
href="mailto:msn@ipt.dtu.dk"><msn@ipt.dtu.dk></a>
</address>
</div>
<!-- End MRTG Block -->
</body>
</html>