Newbie: cannot add a member to a project

Added by Darryn Jones over 11 years ago

Redmine 0.8.0

Ruby version 1.8.5 (i386-linux)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Edge Rails revision unknown
Application root XXXXXXXXXXXX
Environment production
Database adapter mysql

Linux 2.6.18-53.1.13.el5

MySQL 4.1.22-standard

I have a new install of Redmine, and I have it working up to a point. I can create projects, I can create users. I cannot add a user to a project. I try via Administration > Projects > projectname > Members > choose a member and role > click Add. All that happens is a box pops up with "loading" and an animated circle. After a whiles the Loading box goes away. I tried manually loading the URL /members/new/projectname but this gave me a 404. The problem occurs in Firefox and IE, and on two different computers at different locations.

Can anyone give me any tips? I am sure it is due to some noob mistake or oversight (this is my first venture into the world of RoR)

Replies (5)

RE: Newbie: cannot add a member to a project - Added by Brad Beattie over 11 years ago

Hrm. Take a look at the log file generated by Redmine. Also take a look at the HTTP headers sent out by your browser (https://addons.mozilla.org/en-US/firefox/addon/3829). That should give you some hints.

RE: Newbie: cannot add a member to a project - Added by Darryn Jones over 11 years ago

Hi Brad, thanks for your help. It is a community like this that has led me away from projectpier.

I have learned that my server is Mongrel 1.1.5

I have attached both the mongrel and production logs. I have read them and can see that something is wrong, but don't really know what I am looking at.

The headers that I captured during an attempt to add a member to a project are:

http://MYDOMAIN.COM/projects/settings/PROJECTNAME

GET /projects/settings/PROJECTNAME HTTP/1.1
Host: MYDOMAIN.COM
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://MYDOMAIN.COM/admin/projects
If-None-Match: "34bdc7e1e965057c65d10855e50bbce2"

HTTP/1.x 304 Not Modified
Date: Fri, 30 Jan 2009 08:12:33 GMT
Server: Mongrel 1.1.5
Set-Cookie: _session_id=395808e4f719a2dfd7a86b4b268e68f2; path=/
Status: 304 Not Modified
X-Runtime: 0.05017
Etag: "34bdc7e1e965057c65d10855e50bbce2"
Cache-Control: private, max-age=0, must-revalidate
Content-Type: text/html; charset=utf-8
Content-Length: 0
X-Cache: MISS from MYDOMAIN.COM
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive

mongrel.log - The mongrel log (5.35 KB)

production.log - Production log (4.29 KB)

RE: Newbie: cannot add a member to a project - Added by Darryn Jones over 11 years ago

New info : I cannot add categories either, when creating a New Issue

RE: Newbie: cannot add a member to a project - Added by Darryn Jones over 11 years ago

But I CAN add members to Projects via the Users section of Administration. This means I can at least use Redmine, but I am still worried about what else might turn up wrong in the future. If anyone can help me with this I would be very grateful

RE: Newbie: cannot add a member to a project - Added by Darryn Jones over 11 years ago

It is ALL AJax that is broken

(1-5/5)