close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Securityassist Registration page testing on localserver

Thread began 10/06/2011 10:05 pm by santosh_kulkarni430459 | Last modified 10/11/2011 8:06 am by Jason Byrnes | 1676 views | 3 replies |

santosh_kulkarni430459

Securityassist Registration page testing on localserver

Hello

I have purchased Webassist Super suite and downloaded. installed and activated all the extensions including Securityassist.

I am trying to learn from your database elearning tutorial and was able to connect to database, and using Securityassist I am able to create all the php pages. But when I try to test the registration.php page on the local server, I get "Please wait" message in DW Live view and nothing happens, on Safari, I get a blank page. No user record is created in the backend pcm2_user table in the connected database

I am new to web programming and your extensions..please help

Thanks
Santosh

Sign in to reply to this post

Jason ByrnesWebAssist

I dont recommend using Dreamweaver Live View for testing your page, it is better to test in a Web Browser.


If a php page displays blank in the browser, it means that a php error has occurred but error reporting is turned off.

Add the following code at line 1 of the page to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



once we know the error, we can begin troubleshooting.

Sign in to reply to this post

santosh_kulkarni430459

Thanks Jason

After inserting your code I can see the error as follows..Please help.

Thanks
Santosh

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Applications/MAMP/htdocs/Database-Elearning/registration.php:6) in /Applications/MAMP/htdocs/Database-Elearning/webassist/form_validations/wavt_validatedform_php.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Applications/MAMP/htdocs/Database-Elearning/registration.php:6) in /Applications/MAMP/htdocs/Database-Elearning/webassist/form_validations/wavt_validatedform_php.php on line 3

Fatal error: Call to undefined function WAValidateUnique() in /Applications/MAMP/htdocs/Database-Elearning/registration.php on line 19

Sign in to reply to this post

Jason ByrnesWebAssist

see this post for a fix to the Call to undefined function WAValidateUnique() error.
showpost.php?p=106073&postcount=14



the other errors are caused by blank space between php code blocks, see this post for details:
showthread.php?t=19285

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