3 réponses
Hello,
A 403 Forbidden error often indicates a permissions issue on the server's folder or file; however, a permissions problem would be strange in your case if the Ajax request works with other forms.
Are you sure that the relative path defined in the 'url' parameter is correct in relation to your page?
Do you have any PHP errors in your web server's log file?
Have a nice day,
A 403 Forbidden error often indicates a permissions issue on the server's folder or file; however, a permissions problem would be strange in your case if the Ajax request works with other forms.
Are you sure that the relative path defined in the 'url' parameter is correct in relation to your page?
Do you have any PHP errors in your web server's log file?
Have a nice day,
Thank you for your response. My form bugs based on the data inside; basically, if I add a video iframe, it crashes, otherwise it works, so it's not a permissions error or a URL issue.
I think my video string may be commenting out part of the request or cutting off my string.
Here is how my video string looks =>
<iframe src="//player.vimeo.com/video/111111111?title=0&byline=0&portrait=0" width="853" height="467" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
I don't see how else to proceed/
I think my video string may be commenting out part of the request or cutting off my string.
Here is how my video string looks =>
<iframe src="//player.vimeo.com/video/111111111?title=0&byline=0&portrait=0" width="853" height="467" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
I don't see how else to proceed/
So the error seems to come from the execution of the SQL query.
You should therefore have an error message corresponding to this SQL error either in the server log files or in the Response tab of the AJAX request (in the Network tab, click on the AJAX request and then on Response).
Since you are displaying your query (echo $query;), it should also be shown in the Response tab of the AJAX request. Can you show it to us?
You should therefore have an error message corresponding to this SQL error either in the server log files or in the Response tab of the AJAX request (in the Network tab, click on the AJAX request and then on Response).
Since you are displaying your query (echo $query;), it should also be shown in the Response tab of the AJAX request. Can you show it to us?
Since I have a 403 error, it doesn't show any echo in the log
In Response I have: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /administration/gestion_des_produits/database.php
on this server.</p>
</body></html>
In Response I have: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /administration/gestion_des_produits/database.php
on this server.</p>
</body></html>