close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fatal error: Call to undefined function WAValidateRQ()

Thread began 8/25/2016 7:17 am by Kumel | Last modified 8/29/2016 1:53 pm by Ray Borduin | 2574 views | 16 replies |

Kumel

Fatal error: Call to undefined function WAValidateRQ()

i have a login page & after sign in there seem to be an error.
login form is in booking.php page & error appear on same page after login.

file attached.

Sign in to reply to this post

Ray BorduinWebAssist

The include file for server validation seems to be missing on the page. If you open and click 'ok' in one of the SecurityAssist Show Region server behaviors it should automatically add it, or you could add it manually to the top of the page like:

<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>

Sign in to reply to this post
Did this help? Tips are appreciated...

Kumel

thanks its fixed on the same form i added a hidden textfield ie:

<input type="hidden" name="QID" value="<?php echo $row_BookingDetails['QueryID'] ?>">

I wanted this hidden value to be taken to next page for displaying data linked in that hidden field.
But it doesn't seem to work.

This must be cause form action is :

<form class="" id="LogIn_Basic_Default" name="LogIn_Basic_Default" method="post" action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>">


So in this case what to i do?

Other redirect i have are:

"successRedirect" => 'confirm.php',

Sign in to reply to this post

Ray BorduinWebAssist

"successRedirect" => "confirm.php?QID=" .($_POST['QID']) ."";

Sign in to reply to this post
Did this help? Tips are appreciated...

Kumel

nope i can't use QueryID in link. It has to be taken from hidden field so.

Sign in to reply to this post

Ray BorduinWebAssist

You mean it has to be posted directly from the form? In that case you may want to store it as a session variable and then refer to it on the next page that way.

Otherwise you could post the form directly to the confirm page, but then you would have to move any server code that responds to the form submit such as the email to the confirm page as well.

Sign in to reply to this post
Did this help? Tips are appreciated...

Kumel

well in that case, currently login is can we make user stay in same page after login?

current url is using QueryID ie : booking.php?QueryID=48

So would wanna redirect to same page again after login.

Sign in to reply to this post

Ray BorduinWebAssist

You can remove the redirect from the login so that it would stay on the same page.

Sign in to reply to this post
Did this help? Tips are appreciated...

Kumel

it is staying in same page but query is lost.

example: while login link was http://localhost/**/booking.php?QueryID=50

but then after login it becomes http://localhost/**/booking.php

theni tried this "successRedirect" => 'booking.php?QueryID='.$row_BookingDetails['QueryID'].'',
redirects to : http://localhost/vaahan/booking.php?QueryID=


i tried this "successRedirect" => 'booking.php?QueryID='.$_GET['QueryID'].'',
redirects to: redirects to : http://localhost/vaahan/booking.php?QueryID=

Sign in to reply to this post

Ray BorduinWebAssist

Remove the form action and it should keep the same url with no redirect.

Sign in to reply to this post
Did this help? Tips are appreciated...
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...