close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Issues with CSS Form Builder

Thread began 12/27/2011 4:56 pm by derek385489 | Last modified 12/29/2011 8:31 am by Jason Byrnes | 2123 views | 5 replies |

derek385489

Issues with CSS Form Builder

I have version 2.00 installed. In fact, i recently re installed and reactivated to start over. I've created a .php page and attempted to insert a simple contact form.

initially, the form inserted and has large bold red font with the form titles and when i uploaded this page, i received this error message:

Parse error: syntax error, unexpected ')' in /home/golfina1/public_html/contact.php on line 157

The page is contact.php

Also, when i attempt to re insert the form into a new page, before form builder starts i get the following message:

"while executing onload in wafb_addform.htm, teh following javascript error occurred:

in file wafb_addform initialize ui is not defined.

As a follow up, i deleted the cache again, and it now lets me create pages and i'm now getting this error message:

"Fatal error: Call to undefined function virtual() in /home/golfina1/public_html/contact.php on line 1"


Would prefer an opportunity to discuss via telephone support.

Sign in to reply to this post

Jason ByrnesWebAssist

On the CSS Form Builder Download center page, there is a link for the 2.0.1 support release 2 version, uninstall the 2.0.0 version from the extension manager, and install the 2.0.1 version in stead.

for the "Fatal error: Call to undefined function virtual() in /home/golfina1/public_html/contact.php on line 1" error:

in the Dreamweaveer Site definition, there is an option on the local info tab for:
"Create Links relative to"

If you set this to "Site"

Dreamweaver will use the virtual function for includes, however, the virtual function is not supported in all PHP environments.


Change that setting to "Document" and Dreamweaver will use the require_once function instead, this is supported in all php environments.

Sign in to reply to this post

derek385489

Error messages after successful submission

I've completed these steps and have gotten contact.php to successfully submit forms.

Not however when the screen refreshes after submitting i get these error messages on teh top of the page:

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/golfina1/public_html/contact.php on line 28

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/golfina1/public_html/contact.php:28) in /home/golfina1/public_html/contact.php on line 76

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/golfina1/public_html/contact.php:28) in /home/golfina1/public_html/contact.php on line 76

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/golfina1/public_html/contact.php:28) in /home/golfina1/public_html/webassist/email/mail_php.php on line 274

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/golfina1/public_html/contact.php:28) in /home/golfina1/public_html/webassist/email/mail_php.php on line 274

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/golfina1/public_html/contact.php:28) in /home/golfina1/public_html/contact.php on line 106

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/golfina1/public_html/contact.php:28) in /home/golfina1/public_html/contact.php on line 106

Please advise. Also, is there a way to configure a successful form submission page and have the user redirected here?

Sign in to reply to this post

Jason ByrnesWebAssist

This means that the php server is configured with safe mode turned on in the php.ini file.

The Universal Email portion of CSS From builder that sends the email will not work on php servers where safe mode is enabled. With safe mode enabled, some php functions like set_time_limit() get disabled. Safe mode will need to be turned of in the php.ini file for the server.



to redirect to another page, go to the server behaviors panel (Window -> Server Behaviors). In the server behaviors lit, double click the universal email behavior to edit it, set the Go To page option to point to the page you would like to display after the email is sent.

Sign in to reply to this post

derek385489

Reply - More information requested

Hi,

In your response you mention turning off safe mode in teh php.ini file. This does not make sense to me. Would it be possible to please expand on this with instructions on how this is done and whether it's something done in dreamweaver or at the server/host level?

Previously this program worked perfectly fine with our hosting account and i do not believe anything has changed, and i am unable to locate a php.ini file.

Thank you again.

Sign in to reply to this post

Jason ByrnesWebAssist

The php.ini file is a settings file located on the server. it is used to configure various settings for the PHP processor. you should contact the host to ask about turning safe mode off.

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