Error Executing: DEFAULT_ROW
DEFAULT_ROW: Unable to find row in table 'sjsmch.backbone' matching condition: 'pageid = 3254'
Invoked From: template id 1134 using template path /webmc/emailpage
Error Occurred In Command Block At Lines 14-89:
IF {$cmd == "collect"} {
[INCLUDE LIBNAME "pCmdLib"]
[NEEDS COOKIE]
[SET islogged [GET_CHIP sessionid COOKIE web_session]]
[SET bodytext {
[SET titlebar [ENCODE64 "Email this page" "sEcrEtkEy"]]
[#COMPONENT /jwtop $titlebar]
<br><br>
<table cellpadding="3" border=0 width="100%"><td>
<script>
function securelist() {
fromemail = document.emailer.sendto.value;
document.emailer.sendfromemail.value = "noreply_" + fromemail;
document.emailer.sendfromemail.disabled = true;
}
function enablefrom() {
document.emailer.sendfromemail.disabled = false;
document.emailer.submit.disabled = true;
}
</script>
[FORM "method=POST name='emailer' action=[CURL $_Path [IF {$cmd == "new"} {add} ELSE {email}]|[SHOW id]]" {
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr><td height="40" colspan="2" align="center" ><B>EMAIL THIS PAGE</B></td></tr>
<tr>
<td>Recipient Email :</td>
<td><input name="sendto" value="" size="32" maxlength="56"></td>
</tr>
[IF {[SHOW islogged] != ""} {
<tr>
<td valign=top> </td>
<td><input type='checkbox' name="securedlist" value="secured" OnClick="securelist();">this is a secure/private list
</td>
</tr>
}]
<tr>
<td valign=top>Your Email :</td>
<td><input name="sendfromemail" value="" size="32" maxlength="56">
</td>
</tr>
<tr>
<td colspan=2>Message:<br>
<textarea cols="45" name="message" rows="5"></textarea></td>
</tr>
<tr>
<td colspan="2" >Include entire page layout ?
<input type=radio name=layout value="no" checked>No
<input type=radio name=layout value="yes" selected>Yes<br>
</td>
</tr>
<tr><td align="center" colspan=2><input type='submit' value="[IF {$cmd == "new"} {Send it} ELSE {Send this page now}]" OnClick="enablefrom();"></td></tr>
</table>
}]
</td></table>
[#COMPONENT /jwbot]
}]
[
DEFAULT_ROW $schema.backbone \"templatename\" \"pageid = [SHOW id]\"
set templatename [FIELD templatename]
DEFAULT_ROW $schema.templates \"fileid\" \"path = \'[SHOW templatename]\'\"
set templateid [FIELD fileid]
NULL
set file [open /Vignette/5.6/docroot[SHOW templatename]]
set html [read $file]
NULL
]
[pageGen [SHOW schema] [SHOW html] [SHOW bodytext] 0]
}
Elapsed Execution Time: 0.047 seconds
Template Variables:
variable value ID collect|3254 TABLE gallerypath /proto/sjsmch/gallery/ domain arqtechnologies.com clientpath /proto/sjsmch id 3254 app_path e:/vignette/5.6/docroot imagepath /proto/sjsmch/ style /v5/editor/webmc.css domArray sjsmch arqtechnologies com v5style <link href='/v5/editor/webmc.css' rel='stylesheet' type='text/css'> physical /Vignette/5.6/docroot homepath /proto listDir theParms collect 3254 siteid 22 _LastTable proto_clients videopath /proto/sjsmch/video status L _Schema_proto_clients ID SCHEMANAME STATUS VERSIONFLAG HOMEPAGE STYLESHEETPATH STYLESHEETFILENAME LISTSERVEDIR otherpath /proto/sjsmch/ server sjsmch.arqtechnologies.com schema sjsmch cmd collect stylesheetpath /proto/sjsmch/ databasepath /proto/sjsmch/database/ websitestyle <link href='' rel='stylesheet' type='text/css'> templatepath /proto/sjsmch/ titlebar uLLE27GU363i5mXT06zZ versionflag domainArray sjsmch arqtechnologies com stylesheetfilename style.css homepage _TEMPLATE_LOOKUP 1 islogged bodytext <br><br> <table cellpadding="3" border=0 width="100%"><td> <script> function securelist() { fromemail = document.emailer.sendto.value; document.emailer.sendfromemail.value = "noreply_" + fromemail; document.emailer.sendfromemail.disabled = true; } function enablefrom() { document.emailer.sendfromemail.disabled = false; document.emailer.submit.disabled = true; } </script> <form method=POST name='emailer' action=/webmc/emailpage/1,1134,email|3254,00.html> <table border=0 cellpadding=0 cellspacing=0 width=100%> <tr><td height="40" colspan="2" align="center" ><B>EMAIL THIS PAGE</B></td></tr> <tr> <td>Recipient Email :</td> <td><input name="sendto" value="" size="32" maxlength="56"></td> </tr> <tr> <td valign=top>Your Email :</td> <td><input name="sendfromemail" value="" size="32" maxlength="56"> </td> </tr> <tr> <td colspan=2>Message:<br> <textarea cols="45" name="message" rows="5"></textarea></td> </tr> <tr> <td colspan="2" >Incl... _DefaultRow_proto_clients proto_clients {22 sjsmch L {} {} {} {} {}} _includedTemplate pCmdLib
DEFAULT_ROW: Unable to find row in table 'sjsmch.backbone' matching condition: 'pageid = 3254'
while executing
"system_error "$msg""
(procedure "error" line 55)
invoked from within
"error "DEFAULT_ROW: Unable to find $errRec in table '$tbl' matching condition: '$whereClause'""
(procedure "DEFAULT_ROW" line 52)
invoked from within
"DEFAULT_ROW $schema.backbone "templatename" "pageid = [SHOW id]"
"
invoked from within
"IF {$cmd == "collect"} {
[INCLUDE LIBNAME "pCmdLib"]
[NEEDS COOKIE]
[SET islogged [GET_CHIP sessionid COOKIE web_session]]
[SET bodytext {
[..."