“This page contains the following errors:
error on line 28 at column 8: Opening and ending tag mismatch: link line 0 and head
Below is a rendering of the page up to the first error.â€
When I create a 404 error page
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
“This page contains the following errors:
error on line 28 at column 8: Opening and ending tag mismatch: link line 0 and head
Below is a rendering of the page up to the first error.â€
When I create a 404 error page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en" >
<head>
<base href="http://www.rubber-plastic.cn/" >
<title>Page not found</title>
<meta name="generator" http-equiv="generator" content="SilverStripe - http://www.silverstripe.com" >
<meta http-equiv="Content-type" content="text/html; charset=utf-8" >
<meta http-equiv="Content-Language" content="en">
<link rel="shortcut icon" href="/favicon.ico" >
<!--[if IE 6]>
<style type="text/css">
@import url(themes/brownish/css/ie6.css);
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
@import url(themes/brownish/css/ie7.css);
</style>
<![endif]-->
<link rel="stylesheet" type="text/css" href="http://www.rubber-plastic.cn/themes/brownish/css/layout.css?m=1230455561" >
<link rel="stylesheet" type="text/css" href="http://www.rubber-plastic.cn/themes/brownish/css/typography.css?m=1231227865" >
<link rel="stylesheet" type="text/css" href="http://www.rubber-plastic.cn/themes/brownish/css/form.css?m=1230278062" >
</head>
I think it is because it is errors in the XML code.
<link rel="shortcut icon" href="/favicon.ico" >
<link rel="shortcut icon" href="/favicon.ico" />
And the same for all "meta" and "link" tags.
Thank you, but I do not know where to modify
I can not find errorpage.ss
The error page just uses the normal Page.ss template - it should be in themes/browish/templates/
the page.ss is not problem(There is no problem with other pages)(For example:http://www.rubber-plastic.cn/knowledge/)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<% base_tag %>
$MetaTags
<link rel="shortcut icon" href="/favicon.ico" />
<!--[if IE 6]>
<style type="text/css">
@import url(themes/brownish/css/ie6.css);
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
@import url(themes/brownish/css/ie7.css);
</style>
<![endif]-->
</head>
<body>
is't ok;I updated to a new version and Modify header tag.
To test:http://www.rubber-plastic.cn
http://www.rubber-plastic.cn/page-not-found