4647 Posts in 1402 Topics by 1394 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3804 Views |
-
404-errorpage

8 January 2009 at 3:23am
“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
-
Re: 404-errorpage

8 January 2009 at 3:23am
<!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> -
Re: 404-errorpage

8 January 2009 at 5:18am Last edited: 8 January 2009 5:18am
I think it is because it is errors in the XML code.
<link rel="shortcut icon" href="/favicon.ico" >
should be<link rel="shortcut icon" href="/favicon.ico" />
And the same for all "meta" and "link" tags.
-
Re: 404-errorpage

8 January 2009 at 6:12pm
Thank you, but I do not know where to modify
I can not find errorpage.ss -
Re: 404-errorpage

8 January 2009 at 7:45pm
The error page just uses the normal Page.ss template - it should be in themes/browish/templates/
-
Re: 404-errorpage

8 January 2009 at 9:47pm
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" 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> -
Re: 404-errorpage

14 January 2009 at 4:18pm Last edited: 14 January 2009 4:21pm
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
| 3804 Views | ||
|
Page:
1
|
Go to Top |


