close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

error message

Thread began 11/26/2010 3:53 pm by i.edwards384429 | Last modified 11/29/2010 11:07 am by i.edwards384429 | 1046 views | 4 replies

i.edwards384429

error message

Hi

used the dataassist module to create the search sequence in the file boats_search.php using the search, results and details pages



I then created a sub directory ie htdocs\admin\ and re ran the da module to create an admin backend which included the delete, insert and update pages because the search criteria are different for the admin


The search, results and details pages work perfectly but when I go into the admin section and run the boats_search file I get the error below.


//save the query in a session variable if (1 == 1) { $_SESSION["WADbSearch1_admin_Results"]=$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_admin_Results"]) && $_SESSION["WADbSearch1_admin_Results"] != "") { $WADbSearch1->whereClause = $_SESSION["WADbSearch1_admin_Results"]; } else { $WADbSearch1->whereClause = $WADbSearch1_DefaultWhere; } } else { $WADbSearch1->whereClause = $WADbSearch1_DefaultWhere; } } $WADbSearch1->whereClause = str_replace("\\''", "''", $WADbSearch1->whereClause); $WADbSearch1whereClause = ''; ?>


I've run a file compare and the two files seem only to have the differences I would expect.

Can you please take a look and let me know where I've gone wrong?

thanks

Ian

Attached Files
admin.zip

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