Post Internal server error (500) with php and jquery. (crawb.net)

`function saveUserData(userData){
   $.post('userData.php', { oauth_provider:'google', userData: JSON.stringify(userData) });
   console.log('sended!')

}` (index.html)
and https://pastebin.com/ZwGtMvxW. the error is :

If your script returns a 500 Internal Server Error, that almost always means the PHP script has crashed. By default, error messages are hidden for security reasons, but you will need to enable them to figure out what’s going on.

More information can be found in this article:

https://infinityfree.net/support/http-error-500/

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.