Web Hosting, Design, & Coding forum

General discussion

There was a problem executing the CFSearch tag...

by taratiarra / June 11, 2007 12:21 AM PDT

There was a problem executing the CFSearch tag with the following collections.
Collection (status code): com_constitutionproject (-1705)

The error occurred in D:\constitutionproject.org\httpdocs\collection_search_action.cfm: line 2

1 : <cfsilent>
2 : <cfsearch criteria="#form.criteria#" collection="com_constitutionproject" name="codecoll_results">
3 : </cfsilent>
4 : <cfsilent>

After modifying the code for our website search, i got this error. I reposted the old code, but still got the error. I contacted our hosting company and had them restart the cold fusion server, and still get the error. Any ideas as to how to fix? the following is the code for the page. It should work! Also, the site is running, Windows 2003 Small Bus w/Cold Fusion..

<cfsearch criteria="#form.criteria#" collection="com_constitutionproject" name="codecoll_results">
<cfparam name="session.admin_loggedin" default="false">
<cfparam name="categoryID" default="">
<cfoutput> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<title>Constitution Project</title>
<meta name="description" content="The Constitution Project is a bipartisan nonprofit organization that seeks consensus on controversial legal and constitutional issues through scholarship and activism. Our initiatives are war powers, courts, death penalty, liberty and security, constitutional amendments, and sentencing.">
<meta name="keywords" content="Constitution Project, The Constitution Project, Georgetown University, bipartisan, nonprofit, scholarship, activism, initiatives, war powers, courts, death penalty, liberty and security, constitutional amendments, and sentencing">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="/sitesheets.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
<script language="JavaScript" src="/mm_menu.js"></script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<cfinclude template="/ssi/homeheader.cfm">
<td width="100%" class="intcontent">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<td class="contentCell" width="100%">
<!--- content--->
<p class="pageheader">Search Results</p>
Your search returned #codecoll_results.RecordCount# file(s) for #form.criteria#.
<!--- results --->
<cfloop query="codecoll_results">
<cfif title eq "article">
<a href="#URL#/article.cfm?messageID=#key#">#custom1#</a><br>
Score: #score#<br>
Summary: #replace("#Summary#","#chr(10)#","<BR>","ALL")#</p>
<cfelse >
File: <a href="#URL#">#URL#</a><br>
Score: #Score#<br>
Summary: #replace("#Summary#","#chr(10)#","<BR>","ALL")#</p>

</td><td bgcolor="##C0B6A0" width="1"><img src="/images/spacer.gif" width="1" height="8"></td></tr></table></td>
<cfinclude template="/footer_noline.cfm">

Discussion is locked
You are posting a reply to: There was a problem executing the CFSearch tag...
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: There was a problem executing the CFSearch tag...
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Maybe you should post
by PudgyOne / June 11, 2007 1:48 AM PDT

the page in question here


It will give you the error codes and sometimes it will give you a suggestion on how to correct these problems.


Collapse -
Maybe you should post
by taratiarra / June 11, 2007 6:16 AM PDT
In reply to: Maybe you should post

I went to the site and i got the following error:

500 Internal Server Error
If you made recent changes to your domain name (DNS) configuration, you may also want to check that your domain records are correct, or ask your hosting company to do so.

i clicked the link "domain records are correct" http://www.squish.net/dnscheck/, and tested the search page, http://www.constitutionproject.org/collection_search_action.cfm, i chose any for dns record type.

and i got this error, Error: No such domain.

what do i do now?

Collapse -
I downloaded the html kit
by PudgyOne / June 11, 2007 6:46 AM PDT
In reply to: Maybe you should post
Collapse -
HTML Kit doesn't support .cfm files (cold fusion files)
by taratiarra / June 11, 2007 8:02 AM PDT

there shouldn't be errors in the code because it worked only days ago. i changed one thing, and the search page worked. a couple minutes later, i tried again and it didn't (which is why i thought i needed a server reset).

cfm is not included in the file types below in the description for html-kit:
HTML-Kit is a full-featured editor and an integrated development environment designed to help HTML, XHTML, XML and script authors to edit, format, lookup help, validate, preview and publish web pages. Newcomers to web page development can benefit from letting it point out errors and provide suggestions on how to create standards compliant pages. Experts can save time spent on common tasks using the highly customizable and extensible editor while maintaining full control over multiple file types including HTML, XHTML, XML, CSS, XSL, JavaScript, VBScript, ASP, PHP, JSP, Perl, Python, Ruby, Java, VB, C/C++, C#, Delphi / Pascal, Lisp, and SQL.

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?