close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

registration page not working

Thread began 8/30/2016 11:34 am by phill401410 | Last modified 9/11/2016 10:05 pm by Ray Borduin | 1365 views | 18 replies |

phill401410

registration page not working

On diybyphill.com when you click on "Ready to order? Click Here" you go to product_results unless not logged in and then redirect to registration page. That is good. Unfortunately Registration page is not working. Tried adding UserAuthentication > log in user. Thanks Ray.

Sign in to reply to this post

Ray BorduinWebAssist

You are still doing the simple question validation on the page but it appears you have removed that field... try removing line 50.

Also you are redirecting after the insert. Remove the insert redirect. The redirect will take place after the login server behavior below the insert instead.

Sign in to reply to this post

phill401410

Registration page I deleted the $WAFV_Errors for simple question.
Also deleted insert redirect:
$WA_redirectURL = "login.php?success=1";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";

Added Logged in to users rule for login.php:
Allow if
<?php echo $_SESSION['SecurityAssist_UserID']; ?>
<>
blank

Getting various errors when I try to login:
Please enter a value.
Invalid information, please check your entries and try again.
Invalid username or password
Registration completed successfully, please log in to access the site

Registration page is propagating database
Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

You shouldn't be adding restrict access to the login page that redirects them to the results page if they aren't logged in. If they aren't logged in they need to access the login page in order to log in.

Your success redirect on the registration page is set to:
"login.php?success=1";

That is making the login page automatically show the message that the user has successfully logged in even when they haven't.

You shouldn't delete those lines from insert, you should just update the redirect to "" like:
$WA_redirectURL = "";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";

But now it appears you have removed the login server behavior from the registration page, so maybe you should have a redirect after insert to the login page, but it should just be:
$WA_redirectURL = "login.php";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";

Sign in to reply to this post

phill401410

registration and login

Sign in to reply to this post

Ray BorduinWebAssist

I can help you get this done in a premier support ticket.

Sign in to reply to this post

phill401410

Premium ticket

Sign in to reply to this post

phill401410

follow up to Premium Ticket

Sign in to reply to this post

Ray BorduinWebAssist

I'm glad we were able to get it working for you. Just add a link from the success page to the downloads page. You can also add a link in your main navigation directly to that page in case they want to download a previous purchase at a later date.

Sign in to reply to this post

phill401410

Premium Session

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