close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Recurring error

Thread began 4/10/2012 8:03 am by gb261593 | Last modified 4/10/2012 11:02 am by gb261593 | 1684 views | 6 replies |

gb261593

Recurring error

I am using data search to produce a search form to extract data. I have been trying for some time to get it to work and each time get the same error so I have also tried with just a single search item and it fails in the same way. The error I get on the results page is
Call to undefined function setQueryBuilderSource() in /Applications/MAMP/htdocs/communitylinks/probono/admin/Search_Results.php on line 51

Line 51 is setQueryBuilderSource($query_rsList,$WADbSearch1,false);

I have used this before and it has worked fine. What am I doing wrong now.

I can supply as many more details as are needed.

Many thanks

Sign in to reply to this post

Jason ByrnesWebAssist

most like the require once line to include the data assist search helper file is not in the correct order.


send a copy of your page in a zip archive so I can examine the code to advise on how to fix this issue.

Sign in to reply to this post

gb261593

Thanks

Thanks for such a quick reply. Zip file attached

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

Jason ByrnesWebAssist

move the following code from line 56 - 59:

php:
<?php

//WA Database Search Include
require_once("../../WADbSearch/HelperPHP.php");
?>




to line 1

Sign in to reply to this post

gb261593

I've tried that and I now get the results page without any filter applied and 3 error lines:

Notice: Undefined variable: WADbSearch1 in /Applications/MAMP/htdocs/communitylinks/probono/admin/Search_Results.php on line 56

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/communitylinks/WADbSearch/HelperPHP.php on line 381

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/communitylinks/WADbSearch/HelperPHP.php on line 395

Line 56 is setQueryBuilderSource($query_rsList,$WADbSearch1,false);

381 is if ($QB->ObjectType == "WC") {

395 is else if ($QB->ObjectType == "OB") {

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

gb261593

I have found out what the problem and can fix it manually but I've no idea why the extension does it.

I have to move lines 56 -98 (in my Search_Results file) to the top of the page just after the connections line. It then worked fine.

Thanks for your help - a fix would be good!

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...