boniface
|
| Posted: 10/31/2002, 11:04 PM |
|
Warning: Component "..." was not found in the HTML during the synchronization process.
I get this error when I'm building records/grids from tables in the Mysql DB on certain tables and on others I don't.
In the screen I see this warning and the choice is yes to delete or no to continue. If I select yes, the grid/record is distorted without certain fielsd, if I select no the same happens.
Can someone help with what the major cause or source of this problem. I have had to do several things like re-create tables with diff fields to get round it and I must say I really don't know what causes this problem. Just guessing my way round. Anybody experienced it?
|
|
|
 |
Roy
|
| Posted: 01/03/2003, 10:34 AM |
|
Very strange problem indeed. I also have it!
Our situation is as follow:
I use two include pages ('header' and 'headerright') for
the 'default' page. All three pages are designed with own html in the beginning. As soon as I add a grid or record form to the 'default' page, which connects to the database the same problem occurs:
Warning: Component "..." was not found in the HTML during the synchronization process.
In case I make a 'default' page whithout including 'headerright' the problem doesn't occur.
Further I would like to point out that:
First step I create the includeble pages 'header' and 'headerright' with includeble option 'yes'. Secondly I create the 'default' page, without doing anything further the 'header' page is automatically included, but the 'headerright' page isn't included automatically, I have to do that manually.
Could this have something to do with the problem. Are the names 'header' and 'footer' perhaps hardcoded in codecharge studio?? If so would that mean that as soon as I use the name 'footer' for 'headerright' the problem should be solved?
Roy
|
|
|
 |
lneisius
|
| Posted: 01/03/2003, 11:22 AM |
|
Check the security of the page you included. I had a similar problem that had security problems combined with the page not having the includable property set.
|
|
|
 |
roy
|
| Posted: 01/05/2003, 6:24 AM |
|
Security settings are fine in fact the page is not secured, also it is includeble setting 'yes'. I changed the name to footer but that also doesn't work.
Strange.
|
|
|
 |
Roy
|
| Posted: 01/05/2003, 7:07 AM |
|
It seems that it is because the custumized html we use:
We use the next as template:
------------------------------------------------------------------------------
<html>
<head>
<title>default</title>
<link rel="stylesheet" type="text/css" href="Themes/Python/Style.css">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" link="#000099" alink="#FF0000" vlink="#000099">
{header}
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="0" background="">
<tr>
<!-- BEGIN Left Column -->
<td valign="top" width="80%">
</td>
<!-- END Left Column -->
<!-- BEGIN Right Column -->
<td valign="top" width="20%">
{headerright}
</td>
<!-- END Right Column -->
</tr>
</table>
</body>
</html>
-----------------------------------------------------------------------------
Header file looks as follow:
-----------------------------------------------------------------------------
<title>header</title>
<style type="text/css">
<!--
A,
A:ACTIVE { color : Black }
A:HOVER { color : Gray }
A:LINK { color : Black }
A:VISITED { color : Black }
A.PLAIN { text-decoration: none }
// -->
</style>
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0" background="">
<tr>
<td height="65" style="BACKGROUND-IMAGE: url(images/p_header.gif); BACKGROUND-REPEAT: no-repeat; BACKGROUND-COLOR: #000000"> </td>
</tr>
<tr>
<td bgcolor="#b9b9b9" height="1"></td>
</tr>
<tr>
<td bgcolor="#a4a4a4" height="1"></td>
</tr>
<tr>
<td bgcolor="#e7e7e7">
<a class="plain" href="default.php"><img src="images/btn_home.gif" name="Home" border="0" alt="Home"> Home</a>
<a class="plain" href="interim.php"><img src="images/btn_interim.gif" name="Interim" border="0" alt="Interim"> Interim</a>
<a class="plain" href="werving.php"><img src="images/btn_werving.gif" name="Werving & Selectie" border="0" alt="Werving & Selectie"> Werving & Selectie</a>
<a class="plain" href="advies.php"><img src="images/btn_advies.gif" name="Advies & Consultancy" border="0" alt="Advies & Consultancy"> Advies & Consultancy</a>
<a class="plain" href="contact.php"><img src="images/btn_contact.gif" name="Contact" border="0" alt="Contact"> Contact</a>
<a class="plain" href="vacatures.php"><img src="images/btn_vacatures.gif" name="Vacaturebank" border="0" alt="Vacaturebank"> Vacaturebank</a>
<a class="plain" href="kandidaten.php"><img src="images/btn_kandidaten.gif" name="Kandidaten" border="0" alt="Kandidaten"> Kandidaten</a>
</td>
</tr>
<tr>
<td bgcolor="#b9b9b9" height="1"></td>
</tr>
<tr>
<td bgcolor="#a4a4a4" height="1"></td>
</tr>
</table>
------------------------------------------------------------------------------
headerright looks like this:
------------------------------------------------------------------------------
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="">
<tr>
<td bgcolor="#a4a4a4" width="1"></td>
<td bgcolor="#b9b9b9" width="1"></td>
<td bgcolor="#e7e7e7">abc</td>
</tr>
<tr>
<td bgcolor="#b9b9b9" height="1" background="" colspan="3" rowspan=""></td>
</tr>
<tr>
<td bgcolor="#a4a4a4" height="1" background="" colspan="3" rowspan=""></td>
</tr>
</table>
-------------------------------------------------------------------------------
In case you insert a grid or any other form, it opens a new table within a table
probably it can't handle this. Why not??
Roy
|
|
|
 |
|