close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Error message when viewing php form page

Thread began 8/31/2009 11:50 am by donna387432 | Last modified 9/08/2009 1:50 pm by donna387432 | 3524 views | 7 replies

donna387432

Error message when viewing php form page

I just purchased Form Builder and have put together a very simple secure log in form and inserted it into my page. I am using DW CS4 as my editor and i know that my server supports PHP (although I do not know how to use PHP).

Form Builder markets itself that the user doesn't need to be a programmer, and makes forms very simple. However, we have found that it does not include any explanation on what type of PHP docs you need on your server in addition to the form itself in order for it to work successfully. So I have just done the one thing it does suggest which is to submit my form to itself. It sounds like the file (or page) that holds the form should be a PHP doc, instead of "html" extension - is this correct?

When I started out, my page was saved as an html file, and i could view the form in the page when uploaded to server. Now I've changed the file to a PHP doc (for reasons above) and cannot view it in a browser - I get the following error message:

(Browser Message)
-----
"Fatal error: Call to undefined function: virtual() in /home/content/y/d/o/ydojnojmmm/html/investlogin.php on line 1"
-----

The code on line 1 was put in automatically by Form Builder. For reference, the first few lines of code (in DW) are as follows:
-----
1 <?php virtual("/WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
2 <?php virtual("/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
3 null
4 null
5 null
6 null
7 undefined
8 undefined
9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
10 <html xmlns="http://www.w3.org/1999/xhtml">
-----

Hopefully I've been detailed enough to start out here.
I would really appreciate anyone's help!
thanks,
Anna

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