CodeMontageHQ/codemontage

500 internal server error when submitting /organizations/new#_=_

Closed this issue · 3 comments

I submitted the following information to /organizations/new#= and received a "We're sorry, something has gone wrong" 500 server error. I am using Ghostery and on this page I am allowing Google Analytics and I am blocking iubenda. I also receive error 500 if I allow iubenda.

This error occurred around Nov10 at 15:15 UTC time

Remote Address:54.83.18.218:443
Request URL:https://www.codemontage.com/organizations
Request Method:POST
Status Code:500 Internal Server Error

Request headers:

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Encoding:gzip,deflate
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:1104
Content-Type:application/x-www-form-urlencoded
Cookie:_code_montage_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFVEkiJTdkZWM2YjkwMjhiMjRkYjBiMjA0Yjg0MmEyMTQ0MTdiBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVpITFZjZEx4VzhoUVIrZHNMVTVRelZSVVNGN3A5S3BzdE54RVJOa3hCTE09BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsHWwZpAtwFIiIkMmEkMTAkeVFKTEdCNnIuemhaZUdiMmNGbDlTdQ%3D%3D--ccdb64a0119513284d93c1630d889e8bfe0c09b0; __utmt=1; __utma=151804331.690309564.1415626656.1415626656.1415631348.2; __utmb=151804331.13.10.1415631348; __utmc=151804331; __utmz=151804331.1415631348.2.2.utmcsr=developersforgood.org|utmccn=(referral)|utmcmd=referral|utmcct=/; __utmli=new_organization
Host:www.codemontage.com
Origin:https://www.codemontage.com
Referer:https://www.codemontage.com/organizations/new
User-Agent:Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36

Form Data:
utf8:✓
authenticity_token:ZHLVcdLxW8hQR+dsLU5QzVRUSF7p9KpstNxERNkxBLM=
organization[projects_attributes][0][name]:Building wealth for good with giv2giv
organization[projects_attributes][0][github_repo]:giv2giv-jquery
organization[projects_attributes][0][url]:giv2giv.org
organization[projects_attributes][0][description]:We run a nonprofit, crowdfunded, open-source mutual fund for charity -- With a RubyOnRails API, and JS/CSS/HTML UI, we're changing the landscape of charitable giving. We're building generational wealth for good, enabling donors to leave legacies and benefit charities all over the US to focus on their missions. We are a grassroots, volunteer-driven project that always need volunteer coders. I hope we can work together!
organization[name]:giv2giv, Inc.
organization[github_org]:giv2giv
organization[url]:giv2giv.org
organization[contact_name]:Michael Blinn
organization[contact_role]:Founder
organization[contact_email]:michael.blinn@giv2giv.org
commit:Submit a Project

Response Headers:
Connection:keep-alive
Content-Length:643
Content-Type:text/html; charset=utf-8
Date:Mon, 10 Nov 2014 15:14:29 GMT
Server:WEBrick/1.3.1 (Ruby/2.0.0/2014-10-27)
Strict-Transport-Security:max-age=31536000
Via:1.1 vegur
X-Rack-Cache:invalidate, pass
X-Request-Id:2f97ab4e-5916-46c2-84dc-8e5ce7d8d139
X-Runtime:0.052009

Thank you, Michael!

On Mon, Nov 10, 2014 at 10:19 AM, michaelblinn notifications@github.com
wrote:

I submitted the following information to /organizations/new#= and
received a "We're sorry, something has gone wrong" 500 server error. I am
using Ghostery and on this page I am allowing Google Analytics and I am
blocking iubenda. I also receive error 500 if I allow iubenda.

This error occurred around Nov10 at 15:15 UTC time

Remote Address:54.83.18.218:443
Request URL:https://www.codemontage.com/organizations
Request Method:POST
Status Code:500 Internal Server Error

Request headers:

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
/;q=0.8
Accept-Encoding:gzip,deflate
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:1104
Content-Type:application/x-www-form-urlencoded
Cookie:_code_montage_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFVEkiJTdkZWM2YjkwMjhiMjRkYjBiMjA0Yjg0MmEyMTQ0MTdiBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMVpITFZjZEx4VzhoUVIrZHNMVTVRelZSVVNGN3A5S3BzdE54RVJOa3hCTE09BjsARkkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsHWwZpAtwFIiIkMmEkMTAkeVFKTEdCNnIuemhaZUdiMmNGbDlTdQ%3D%3D--ccdb64a0119513284d93c1630d889e8bfe0c09b0;
__utmt=1; __utma=151804331.690309564.1415626656.1415626656.1415631348.2;
__utmb=151804331.13.10.1415631348; __utmc=151804331;
__utmz=151804331.1415631348.2.2.utmcsr=developersforgood.org|utmccn=(referral)|utmcmd=referral|utmcct=/;
__utmli=new_organization
Host:www.codemontage.com
Origin:https://www.codemontage.com
Referer:https://www.codemontage.com/organizations/new
User-Agent:Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/38.0.2125.111 Safari/537.36

Form Data:
utf8:✓
authenticity_token:ZHLVcdLxW8hQR+dsLU5QzVRUSF7p9KpstNxERNkxBLM=
organization[projects_attributes][0][name]:Building wealth for good with
giv2giv
organization[projects_attributes][0][github_repo]:giv2giv-jquery
organization[projects_attributes][0][url]:giv2giv.org
organization[projects_attributes][0][description]:We run a nonprofit,
crowdfunded, open-source mutual fund for charity -- With a RubyOnRails API,
and JS/CSS/HTML UI, we're changing the landscape of charitable giving.
We're building generational wealth for good, enabling donors to leave
legacies and benefit charities all over the US to focus on their missions.
We are a grassroots, volunteer-driven project that always need volunteer
coders. I hope we can work together!
organization[name]:giv2giv, Inc.
organization[github_org]:giv2giv
organization[url]:giv2giv.org
organization[contact_name]:Michael Blinn
organization[contact_role]:Founder
organization[contact_email]:michael.blinn@giv2giv.org
commit:Submit a Project

Response Headers:
Connection:keep-alive
Content-Length:643
Content-Type:text/html; charset=utf-8
Date:Mon, 10 Nov 2014 15:14:29 GMT
Server:WEBrick/1.3.1 (Ruby/2.0.0/2014-10-27)
Strict-Transport-Security:max-age=31536000
Via:1.1 vegur
X-Rack-Cache:invalidate, pass
X-Request-Id:2f97ab4e-5916-46c2-84dc-8e5ce7d8d139
X-Runtime:0.052009


Reply to this email directly or view it on GitHub
#271.

Discovered this is coming from an acts_as_taggable gem error:

ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column "taggings_count" does not exist

A few resources:

This is fixed!

  1. @michaelblinn your project has been submitted and should be reviewed & featured soon!
  2. Projects in general are now successfully submittable thanks to a redeploy fixing this taggable error.
  3. This project description was too long, but that wasn't clear from the user's perspective, so I added a follow-up issue #273 "Show Description Character Limit on Project Submission Page"

cc @courte