close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Registration page failure

Thread began 6/28/2010 9:55 pm by mrs | Last modified 6/29/2010 10:53 am by Jason Byrnes | 926 views | 4 replies |

mrs

Registration page failure

Hi, I have created pages via security assists wizard, and most of the pages that have resulted are fine, and I have even added my template to them once created to bring them into style and most of it still works fine apart from the registration page.

My template has a log in area on all pages that then hides once a user is signed in, and there is some sort of conflict going on after I apply my template to the registration page because the page fails to load anything to the database and it bungs me off to my password reminder page

I have attached the page in a zip file for you can see.

I can't see the wood for the trees now, but I think it's either something to do with the ordering of the PHP code above the header, or my forms are clashing

Any advice will be welcomed

Attached Files
tbl_users_Registration1.php.zip
Sign in to reply to this post

mrs

Just to add to what I have been doing to try and get the registration page to work, I have changed the security assist authenticate user from any button pressed to 'log in' button pressed as this relates to the log in panel on every page.

I am now getting this error:


Warning: Cannot modify header information - headers already sent by (output started at /Users/uname/Sites/sitename/tbl_users_Registration1.php:26) in /Users/uname/Sites/sitename/tbl_users_Registration1.php on line 118

Line 118 is:


header(sprintf("Location: %s", $insertGoTo));

Just thought this might help in a diagnosis

Is it possible that I am unable to have two forms on the same page where there is the registration form?

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

the error is being caused by the blank line at line 23:

22- ?>
23-
24- <?php

delete the blank space between the two php tags.


whwen you have more than one form on a page, you need to make sure that that the triggers used for the behaviors are set to use the specific submit buttons for each form.

Sign in to reply to this post

mrs

WOW! That worked!

Why is that then? I have often used blank lines between php tags to visually give me guidance of the end of one function and the start of another!

If you look down the page, there are more blank lines, and yet they don't seem to be causing an issue. Why is that? These blank lines have been created by WA extensions, I haven't touched any of the code further down the page.

I would've never got that, so thanks for spotting that Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

see this page for details:
148/

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