Hello I've recently uploaded my project onto my webserver, and right now I can't submit form using AJAX. Everything was working on my local environment (xampp), but now it's getting 403 error.
"Forbidden You don't have permission to access /pka/comments/add/122 on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. " The url I'm requesting is POST http://.www.domain.pl/pka/comments/add/122 All other functions triggered by normal links work fine, the only problem is with this form submitted using AJAX. All of the controllers and files got the same "644" rights. This is the source of the form: <form onsubmit="return false" id="add_comment_form_122"> <textarea cols="70" rows="3" name="data[Comments][comment]" value="" id="Commentscomment"> </textarea> <br> <input type="submit" value="Dodaj" id="submit2068615433" onclick="return false;" /> <script type="text/javascript">Event.observe("submit2068615433", 'click', function(event){ new Ajax.Updater('comments_122','/pka/ comments/add/122', {onComplete:function(request){$ ("add_comment_form_122").reset()}, asynchronous:true, evalScripts:true, parameters:Form.serialize(Event.element(event).form), requestHeaders: ['X-Update', 'comments_122']}) }, false); </script> </form> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
