Debugging Problems

You can easily debug issues related to server-side processing such as - form not sending email, record not inserting or updating, query not showing data etc.

The first thing you need to do is to open the server connect settings:

And enable the Debug Mode:

Click Save:

In your browser, open the Developer tools. If you don’t know how to open them please refer to your browser’s documentation. Then open the Network tab(1) and select XHR(2):

Now with the developer tools open reload the page if your server action runs on load, or submit the form if the server action is run on form submit. You will see the error message in the XHR tab, it contains the file which is causing it as well as the error status:

Click the file that is causing the error. You will see the error message, explaining what is wrong. In our case, the database column, which we are trying to insert record into is not found - which probably means it has been renamed or deleted from the database, and we forgot to update the server action accordingly:

Not all errors are that clear, but in many cases they are just helpful enough to find what is wrong.


WapplerPrevious   WapplerNext


4 Likes
File upload form
Upload, Resize and Insert Images in App Connect Medium Editor
Validation and upload
Server Connect Introduction
Bug Report from Jp_Dahlgren #2019-2-21_10-42-35
Pagination offset errors
Data in not displayed when "Open in Browser" but displaying in Design mode
Auto orient on load
Contact form not sending
Login Form Problems
Login Form Problems
I need help learning how to save and restore form data
Update form stops on uploading file
Update database table form not working
Can get mysql database connection but can't get query to retrieve data
How to use server-side redirect?
Uploading Single File To Your Server
Mailer will not work
ASP.NET: Insert and Update Server Actions fail
Update database table form not working
Update form not working How to troubleshoot
Tooltip block modal
Pass Variable from App structure back to Server Action?
Pass Variable from App structure back to Server Action?
Wappler Official Documentation
Pagination help.. Offset getting sent but nothing
Multiple Upload Documentation, missing parts?
Insert Record - Table Parent + Child
Different Result for Query on Server & Wappler
Pass Variable / Modal Detail debugging
Error with update form
Bootstrap 4 table and security
Form data to email not working
Help on adding image path to database
500 Server error on insert form
Upload, Resize and Insert Images in App Connect Medium Editor
Creating Database Queries
Secure login not working
FTP Connection Server problem
Getting a 401 Unauthorised error when pressing submit on Login Form
SSI PHP Include help
Error saving record to database after upload
Logout Button Logging out, but not redirecting
Simple Login page - submit button does nothing
Issues with ASP.NET security provider
Simple Login page - submit button does nothing
Error 500
Email-will not be send
Email-will not be send
File PDF upload

A post was merged into an existing topic: Form data to email not working