Content
Unable to perform DELETE Requests
Added by Andrew Hackley almost 10 years ago
Ever since Installing Open Project on CentOS, we’ve never been able to use any of the functionality that creates a DELETE HTTP request. Whenever an ajax delete quest is made, the following 404 Not Found response is returned. Trying to remove a project from a group in the admin module “DELTE http:// foobar.com/admin/groups/14/memberships/50” is a good example. Anyone have suggestions? I’m stumped…
<!---- copyright OpenProject is a project management system. Copyright (C) 2012-2014 the OpenProject Foundation (OPF) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: Copyright (C) 2006-2013 Jean-Philippe Lang Copyright (C) 2010-2013 the ChiliProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See doc/COPYRIGHT.rdoc for more details. ++--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <title>OpenProject 404 error</title> <style> body{ font-family: Trebuchet MS,Georgia,"Times New Roman",serif; color:#303030; margin:10px; } h1{ font-size:1.5em; } p{ font-size:0.8em; } </style> <body> <h1>Page not found</h1> <p>The page you were trying to access doesn't exist or has been removed.</p> <p><a href="javascript:history.back()">Back</a></p> </body> </html>
Replies (1)
Turned out that not all of the openproject files belonged to the openproject user. Fixed all the permissions suing the chown command and now DELETE HTTP requests work!