Debugging Problems


#1

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



Validation and upload
File upload form
Upload, Resize and Insert Images in App Connect Medium Editor
ASP.NET: Insert and Update Server Actions fail
Update database table form not working
Update form not working How to troubleshoot
FTP Connection Server problem
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
Contact from not sending
Creating Database Queries
Secure login not working
Upload, Resize and Insert Images in App Connect Medium Editor
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
Server Connect Introduction
How to use server-side redirect?
Uploading Single File To Your Server
Mailer will not work
split this topic #2

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


Dreamweaver created Database actions show empty insert/update panels
pinned #3