close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Redirect not working after registration

Thread began 8/01/2011 3:34 pm by ryanrust414532 | Last modified 8/03/2011 11:04 am by Jason Byrnes | 3977 views | 19 replies |

ryanrust414532

Redirect not working after registration

I have created the attached registration it is using many of the dreamweaver extensions. I have tried to set the redirect via a server redirect, via the email, and via the insert record behaviors. No matter what I do it redirects to a page can not be displayed webpage. When I look at the page name in the www string it says it is redirecting to the registration page and can not show the page.

Thought I should mention that the registration works and the confirmation email gets sent. The files upload and the entries post to the sql.

Attached Files
pvregistration_Registration.zip
Sign in to reply to this post

Jason ByrnesWebAssist

most likely, a php error is occurring but error reporting is turned off.

add the following code at line 1 to turn on error reporting:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

ryanrust414532

error messages

These are the messages at the top page when I open the page before I run thorugh the registration:


Notice: Use of undefined constant php - assumed 'php' in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 159

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 226

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 226

Sign in to reply to this post

ryanrust414532

errors after I run through registration

Notice: Use of undefined constant php - assumed 'php' in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 159

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/file_manipulation/helperphp.php on line 70

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/file_manipulation/helperphp.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 221

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 277

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 277

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/email/mail_php.php on line 285

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/email/mail_php.php on line 285

Warning: main(library.php) [function.main]: failed to open stream: No such file or directory in /home/content/b/r/i/bristolmgmt/html/webassist/database_management/wa_appbuilder_php.php on line 9

Fatal error: main() [function.require]: Failed opening required 'library.php' (include_path='.:/usr/local/lib/php') in /home/content/b/r/i/bristolmgmt/html/webassist/database_management/wa_appbuilder_php.php on line 9

Sign in to reply to this post

ryanrust414532

Registration

It appears that the form has also stopped checking to see if the record already exists. Becaus it will let me register more than once:)

Sign in to reply to this post

Jason ByrnesWebAssist

change the code at lines 158 - 160:

php:
?>

<?php?>
<?php



to:

php:
?>

<?php
Sign in to reply to this post

ryanrust414532

changed 158-160

Changed lines 158 to 160. Now I have this on page open:


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 225

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 225

Sign in to reply to this post

Jason ByrnesWebAssist

see this post for detials on troubleshooting the headers already sent error:
showthread.php?t=19285

Sign in to reply to this post

ryanrust414532

Okay that eliminated some of them but not all

There is only on thepage now and I can not find anything else to fix that was indicated in your link. They all refer to line 5 of registration.php and there is nothing that I can see wrong with line 5.

Here is the one error:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 225


Here are the rrors from after registration:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/file_manipulation/helperphp.php on line 70

Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 220

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 276

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php on line 276

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/email/mail_php.php on line 285

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/i/bristolmgmt/html/vendorpage/pvregistration_Registration.php:5) in /home/content/b/r/i/bristolmgmt/html/webassist/email/mail_php.php on line 285

Warning: main(library.php) [function.main]: failed to open stream: No such file or directory in /home/content/b/r/i/bristolmgmt/html/webassist/database_management/wa_appbuilder_php.php on line 9

Fatal error: main() [function.require]: Failed opening required 'library.php' (include_path='.:/usr/local/lib/php') in /home/content/b/r/i/bristolmgmt/html/webassist/database_management/wa_appbuilder_php.php on line 9

Attached Files
pvregistration_Registration.zip
Sign in to reply to this post

ryanrust414532

lets users register more than once:)

It is not checking the email/username field to make sure that it is not used? I can register more than once:)

Sign in to reply to this post
loading

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