close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist "Please enter a value" error

Thread begun 2/04/2023 7:09 am by yogastudents362523 | Last modified 2/05/2023 12:35 pm by Ray Borduin | 696 views | 14 replies |

yogastudents362523

Security Assist "Please enter a value" error

Hello,

I have just used SecurityAssist to make its family of pages.
The login page keeps giving me the above error, and I am not sure why.
"Please enter a value".

The entries in the database being checked against were manually pre-entered, in case that makes a difference.

And in case it helps, here is the code generated in what I think is the appropriate part:

I will p;ut the URL to the relevant page in the private area.

Thank you.

<?php
if ((isset($_POST["LogIn_submit"]) || isset($_POST["LogIn_submit_x"]))) {
$WAFV_Redirect = "".($_SERVER["REQUEST_URI"]) ."?invalid=true";
$_SESSION['WAVT_participantslogin_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateRQ((isset($_POST["Log_In_group_UserName"])?$_POST["Log_In_group_UserName"]:"") . "",true,1);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Log_In_group_2_Password"])?$_POST["Log_In_group_2_Password"]:"") . "",true,2);
$WAFV_Errors .= WAValidateEL((isset($_POST["Log_In_group_2_Password"])?$_POST["Log_In_group_2_Password"]:"") . "",6,500,true,3);

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"participantslogin");
}
}
?>

Sign in to reply to this post

Ray BorduinWebAssist

Where is the error on the page. Is this for the username or password? Does it happen before or after you click the submit button? Please attach the full page so I can take a look.

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

yogastudents362523

Hello,

I am not certain where the error on the page is.
It was created by Security Assist.

The warning message appears before I have hit the submit button.

I attach the page, Thank you

Attached Files
participants_login.php
Sign in to reply to this post

Ray BorduinWebAssist

Between lines 5 and 6 add:

php:
<?php

@session_start();
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

yogastudents362523

Thank you,
KAB

Sign in to reply to this post

yogastudents362523

Hi

Spoke a bit too soon.
Now the page that it should direct me to is refusing to accept the signed-in status.
I am redirected away.

I have attached it.
Thank you.
KAB

Attached Files
cart_sessions_iyengar_daily_Mon.php
Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of the file: /webassist/security_assist/helper_groups_rules.php

I can look and see if the access rule is set up properly.

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

yogastudents362523

Thank you
Attached
K

Attached Files
helpergroupsrulesphp.php
Sign in to reply to this post

Ray BorduinWebAssist

It all looks right... we may need to do a screen share to debug. I'm sure I can figure it out quickly if I have access to the code. Are you sure you uploaded this file?

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

yogastudents362523

Just to be sure, I reuploaded it.
Checked the contents online and it is good.

But now ... ... ... the login file has taken to saying "Please enter a value" again!!

Sorry!
KAB

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