Answers.Body: <p>After a long frustrating debugging I found the answer on this two pages:</p>
  
  <p><a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Configuration+Troubleshooting#InstallationandConfigurationTroubleshooting-&quot;CouldnotfindvalidKey&quot;" rel="nofollow noreferrer">Installation and Configuration Troubleshooting</a></p>
  
  <p><a href="https://civicrm.stackexchange.com/a/9721/104">Anonymous Users Cannot Contribute</a></p>
  
  <blockquote>
    <p>For Drupal sites, ensure that uid = 0 exists in your Drupal users table. This is required for anonymous access to CiviCRM pages and forms to work properly.</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-08T17:55:48.273Z
Answers.LastActivityDate: 2017-04-08T17:55:48.273Z
Answers.LastEditDate: 2017-04-13T12:53:13.167Z
Answers.UserDisplayName: Francesc Bassas i Bullich
Body: <p>Public CiviCRM forms (contribution pages, registration for events, mailing subscriptions, etc.) works for logged users but when we try to use for anonymous users they don't work.</p>
  
  <p>For example, if we submit a registration for event the form redirects to itself without any error message.</p>
  
  <p>We run CiviCRM over Drupal 7.</p>
  
Tags: <drupal><forms><user>
Title: Public CiviCRM forms not working for anonymous users
ThreadText: # Public CiviCRM forms not working for anonymous users
  
  (Asked by: username_0 on 2017-04-08)
  
  Public CiviCRM forms (contribution pages, registration for events, mailing subscriptions, etc.) works for logged users but when we try to use for anonymous users they don't work.
  
  For example, if we submit a registration for event the form redirects to itself without any error message.
  
  We run CiviCRM over Drupal 7.
  
  **Tags:** drupal, forms, user
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-04-08. Score: 4 | Accepted answer
  
  After a long frustrating debugging I found the answer on this two pages:
  
  [Installation and Configuration Troubleshooting](https://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Configuration+Troubleshooting#InstallationandConfigurationTroubleshooting-"CouldnotfindvalidKey")
  
  [Anonymous Users Cannot Contribute](https://civicrm.stackexchange.com/a/9721/104)
  
  > For Drupal sites, ensure that uid = 0 exists in your Drupal users table. This is required for anonymous access to CiviCRM pages and forms to work properly.
  
  
  ---
  
  