close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist debugging PHP error from PowerCMS

Thread began 11/26/2009 5:26 pm by andy.schofield283961 | Last modified 11/30/2009 10:06 am by Jason Byrnes | 1202 views | 1 replies |

andy.schofield283961

DataAssist debugging PHP error from PowerCMS

I am trying to add some pages to CMS with DataAssist but am having a large number of PHP errors.

I am new to PHP but if I code by hand it works fine, if I use DataAssist I get errors.

The latest allows details and inserts, but search and update fail.

Update fails with:

undefined function wa_ab_generateinsertparams() in users_Update.php on line 70

line 70 = $updateParamsObj = WA_AB_generateInsertParams($WA_fieldNames, $WA_columns, $WA_fieldValues, -1);

Can anyone help me with the easiest way of debugging these errors. I am not looking for a change this line from X to Y. I am trying to understand how to debug DataAssist to fix the issues as they arise.

Any help is very much welcomed.

Sign in to reply to this post

Jason ByrnesWebAssist

The function "WA_AB_generateInsertParams" is defined in the WA_DataAssist/WA_AppBuilder_PHP.php file.

The error you are getting indicates that the line to include the WA_DataAssist/WA_AppBuilder_PHP.php file is either after line 70 or does not exist on the page.


Look for the following code:
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>


and move it to be before the server behavior code.

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