search wizzard
im trying to create a search area i get this eror
Fatal error: Call to undefined function setQueryBuilderSource() in /home/content/96/8026696/html/admin_cms/chooseGallerytest.php on line 84
im trying to create a search area i get this eror
Fatal error: Call to undefined function setQueryBuilderSource() in /home/content/96/8026696/html/admin_cms/chooseGallerytest.php on line 84
the data assist search code at lines 147 - 189:
<?php
//WA Database Search Include
require_once("../WADbSearch/HelperPHP.php");
?>
<?php
//WA Database Search (Copyright 2005, WebAssist.com)
//Recordset: created;
//Searchpage: ;
//Form: ;
$WADbSearch1_DefaultWhere = "WHERE 0=0";
if (!session_id()) session_start();
if ((((isset($_POST["searchGallery"]))?$_POST["searchGallery"]:"") != "")) {
$WADbSearch1 = new FilterDef;
$WADbSearch1->initializeQueryBuilder("MYSQL","1");
//keyword array declarations
//comparison list additions
$WADbSearch1->addComparisonFromList("MM_ERROR:An unidentifed error has occurred.","".$row_created['GalleryName'] ."","AND","=",0);
//save the query in a session variable
if (1 == 1) {
$_SESSION["WADbSearch1_chooseGallerytest"]=$WADbSearch1->whereClause;
}
}
else {
$WADbSearch1 = new FilterDef;
$WADbSearch1->initializeQueryBuilder("MYSQL","1");
//get the filter definition from a session variable
if (1 == 1) {
if (isset($_SESSION["WADbSearch1_chooseGallerytest"]) && $_SESSION["WADbSearch1_chooseGallerytest"] != "") {
$WADbSearch1->whereClause = $_SESSION["WADbSearch1_chooseGallerytest"];
}
else {
$WADbSearch1->whereClause = $WADbSearch1_DefaultWhere;
}
}
else {
$WADbSearch1->whereClause = $WADbSearch1_DefaultWhere;
}
}
$WADbSearch1->whereClause = str_replace("\\''", "''", $WADbSearch1->whereClause);
$WADbSearch1whereClause = '';
?>
needs to be moved to line 23.
Why is it that you are using power gallery admin pages for your testing? see the power gallery support page on the FAQ section for details on using the extensions to modify solution pack pages:
powergallery/
ok moved that section now i get this error
Fatal error: Class 'FilterDef' not found in /home/content/96/8026696/html/admin_cms/chooseGallerytest.php on line 44
also while trying to configure the search parameter column section i get this error mm_eeror:Anundifined error has occurred.
$WADbSearch1->addComparisonFromList("MM_ERROR:An unidentifed error has occurred.","".$row_created['GalleryName'] ."","AND","=",0);
these problems are a result of trying to edit the solution pack files.
see the following from my previous reply:
Why is it that you are using power gallery admin pages for your testing? see the power gallery support page on the FAQ section for details on using the extensions to modify solution pack pages:
powergallery/
we dont offer support for making modifications to the solution packs.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.