close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

search wizzard

Thread began 11/12/2012 3:09 pm by randyw2394710 | Last modified 11/14/2012 11:39 am by Jason Byrnes | 1052 views | 3 replies |

randyw2394710

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

Attached Files
chooseGallerytest.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the data assist search code at lines 147 - 189:

php:
<?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) {
    
$_SESSION["WADbSearch1_chooseGallerytest"]=$WADbSearch1->whereClause;
  }
}
else     {
  
$WADbSearch1 = new FilterDef;
  
$WADbSearch1->initializeQueryBuilder("MYSQL","1");
  
//get the filter definition from a session variable
  
if (== 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/

Sign in to reply to this post

randyw2394710

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);

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...