X-code.com Forum Index Welcome to X-code Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VDaemon Error: Page is accessed using POST method, but valid

 
Post new topic   Reply to topic    X-code.com Forum Index -> VDaemon security
View previous topic :: View next topic  
Author Message
justin



Joined: 05 Aug 2005
Posts: 2

PostPosted: Fri Aug 05, 2005 12:31 pm    Post subject: VDaemon Error: Page is accessed using POST method, but valid Reply with quote

I keep getting this error. I use a form to get to another form where vdaemon does its magic, but to get to the second page, i use POST and so i get this:

VDaemon Error: Page is accessed using POST method, but validators information isn't defined.

How do I get around it or how do i define it?

thanks.

justin
Back to top
View user's profile Send private message
Ale
Site Admin


Joined: 26 Jul 2005
Posts: 359
Location: Minsk, Belarus

PostPosted: Fri Aug 05, 2005 1:14 pm    Post subject: Reply with quote

Firstly read this topic. Now you must have intention about this error.

If you get this error when submit some VDaemon form then something wrong with your form. May be you forgot to add runat="vdaemon" attribute to the <form> tag or you forgot to add VDEnd() call to the end of your page (for v 2.4.0 or later). Check that your form parsed by VDaemon. To do this open browser's page source (in IE use menu View -> Source) and find "VDaemonValidators" hidden input. If it present then form OK, if not - something wrong. You will not get this error after submitting properly designed VDaemon forms.

But if you do not concern security then feel free to set VDAEMON_POST_SECURITY option to false in the config.php file:
Code:
define('VDAEMON_POST_SECURITY', false);

It will fix the problem.
_________________
Alexander Orlov,
Developer of VDaemon


Last edited by Ale on Mon May 14, 2007 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
justin



Joined: 05 Aug 2005
Posts: 2

PostPosted: Tue Aug 09, 2005 5:53 pm    Post subject: Reply with quote

well, i was using a vdaemon form on a thank you page after people pay via paypal. since paypal uses postback variables in the thankyou page, vdaemon is assuming variables are being passed from another form.
Back to top
View user's profile Send private message
david78737



Joined: 24 Sep 2009
Posts: 1
Location: Austin

PostPosted: Wed Oct 07, 2009 8:01 am    Post subject: ERROR: Page is ...validators information isn't defined. Reply with quote

ERROR: Page is accessed using POST method, but validators information isn't defined.

I am struggling with this error. The FORM has the required code (method="post" enctype="multipart/form-data" id="form2" name="form2" runat="vdaemon"...) and both the form and processing pages have the include file [include("../../vdaemon/vdaemon.php");]
and the [<?php VDEnd(); ?>] code.

Orlov notes at http://forum.x-code.com/viewtopic.php?t=16 regarding this error:

"There is one uncertain situation: page accessed using POST method but "VDaemonValidators" is not defined...."

I have some form inputs that are user optional and others that are required. My question: do ALL <input> tags within the <FORM> need to have vdaemon validators to avoid the error above? (see note #below) Or is something else going on? I do not want to do the following: "define('VDAEMON_POST_SECURITY', false);" (as suggested in the link referenced above). I can imagine a number of workarounds if all input tags need validators but it would be good if the cause of the error was better understood and documented. Thanks.

# "All VDaemon's forms have "VDaemonValidators" variable. So, it was submitted non-VDaemon form or something wrong with your VDaemon form or this is "person with malicious intentions" tries to avoid validation by deleting "VDaemonValidators" variable. How VDaemon will behave in this situation depends on VDAEMON_POST_SECURITY configuration option (you can set it in the config.php file as usual)."
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    X-code.com Forum Index -> VDaemon security All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group