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 | 2764 views | 8 replies

mikeljones390303

Found your bug!

I found your bug: SOMETHING IS OVERWRITING THE FUNCTION WA_Auth_RuleObject_EvaluateRules.

Note, I have installed ALL of the WebAssist Extensions one at a time over the last month since I signed up for the WebAssist Extension Library program.

The function WA_Auth_RuleObject_EvaluateRules was somehow overwritten by another version of the same function and other functions in the file may have also changed!

I don't know when it happens but somehow this function is being overwritten in the SecurityAssist code on the site. This would definitly cause the symptoms I have experienced and seems to be the reason the check is failing now and didn't after I originally installed.

*** I believe one of the WebAssist extensions I have installed is overwriting the file ***


****************************************
Original version that shipped in the zip file.

File: Helper_PHP.php
Function: WA_Auth_RuleObject_EvaluateRules
Line 193

if((!$comparison[0] && $compareSucceeds)|| ($comparison[0] && !$compareSucceeds))
{
$rulePasses = FALSE;
break;
}
else if ($compareSucceeds)
{
$rulePasses = TRUE;
break;
}
**************************************************


**************************************************
The function in the version I now have on the site reads as follows:

File: Helper_PHP.php
Function: WA_Auth_RuleObject_EvaluateRules
Line 192

if(!$comparison[0] && $compareSucceeds)
{
$rulePasses = FALSE;
break;
}
else if ($comparison[0] && $compareSucceeds)
{
$rulePasses = TRUE;
break;
}
else if(!$comparison[0] && !$compareSucceeds)
{
$rulePasses = TRUE;
}
else if($comparison[0] && !$compareSucceeds)
{
$rulePasses = FALSE;
}
****************************************************

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