close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Check for Email Confirm bug is back

Thread began 2/17/2010 1:35 pm by mikeljones390303 | Last modified 2/22/2010 10:16 am by mikeljones390303 | 2741 views | 8 replies

mikeljones390303

Check for Email Confirm bug is back

The bug is back and i have some debug code in place to show you what is happening.

Sorry for starting a new thread but I was not sure you would still check the old one after I told you the bug was gone.

NOTE: All pages are the default pages that came in the zip file except I added some debug code to the bottom.


Question:

Where is the (check / code) for WA_Auth_RulePasses("Email Confirmed")?
I did a site wide search and could not find the code.

Also any other input you can give me on this bug would be appreciated.



Repro:

Go to protected_Page.php
After you are redirected to the login page, register as a new user.
Do NOT reply to the confirmation email.
click the login link on the thank you page you are redirected to after you register.
Log in to the site and you will be redirected to the profile page.



Bug:

At the bottom of the profile page you should see the following:

===============
Raw UserEmailVerified database table entry for this user: 0

Test of show region: WA_Auth_RulePasses("Email Confirmed"): [PASSED]

Congratulations, you can access the protected page.
===============

If you click on the protected page link you will see the following: Logged in: youremail@domain.com (email verified).




Expected Results:

You should see [FAILED] after the email confirmed check.
The congratulation message should not show.
The verify button should show.




NOTE: I added the following test code to the default profile page below the update button

* Test Code *
===============
<p>Raw UserEmailVerified database table entry for this user:&nbsp;<?php echo $row_WAATKusers['UserEmailVerified'];?></p>

<p>Test of show region: WA_Auth_RulePasses("Email Confirmed"):&nbsp;

<?php if(WA_Auth_RulePasses("Email Confirmed")){ // Begin Show Region ?>
[PASSED]
<?php } // End Show Region ?>

<?php if(!WA_Auth_RulePasses("Email Confirmed")){ // Begin Show Region ?>
[FAILED]
<?php } // End Show Region ?>

</p>
============================

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