ready2drum Posted August 14, 2009 Share Posted August 14, 2009 The PHP code that I have put together is supposed to allow users on the ability to 'search' for a specific file related to their department, but instead, it's giving an error message after entering an item and clicking on the 'search' button.... Error message reads as follows: Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> CreateRecordset<br/><b>Description:</b> There is no catalog. ' in E:\Inetpub\wwwroot\Intranet_Old\intranet\jha\jha_doc_results.php:66 Stack trace: #0 E:\Inetpub\wwwroot\Intranet_Old\intranet\jha\jha_doc_results.php(66): com->CreateRecordSet('nonsequential') #1 {main} thrown in E:\Inetpub\wwwroot\Intranet_Old\intranet\jha\jha_doc_results.php on line 66 --------- PHP code reads: <?php $Q = new COM("ixsso.Query"); $util = new COM("ixsso.util"); $Q->Catalog = "E:\GROUP\BIWeb\jha"; $Q->Query = $_POST['query']; $Q->Columns = "filename, rank, vpath, path, DocTitle, characterization, All"; $Q->SortBy = "rank[d]"; $Q->MaxRecords = 200; (line 66) $fileRS = $Q->CreateRecordSet("nonsequential"); if(!$fileRS->RecordCount == 0) { $fileRS->MoveFirst(); } while($i < $fileRS->RecordCount){ } ?> ---------- has anyone ever run across this type of error and if so, what am I missing in order to resolve this error? If you need more information, please let me know, as I really want to fix this before the day is over. Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/170286-search-feature-using-php-not-workingneed-help/ Share on other sites More sharing options...
ready2drum Posted August 14, 2009 Author Share Posted August 14, 2009 additional information...using IXSSO query within PHP to display the results of a 'search' function...not sure how to set the 'query property' for line 66 so that this will work. I've seached on Google.com as well for further assistance without success. Link to comment https://forums.phpfreaks.com/topic/170286-search-feature-using-php-not-workingneed-help/#findComment-898298 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.