For me it shows the same console output, but with detailed informations: POST url 500 (Internal Server Error) from jquery-3.4.1.min.js. I can even see the two jQueries on the code, the Slim 3.2.1 and the normal 3.4.1. I would remove the 3.2.1-slim one and add the 3.4.1-slim one instead in the code (and overall delete the normal 3.4.1 jQuery), and would also enable the Display Errors from Alter PHP Config to see what’s the problem.
You can call jQuery with jQuery instead of the dollar sign. In the code replace $ with jQuery. EDIT: You need to correct the bugs in actions.php, because the code reports a 500 Internal Server Error.
Thank you so much. I found the error.
It was a simple sql statement error in action.php.
My sql command was
mysqli_query($link,“INSERT INTO tweets(tweet,userid,datetime)
VALUES
('”.mysqli_real_escape_string($link,$_POST[‘tweetContent’]).“',”.mysqli_real_escape_string($link,$_SESSION[‘id’]).“,NOW())”);
echo “1”;
Apparently datetime has to be in the quote. Because it is a datatype.
I can’t thank you enough. I owe you. I was stuck here for two days.