Simple Login page - submit button does nothing

I have created a login page from the instructions on-line. Believe me I’ve tried and tried… I can not get any response from the submit button. I’ve deleted the file and recreated it numerous times. When I click on the button nothing happens. I’ve deleted and recreated the security options numerous times. I’ve created the database connection (tests fine) the security provider type database, and security login. FTP to the server works.
I feel so STUPID, the problem should be obvious but I can not see it. Can anyone help? Tell me what information you need me to send and I’ll gladly send it.
Ed (at least I think that is my name)

First thing to check is to see if your button is actually a submit button, easily overlooked. Go to your button properties and make sure type is “Submit”.

Thanks for the suggestion, button type is submit.

Then I would post your code here on the forum so that others can take a look. Also enable your developer tools in your browser and look at the network tab. Reload your page and it will show you most everything that is happening. Click on your submit button and you will see if the event is firing, and any error associated with it. Also enable debugging in your project settings.

In debug I get:
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More] index.html

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/js/popper.min.js Source Map URL: popper.min.js.map[Learn More]

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/js/bootstrap.min.js Source Map URL: bootstrap.min.js.map[Learn More]

That’s not an issue. Please follow this guide and check if there are any error messages:

OK I think I followed your instructions, this is the info:

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/js/popper.min.js Source Map URL: popper.min.js.map[Learn More]

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/js/bootstrap.min.js Source Map URL: bootstrap.min.js.map[Learn More]

Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More] index.html

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/js/popper.min.js Source Map URL: popper.min.js.map[Learn More]

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/js/bootstrap.min.js Source Map URL: bootstrap.min.js.map[Learn More]

GEThttp://10.2.1.74/myfirstwappler/fontawesome5/css/all.min.css[HTTP/1.1 200 OK 0ms]

GEThttp://10.2.1.74/myfirstwappler/bootstrap/4/css/bootstrap.min.css[HTTP/1.1 200 OK 0ms]

Source map error: request failed with status 404 Resource URL: http://10.2.1.74/myfirstwappler/bootstrap/4/css/bootstrap.min.css Source Map URL: bootstrap.min.css.map[Learn More]

XHRPOSThttp://10.2.1.74/myfirstwappler/dmxConnect/api/security/login.php

These are not actual server action errors.
Please make sure to check the exact NET tab > XHR and the response there just exactly as shown in the docs i provided.

Is this what you are looking for?

XHRPOSThttp://10.2.1.74/myfirstwappler/dmxConnect/api/security/login.php
[HTTP/1.1 500 Internal Server Error 211ms]

Yes, but please select it and see its response just as shown in our documentation! Then post a screenshot of what the error is. Just make sure to do what is shown in the last two screenshots here:

Thanks you, you can tell I know nothing about servers and their setup or running. I found the answer here:

The folder: dmxConnectLib folder was the issue. I followed the instructions and I get past the 500 error. I get user login errors where I shouldn’t but I’ll try getting past that on my own.
Ed

1 Like

Hi Teodor, what about this message:

Argument 2 passed to lib\db\SqlBuilder::__construct() must be an instance of lib\db\Connection, instance of lib\auth\Provider given, called in C:\xampp\htdocs\strateg\dmxConnectLib\modules\dbconnector.php on line 54 and defined

@anofm i will be able to reply your question when you provide some more detailed information about what are you doing, where do you see this error, when do you see this error etc.

It is also a login problem.

Please read what i asked in my last post and answer the questions as detailed as possible :slight_smile:

I have a submit button which fire a login server action server; this works fine.
When login action serve is succesfull, it loads another action server witch bring the details user based on the identity fro the login action. This has an error with the message i wrote before based on the documentation (Yes, but please select it and see its response just as shown in our documentation! Then post a screenshot of what the error is. Just make sure to do what is shown in the last two screenshots here:)
.

You may see the public page here:

What kind of security provide are you using?

database

Can you show a screenshot of your security provider step configuration as well as the server connect steps?