Can't Submit a Place

Help Discussion in 'BeerAdvocate Talk' started by metter98, Jun 27, 2014.

Thread Status:
Not open for further replies.
  1. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    I have been trying to add a place since yesterday evening and keep getting a "500 Internal Server Error" message each time I try to submit it. The URL of the page is: http://www.beeradvocate.com/beer/add_est/.
     
  2. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    I'll need more information as I can't replicate the error and we're getting submissions from others.

    Please post each field entered here.
     
  3. dbrauneis

    dbrauneis Grand High Pooh-Bah (8,071) Dec 8, 2007 North Carolina
    Mod Team BA4LYFE Society Pooh-Bah Trader

    I spoke with @metter98 this morning (friends long before BA) and one thing to note is the places he tried to add are from outside the US, everything I have seen in the queue this AM is from the US.
     
  4. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    Here's a copy of the fields I entered:

    Place Name: The Brew Dock
    Address: 1 Amiens Street
    City: Dublin
    Zip/Postal Code: 1
    Country: Ireland
    Phone: +353 1 8881842
    Website: http://www.galwaybaybrewery.com/brewdock/
    Twitter Username: BrewDock
    Place Type: Bar, Eatery
    Beer Stats: Cask-conditioned offerings
    Notes: I visited this place earlier in the week. They have over a dozen Irish craft beers on-tap as well as American offerings from Sierra Nevada and Founders plus a selection of bottles. The lunch was also good too.
     
    Highbrow likes this.
  5. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    It's the URL. Our checker attempts to open the URL. It'll fail if there's network issues/takes too long. I'll need to adjust it to timeout and fail more gracefully.
     
  6. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    Thanks for looking into this.

    I was able to submit some other places in Ireland today but ran into a problem with one brewery and got an red warning message saying "establishment may already exist in our database. search BeerFly for: N17" before I could submit it. I didn't see any places called "N17" in BeerFly, just some postal codes in London. N17 seems to be an unusual name for a brewery but it's located near the N17 motorway. I tried submitting the name as "N17 Brewery" but got the same warning message and it wouldn't let me submit it. Here are the entry fields:

    Place Name: N17
    Address: Weir Road
    Address (optional): Taum
    City: County Galway
    Zip/Postal Code: n/a
    Country: Ireland
    Phone: n/a
    Website: http://www.n17.com
    Twitter Username: N17Brew
    Place Type: Brewery
    Notes: I had the Rye Ale from this brewery on-tap at Against The Grain in Dublin.
     
  7. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    I've removed the URL opening for now. It'll still check for the valid URL format. Let me know if it works.

    As for "N17," you hit a rare bug in our duplicate checking code. I'll adjust it today.
     
  8. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    I was able to submit The Brew Dock. Thanks for making the temporary adjustment to the URL checker!
     
  9. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    Were you able to adjust the code? I tried submitting N17 again, but still get the error message that the establishment may exist in the database.
     
  10. Bitterbill

    Bitterbill Grand High Pooh-Bah (7,036) Sep 14, 2002 Wyoming
    BA4LYFE Society Pooh-Bah

    I submitted a place, it was in the queue, then it disappeared. Not entered, no explanation as to why it was rejected/disappeared.
     
  11. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    Just got back. I'll look at it today.
     
  12. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    We don't issue explanations, and without knowing the place I can't help. This is also not related to this thread/bug.
     
  13. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    Are you actually putting "n/a" into the forum fields, or are the fields blank?
     
  14. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    I put n/a into the fields and didn't leave them blank.
     
  15. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    That's the bug. We use those fields to check for duplicates. A handful have been approved with "n/a" in those fields, so the match was coming up as positive. I've cleared these fields in the database. Try again, but leave those fields blank.
     
  16. metter98

    metter98 Grand High Pooh-Bah (7,303) Aug 29, 2006 New York
    Mod Team Society Pooh-Bah

    Thanks, I was able to submit it.
     
  17. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    Great. I'll make a final adjustment to the code and consider this closed.
     
Thread Status:
Not open for further replies.