close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My contact page is displaying without any content after inserting a simple form

Thread began 7/25/2014 2:58 pm by vered435903 | Last modified 7/28/2014 8:44 am by Jason Byrnes | 1466 views | 5 replies |

vered435903

My contact page is displaying without any content after inserting a simple form

Hello~

I added a simple contact form to my page and now it's displaying without any content. It looks like some of the web assist paths aren't pointing to the correct folder, but I wanted to check with you before I start editing the code that was automatically generated.

Here's the link: http://www.prodew.com/prodew_2013/info/contact.php

Thanks!

Sign in to reply to this post

CraigRBeta Tester

When a page displays blank, it means a php error has occurred, add the following to line 1 of the form page to turn on error reporting to help troubleshooting:

php:
<?php


error_reporting
(E_ALL);

ini_set('display_errors','on');

?>
Sign in to reply to this post

vered435903

This is the line it's having trouble with....

<?php virtual("/webassist/form_validations/wavt_scripts_php.php"); ?>

I've added forms to lots of sites without problem, and this is the first time I've seen webassist generate these lines. There are two virtual lines that it generated:

<?php virtual("/webassist/form_validations/wavt_scripts_php.php"); ?>
<?php virtual("/webassist/form_validations/wavt_validatedform_php.php"); ?>

Why did it do that? And when I change the code to point to the local folder, the page still doesn't display.
This is the first time that I've added a form to a site that is check-out-able on Dreamweaver. Even though I have the server set to 'local' rather than 'remote,' it's still generating the lines as 'virtual.'

Thanks for your help!

Sign in to reply to this post

CraigRBeta Tester

I can't account for why the wizard assigns php virtual to your page, perhaps its a new thing - maybe Jason can help with that.

However, you can try the following, replacing the lines as follows...

<?php virtual("/webassist/form_validations/wavt_scripts_php.php"); ?>
<?php virtual("/webassist/form_validations/wavt_validatedform_php.php"); ?>

with

<?php require_once("../webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("../webassist/form_validations/wavt_validatedform_php.php"); ?>

(note you may need to change the path slightly in your particular instance)

Sign in to reply to this post

vered435903

Yeah... I did that without success. I realized that my extensions here on my home computer were older versions, so I've deleted the contact form, downloaded the updated extensions, and I'm installing them now. Then I plan to disconnect Dreamweaver from the server, add the contact form again, and then re-upload all the files to the server. I'll let you know how that works....

Thanks again for your help~


Update: That worked. At least the page is displaying.... I need to test the form, but I'm hopeful...

I noticed that there's a '_notes' folder that was generated in both the root folder and the content folder where the 'contact' page is located. These folders weren't there before updating the webassist extensions.... they're empty, but I'm wondering why there're there.

Thanks! Have a good morning~

Sign in to reply to this post

Jason ByrnesWebAssist

  I can't account for why the wizard assigns php virtual to your page, perhaps its a new thing - maybe Jason can help with that.  



That's a Dreamweaver site setting.

When setting up the site, there is an option to Create Links relative to:
Site / Document

If you use Site, Dreamweaver uses the virtual() function for including files, if you select document it uses the require_once() function.


  I noticed that there's a '_notes' folder that was generated  



Also Dreamweaver. The _notes folder is created by Dreamweaver. it does not have anything to do with the webassist extensions.

In the Site settings, there is a section for Design Notes, if you save design notes, they are stored to the notes folder.

Go to File -> Design Notes to enter notes for a page.

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