DMXzone Security Provider PHP Support Product Page
Under investigation
form not working
Reported 27 May 2016 00:21:43
2
have this problem
27 May 2016 00:21:43 Tony Barnhill posted:
I can't get this extension to work correctly. I'm adding the Security Provider Executor behavior and choosing Custom Login form. I select my form and fields, and push ok, but the only thing that happens is a javascript is added to my page. Nothing is added to my form tag, and therefore the form doesn't work. It doesn't do anything, at all. Please Help. Replies
Replied 01 Jun 2016 06:54:56
01 Jun 2016 06:54:56 Teodor Kuduschiev replied:
Hello Tony,
Unfortunately your explanation does not tell us everything. What exactly do you mean by: "Nothing is added to my form tag"? What do you expect to be added there?
Did you check our tutorial how to setup the login/out/restrict actions on your page?
Unfortunately your explanation does not tell us everything. What exactly do you mean by: "Nothing is added to my form tag"? What do you expect to be added there?
Did you check our tutorial how to setup the login/out/restrict actions on your page?
Replied 01 Jun 2016 13:08:58
01 Jun 2016 13:08:58 Tony Barnhill replied:
Yeah, so my form looks like this, and does nothing when I click submit. I was expecting that when I applied the enforcer with custom form that the extension would add whatever was needed to make this form work. When I used to use the old MM authentication, this is what would happen. It would create an action for the form. This form doesn't do anything, at all.
<form id="form1" name="form1" method="post">
<p>
<label for="textfield">Text Field:</label>
<input type="text" name="textfield" id="textfield">
</p>
<p>
<label for="password">Password:</label>
<input type="password" name="password" id="password">
</p>
<p>
<input name="submit" type="submit" id="submit" value="Submit">
</p>
</form>
<form id="form1" name="form1" method="post">
<p>
<label for="textfield">Text Field:</label>
<input type="text" name="textfield" id="textfield">
</p>
<p>
<label for="password">Password:</label>
<input type="password" name="password" id="password">
</p>
<p>
<input name="submit" type="submit" id="submit" value="Submit">
</p>
</form>
Replied 01 Jun 2016 13:15:14
01 Jun 2016 13:15:14 Teodor Kuduschiev replied:
Have you created a server action file for log in / out ? Have you created login executor which runs on form submit?
Replied 01 Jun 2016 13:23:52
01 Jun 2016 13:23:52 Tony Barnhill replied:
I have tried many different ways with the login/out. I did not create a login executor on submit. How would I know to do that? I watched many videos and looked at the "manual" but never mentions creating a login executor on submit. How do I do that?
Replied 01 Jun 2016 13:26:13
01 Jun 2016 13:26:13 Teodor Kuduschiev replied:
Are you using database users or static entered ones?
Replied 01 Jun 2016 13:28:01
01 Jun 2016 13:28:01 Tony Barnhill replied:
I need to be using database users. But I have tried making it work with single users also, with no luck.
Replied 01 Jun 2016 13:34:17
01 Jun 2016 13:34:17 Teodor Kuduschiev replied:
then you somehow missed this tutorial: www.dmxzone.com/go/32338/filtering-a-database-query-using-the-identity-of-the-logged-in-user
Check it please, even if you do not need to filter a query.
Check it please, even if you do not need to filter a query.
Replied 01 Jun 2016 15:40:43
01 Jun 2016 15:40:43 Tony Barnhill replied:
I missed it because it's called "Filtering a Database Query Using the Identity of the Logged In User" and that's not what I was trying to do. You should rename the video.
What if I want to use just a single login with no database?
What if I want to use just a single login with no database?
Replied 02 Jun 2016 06:06:15
02 Jun 2016 06:06:15 Teodor Kuduschiev replied:
Did the video i sent help you to build your login form?
Replied 24 May 2017 17:59:47
24 May 2017 17:59:47 Oliver Fleener replied:
www.dmxzone.com/go/32338/filtering-a-database-query-using-the-identity-of-the-logged-in-user
I have watched this video no less than 20 times, read the step by step and I still cant get it to work at all. I even changed the behaviors to show a pop up message on success and on fail... NOTHING WORKS. When I took out the secret key on Security Provider Properties - went directly to the action file and made it blank... I could at least get an on error to finally pop up. I just purchased the year subscription and have wasted 3 weeks trying to get these to work. Any help would be great.
I have watched this video no less than 20 times, read the step by step and I still cant get it to work at all. I even changed the behaviors to show a pop up message on success and on fail... NOTHING WORKS. When I took out the secret key on Security Provider Properties - went directly to the action file and made it blank... I could at least get an on error to finally pop up. I just purchased the year subscription and have wasted 3 weeks trying to get these to work. Any help would be great.
Replied 25 May 2017 10:04:14
25 May 2017 10:04:14 Teodor Kuduschiev replied:
Hi Oliver,
It would be good if you send us a link, where we can check your page.
It would be good if you send us a link, where we can check your page.
Replied 26 May 2017 15:22:42
26 May 2017 15:22:42 Raymond Wiggins replied:
Replied 26 May 2017 20:08:10
26 May 2017 20:08:10 Tom Dupre replied:
You didn't save the server action file after making additional changes, but I daresay you did when you tried before.
I expect the problem is that you didn't click the 'link to file' button - this appears in Server Connect, when Security Provider: (yourProvider) is selected. This creates a new file which is required - I don't know why this step appears to be optional.
I expect the problem is that you didn't click the 'link to file' button - this appears in Server Connect, when Security Provider: (yourProvider) is selected. This creates a new file which is required - I don't know why this step appears to be optional.
Replied 27 May 2017 09:06:20
27 May 2017 09:06:20 Teodor Kuduschiev replied:
Hi Raymond,
The issue there is that you should not define a security provider executor. Everything is done now through server connect.
Please check this video: www.dmxzone.com/go/32338/filtering-a-database-query-using-the-identity-of-the-logged-in-user/ as it describes how to setup the login.
The issue there is that you should not define a security provider executor. Everything is done now through server connect.
Please check this video: www.dmxzone.com/go/32338/filtering-a-database-query-using-the-identity-of-the-logged-in-user/ as it describes how to setup the login.