close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

WA_Auth_RulePasses() Fatal Error

Thread began 8/29/2009 7:55 am by terry370125 | Last modified 8/31/2009 8:52 am by Jason Byrnes | 1388 views | 1 replies |

terry370125

WA_Auth_RulePasses() Fatal Error

I'm using Dreamweaver CS4, eCart 4.5.0, and SecurityAssist 1.1.7.

After selecting the "Submit Order" button on confirm.php in eCart, the following error appears:

Fatal error: Call to undefined function WA_Auth_RulePasses() in E:\webs\lsmontgomery.com\wwwroot\checkout_success.php on line 8

After reviewing another post to find a solution,the "Helper_PHP.php" line of code was added as the first line of the checkout_success.php page. The first few lines of the checkout_success.php page are listed below.


<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
//WA eCart Include
require_once("WA_eCart/eCartLS_PHP.php");
?>
<?php
$eCartLS->GetContent();
?>
<?php
require_once("WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php");
?>

This did not resolve the "Fatal error" message.

Your help would be greatly appreciated!

Terry Montgomery

Sign in to reply to this post

Jason ByrnesWebAssist

The WA_Auth_RulePasses() function is defined at line 144 of the WA_SecurityAssist/Helper_PHP.php


If you have placed the code:
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>


at line 1 of your checkout_success. php page and are still having the same problem, one of two things is wrong:
1) The change you have made to the checkout_success. php page is not being properly uploaded.


2) The WA_SecurityAssist/Helper_PHP.php does not exist in the location that it is being looked for.


Try deleting the copy of the checkout_success. php on the remote server, then re-uploading.

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