title: Magento Unable to post review
body: <p>I am trying to add a review to a product in magento. However, submitting the review form of a product in the frontend gives me an "Unable to post review message".</p>
  
  <p>I haven't found a solution to the problem, that's why im calling in your help :)</p>
  
  <p>This is the code from my review form:</p>
  
  <pre><code>&lt;div class="form-add"&gt;
  &lt;h2&gt;&lt;?php echo $this-&gt;__('Write Your Own Review') ?&gt;&lt;/h2&gt;
  &lt;?php if ($this-&gt;getAllowWriteReviewFlag()): ?&gt;
      &lt;form action="&lt;?php echo $this-&gt;getAction() ?&gt;" method="post" id="review-form"&gt;
          &lt;?php echo $this-&gt;getBlockHtml('formkey'); ?&gt;
          &lt;?php echo $this-&gt;getChildHtml('form_fields_before') ?&gt;
          &lt;h3&gt;&lt;?php echo $this-&gt;__("You're reviewing:"); ?&gt;
              &lt;span&gt;&lt;?php echo $this-&gt;escapeHtml($this-&gt;getProductInfo()-&gt;getName()) ?&gt;&lt;/span&gt;
          &lt;/h3&gt;
  
          &lt;div class="fieldset"&gt;
              &lt;?php if ($this-&gt;getRatings() &amp;&amp; $this-&gt;getRatings()-&gt;getSize()): ?&gt;
                  &lt;h4&gt;&lt;?php echo $this-&gt;__('How do you rate this product?') ?&gt; &lt;em class="required"&gt;*&lt;/em&gt;&lt;/h4&gt;
                  &lt;span id="input-message-box"&gt;&lt;/span&gt;
                  &lt;table class="data-table review-summary-table ratings" id="product-review-table"&gt;
                      &lt;col width="1"/&gt;
                      &lt;col/&gt;
                      &lt;col/&gt;
                      &lt;col/&gt;
                      &lt;col/&gt;
                      &lt;col/&gt;
                      &lt;thead&gt;
                      &lt;tr&gt;
                          &lt;th&gt;&amp;nbsp;&lt;/th&gt;
                          &lt;th&gt;
                              &lt;div class="rating-box"&gt;
                                  &lt;span class="rating-number"&gt;1&lt;/span&gt;
                                  &lt;span class="rating nobr"
                                        style="width:20%;"&gt;&lt;?php echo $this-&gt;__('1 star') ?&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/th&gt;
                          &lt;th&gt;
                              &lt;div class="rating-box"&gt;
                                  &lt;span class="rating-number"&gt;2&lt;/span&gt;
                                  &lt;span class="rating nobr"
                                        style="width:40%;"&gt;&lt;?php echo $this-&gt;__('2 star') ?&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/th&gt;
                          &lt;th&gt;
                              &lt;div class="rating-box"&gt;
                                  &lt;span class="rating-number"&gt;3&lt;/span&gt;
                                  &lt;span class="rating nobr"
                                        style="width:60%;"&gt;&lt;?php echo $this-&gt;__('3 star') ?&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/th&gt;
                          &lt;th&gt;
                              &lt;div class="rating-box"&gt;
                                  &lt;span class="rating-number"&gt;4&lt;/span&gt;
                                  &lt;span class="rating nobr"
                                        style="width:80%;"&gt;&lt;?php echo $this-&gt;__('4 star') ?&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/th&gt;
                          &lt;th&gt;
                              &lt;div class="rating-box"&gt;
                                  &lt;span class="rating-number"&gt;5&lt;/span&gt;
                                  &lt;span class="rating nobr"
                                        style="width:100%;"&gt;&lt;?php echo $this-&gt;__('5 star') ?&gt;&lt;/span&gt;
                              &lt;/div&gt;
                          &lt;/th&gt;
                      &lt;/tr&gt;
                      &lt;/thead&gt;
                      &lt;tbody&gt;
                      &lt;?php foreach ($this-&gt;getRatings() as $_rating): ?&gt;
                          &lt;tr&gt;
                              &lt;th&gt;&lt;?php echo $this-&gt;escapeHtml($_rating-&gt;getRatingCode()) ?&gt;&lt;/th&gt;
                              &lt;?php foreach ($_rating-&gt;getOptions() as $_option): ?&gt;
                                  &lt;td class="value"&gt;&lt;label
                                          for="&lt;?php echo $this-&gt;escapeHtml($_rating-&gt;getRatingCode()) ?&gt;_&lt;?php echo $_option-&gt;getValue() ?&gt;"&gt;&lt;input
                                              type="radio" name="ratings[&lt;?php echo $_rating-&gt;getId() ?&gt;]"
                                              id="&lt;?php echo $this-&gt;escapeHtml($_rating-&gt;getRatingCode()) ?&gt;_&lt;?php echo $_option-&gt;getValue() ?&gt;"
                                              value="&lt;?php echo $_option-&gt;getId() ?&gt;" class="radio"/&gt;&lt;/label&gt;&lt;/td&gt;
                              &lt;?php endforeach; ?&gt;
                          &lt;/tr&gt;
                      &lt;?php endforeach; ?&gt;
                      &lt;/tbody&gt;
                  &lt;/table&gt;
                  &lt;input type="hidden" name="validate_rating" class="validate-rating" value=""/&gt;
                  &lt;script type="text/javascript"&gt;decorateTable('product-review-table')&lt;/script&gt;
              &lt;?php endif; ?&gt;
  
              &lt;ul class="form-list"&gt;
                  &lt;li&gt;
                      &lt;label for="review_field"
                             class="required"&gt;&lt;em&gt;*&lt;/em&gt;&lt;?php echo $this-&gt;__('Let us know your thoughts') ?&gt;&lt;/label&gt;
                      &lt;div class="input-box"&gt;
                          &lt;textarea name="detail" id="review_field" cols="5" rows="3"
                                    class="required-entry"&gt;&lt;?php echo $this-&gt;escapeHtml($data-&gt;getDetail()) ?&gt;&lt;/textarea&gt;
                      &lt;/div&gt;
                  &lt;/li&gt;
  
                  &lt;li class="inline-label"&gt;
                      &lt;label for="summary_field"
                             class="required"&gt;&lt;em&gt;*&lt;/em&gt;&lt;?php echo $this-&gt;__('Summary of Your Review') ?&gt;&lt;/label&gt;
                      &lt;div class="input-box"&gt;
                          &lt;input type="text" name="title" id="summary_field" class="input-text required-entry"
                                 value="&lt;?php echo $this-&gt;escapeHtml($data-&gt;getTitle()) ?&gt;"/&gt;
                      &lt;/div&gt;
                  &lt;/li&gt;
  
                  &lt;li class="inline-label"&gt;
                      &lt;label for="nickname_field"
                             class="required"&gt;&lt;em&gt;*&lt;/em&gt;&lt;?php echo $this-&gt;__("What's your nickname?") ?&gt;&lt;/label&gt;
                      &lt;div class="input-box"&gt;
                          &lt;input type="text" name="nickname" id="nickname_field" class="input-text required-entry"
                                 value="&lt;?php echo $this-&gt;escapeHtml($data-&gt;getNickname()) ?&gt;"/&gt;
                      &lt;/div&gt;
                  &lt;/li&gt;
  
              &lt;/ul&gt;
          &lt;/div&gt;
          &lt;div class="buttons-set"&gt;
              &lt;button type="submit" title="&lt;?php echo $this-&gt;__('Submit Review') ?&gt;" class="button"&gt;
                  &lt;span&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Submit Review') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;
          &lt;/div&gt;
      &lt;/form&gt;
      &lt;script type="text/javascript"&gt;
          //&lt;![CDATA[
          var dataForm = new VarienForm('review-form');
          Validation.addAllThese(
              [
                  ['validate-rating', '&lt;?php echo $this-&gt;__('Please select one of each of the ratings above') ?&gt;', function (v) {
                      var trs = $('product-review-table').select('tr');
                      var inputs;
                      var error = 1;
  
                      for (var j = 0; j &lt; trs.length; j++) {
                          var tr = trs[j];
                          if (j &gt; 0) {
                              inputs = tr.select('input');
  
                              for (i in inputs) {
                                  if (inputs[i].checked == true) {
                                      error = 0;
                                  }
                              }
  
                              if (error == 1) {
                                  return false;
                              } else {
                                  error = 1;
                              }
                          }
                      }
                      return true;
                  }]
              ]
          );
          //]]&gt;
      &lt;/script&gt;
  &lt;?php else: ?&gt;
      &lt;p class="review-nologged" id="review-form"&gt;
          &lt;?php echo $this-&gt;__('Only registered users can write reviews. Please, &lt;a href="%s"&gt;log in&lt;/a&gt; or &lt;a href="%s"&gt;register&lt;/a&gt;', $this-&gt;getLoginLink(), Mage::helper('customer')-&gt;getRegisterUrl()) ?&gt;
      &lt;/p&gt;
  &lt;?php endif ?&gt;
  </code></pre>
  
  <p></p>
  
  <p>Looks like the standard rwd theme layout. If i delete my custom one so the rwd default pops up it still doesn't work.</p>
  
  <p>The url that i'm posting from is as following:</p>
  
  <pre><code>https://www.example.com/review/product/post/id/73/
  </code></pre>
  
  <p>Hope someone can help me in the right direction. It's driving me crazy!!!</p>