fejl i etomite template
hejsajeg har lige lavet en ny template til mit etomite cms, men jeg får flg. fejlmeddelelse:
« Etomite Parse Error »
Etomite encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed »
SQL: SELECT id, pagetitle, description, parent, alias FROM `speedidesign_dk_db`.etomite_site_content WHERE `speedidesign_dk_db`.etomite_site_content.parent= AND `speedidesign_dk_db`.etomite_site_content.published=1 AND `speedidesign_dk_db`.etomite_site_content.deleted=0 ORDER BY menuindex ASC;
Hvad er der galt??
Koden til min template er:
<!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>
<title>[(site_name)] » [*pagetitle*]</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
[[GetKeywords]]
<style type="text/css">
@import url('assets/site/style.css');
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="120"><img src="assets/images/header.jpg" /> </td>
</tr>
<tr>
<td height="20"><div align="center">[[MenuHori]]</div></td>
</tr>
<tr>
<td height="5" bgcolor="BF0045"> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="124" bgcolor="bf0045"> </td>
<td><p class="style1">[*longtitle*]</p>
<p>[*Content]</p></td>
<td width="124" bgcolor="bf0045"> </td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="bf0045" align="right">[[PoweredBy]]</td>
</tr>
</table>
</body>
</html>
