Can't Create a subproject; Error: 404 The page you were trying to access doesn't exist or has been removed.

Added by ionut rascanu almost 7 years ago

hi all,
I'm starting to use Redmine but I'm getting an issue related to subprojects not.
During today I added more plugins to the application, few test projects and subprojects as well.
Now trying to create a new subproject it is returned the
_
Error: 404
The page you were trying to access doesn't exist or has been removed.
_
I don't remember to affect something else but plugins area. How can I fix this one?
Thank you for your help, Ionut

Replies (3)

RE: Can't Create a subproject; Error: 404 The page you were trying to access doesn't exist or has been removed. - Added by ionut rascanu over 6 years ago

hi,
here there are,
__

Processing ProjectsController#show (for 10.0.0.194 at 2011-01-21 12:16:00) [GET]
Parameters: {"action"=>"show", "id"=>"phone", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/show
Completed in 328ms (View: 219, DB: 62) | 200 OK [http://10.0.5.101/projects/phone]

Processing ProjectsController#show (for 10.0.0.194 at 2011-01-21 12:16:03) [GET]
Parameters: {"action"=>"show", "id"=>"add", "parent_id"=>"phone", "controller"=>"projects"}
Rendering template within layouts/base
Rendering common/404 (404)
Filter chain halted as [:find_project] rendered_or_redirected.
Completed in 94ms (View: 31, DB: 0) | 404 Not Found [http://10.0.5.101/projects/add?parent_id=phone]


RE: Can't Create a subproject; Error: 404 The page you were trying to access doesn't exist or has been removed. - Added by ionut rascanu over 6 years ago

Fix it...
it was because of redmine_blocks plugin that in app/view/project, show.rhtml had a bad action:

<%= link_to l(:label_subproject_add), {:controller => 'projects', :action => 'add', :parent_id => @project}, :class => 'icon icon-add' %>

by replacing the action 'add' with 'new' everything worked.

Thanks for helping, ionut

(1-3/3)