Answers.Body: <p>Further investigation on my site, which was exhibiting the same issue as that noted by Keith Sorbo, showed that there was no 'user 0' record in the Drupal users table.</p>
  
  <p>This page - <a href="https://www.drupal.org/node/1029506" rel="nofollow">https://www.drupal.org/node/1029506</a> - offers various options about how to reinstate a 'user 0' record in the Drupal database.</p>
  
  <p>Once I had a 'user 0' record the CiviCRM contribution page worked as expected.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-17T17:15:07.630Z
Answers.LastActivityDate: 2016-02-17T17:15:07.630Z
Answers.UserDisplayName: Graham
Body: <p>I have set up a donation page linked to Paypal. (<a href="https://contacts.network211.com/civicrm/contribute/transact?reset=1&amp;id=6" rel="nofollow noreferrer">https://contacts.network211.com/civicrm/contribute/transact?reset=1&amp;id=6</a>)</p>
  
  <ul>
  <li>When I attempt to use the contribution form as a non-logged in user, I enter my donation amount and email address. When I hit Confirm Contribution, <strong><em>the system returns to the contribution form with all fields empty.</em></strong> No error message or indication of what is going on.</li>
  <li>The contribution works if I am logged into civi as an authenticated user.</li>
  </ul>
  
  <p>Settings</p>
  
  <ul>
  <li>I am not asking the user for any additional information, ie. not using a profile</li>
  <li>The form is set as active/online</li>
  <li>Under drupal permissions, I have CiviContribute: make online contributions selected</li>
  <li>I have looked in both Drupal and Civi logs and don't see anything that seems to point to the problem.</li>
  </ul>
  
  <p>This is very frustrating!</p>
  
  <p>(I asked the same question earlier with no resolution. <a href="https://civicrm.stackexchange.com/questions/7455/how-to-allow-contributions-from-non-members">How to allow contributions from non-members</a> This link also yields no answers <a href="https://civicrm.stackexchange.com/questions/4257/why-cant-anonymous-users-make-contributions">Why can&#39;t anonymous users make contributions?</a>)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T17:56:08.823Z
Comments.Text: Do you have any extensions installed?  If you disable them one at a time to test, might that help?
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T18:05:44.513Z
Comments.Text: Maybe it's something about your base url or resource url's is not set up quite right.  Also, do you have clean url set on the drupal side (https://www.contacts.network211.com/admin/config/search/clean-urls)?  I believe you should be able to replace the ? with a / in your link and have it still work, i.e. ...civicrm/contribute/transact/reset=1&id=6) .  It doesn't in your case.  (It does in my implimenation if clean url's are set.  If they're not set I get errors on the paypal site.)
Comments.UserDisplayName: Paul-Tahoe
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T19:30:53.623Z
Comments.Text: @Paul-Tahoe: I'll try this, but it doesn't make sense in that civi never takes me to the confirm page (which is still on civi)
Comments.UserDisplayName: Keith Sorbo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T19:32:32.377Z
Comments.Text: @AllenHutchison: I have no extension installed or at least none are checked under Civi in the drupal modules page
Comments.UserDisplayName: Keith Sorbo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T19:34:18.193Z
Comments.Text: @KeithSorbo, for Civi specific extensions, you would want to look in your CiviCRM menu: Administer > System Settings > Manage Extensions and see if any extensions are enabled there.
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T19:57:04.587Z
Comments.Text: @AllenHutchison: I had one extension (simpledonate). I disabled and uninstalled it. Same behavior. Still doesn't work.
Comments.UserDisplayName: Keith Sorbo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-16T18:28:12.877Z
Comments.Text: @KeithSorbo, thanks for following up on that.  For the sake of trying to isolate the issue, if you create a paid event (just for testing purposes), can anonymous users sign up and try to pay for it?  Also, are you using Paypal Standard or Pro?
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-16T18:43:31.097Z
Comments.Text: Also, do you have Drupal Watchdog Logging enabled?  (http://<site>/civicrm/admin/setting/debug?reset=1)  You could also enable backtrace on that same page and it might help pinpoint where the issue is coming from.  If you copy/paste your backtrace log (it'll appear on the page if there is an error happening) as an edit to your question, that'd help.
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-16T18:44:39.550Z
Comments.Text: Lastly, can you screen print your Resource URLs screen (http://<site>/civicrm/admin/setting/url?reset=1) and add that to your question?  @Paul-Tahoe may have been on to something with his earlier comment - see https://forum.civicrm.org/index.php?topic=26696.msg114457#msg114457
Comments.UserDisplayName: Allen Hutchison
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-17T15:41:24.117Z
Comments.Text: I'm seeing exactly the same issue on a new site I've just started working with. The contribution page works faultlessly when logged in, but does as Keuth describes when the user is not logged in. version 4.6.13 on D7.
Comments.UserDisplayName: Graham
Tags: <civicontribute><contributions><contribution-page>
Title: Anonymous Users Cannot Contribute
ThreadText: # Anonymous Users Cannot Contribute
  
  (Asked by: username_0 on 2016-01-15)
  
  I have set up a donation page linked to Paypal. (<https://contacts.network211.com/civicrm/contribute/transact?reset=1&id=6>)
  
  * When I attempt to use the contribution form as a non-logged in user, I enter my donation amount and email address. When I hit Confirm Contribution, ***the system returns to the contribution form with all fields empty.*** No error message or indication of what is going on.
  * The contribution works if I am logged into civi as an authenticated user.
  
  Settings
  
  * I am not asking the user for any additional information, ie. not using a profile
  * The form is set as active/online
  * Under drupal permissions, I have CiviContribute: make online contributions selected
  * I have looked in both Drupal and Civi logs and don't see anything that seems to point to the problem.
  
  This is very frustrating!
  
  (I asked the same question earlier with no resolution. [How to allow contributions from non-members](https://civicrm.stackexchange.com/questions/7455/how-to-allow-contributions-from-non-members) This link also yields no answers [Why can't anonymous users make contributions?](https://civicrm.stackexchange.com/questions/4257/why-cant-anonymous-users-make-contributions))
  
  **Tags:** civicontribute, contributions, contribution-page
  
  > **Comments:**
  > **username_1**: Do you have any extensions installed?  If you disable them one at a time to test, might that help?  
  > **username_2**: Maybe it's something about your base url or resource url's is not set up quite right.  Also, do you have clean url set on the drupal side (https://www.contacts.network211.com/admin/config/search/clean-urls)?  I believe you should be able to replace the ? with a / in your link and have it still work, i.e. ...civicrm/contribute/transact/reset=1&id=6) .  It doesn't in your case.  (It does in my implimenation if clean url's are set.  If they're not set I get errors on the paypal site.)  
  > **username_0**: @username_2: I'll try this, but it doesn't make sense in that civi never takes me to the confirm page (which is still on civi)  
  > **username_0**: @username_1: I have no extension installed or at least none are checked under Civi in the drupal modules page  
  > **username_1**: @username_0, for Civi specific extensions, you would want to look in your CiviCRM menu: Administer > System Settings > Manage Extensions and see if any extensions are enabled there.  
  > **username_0**: @username_1: I had one extension (simpledonate). I disabled and uninstalled it. Same behavior. Still doesn't work.  
  > **username_1**: @username_0, thanks for following up on that.  For the sake of trying to isolate the issue, if you create a paid event (just for testing purposes), can anonymous users sign up and try to pay for it?  Also, are you using Paypal Standard or Pro?  
  > **username_1**: Also, do you have Drupal Watchdog Logging enabled?  (http://<site>/civicrm/admin/setting/debug?reset=1)  You could also enable backtrace on that same page and it might help pinpoint where the issue is coming from.  If you copy/paste your backtrace log (it'll appear on the page if there is an error happening) as an edit to your question, that'd help.  
  > **username_1**: Lastly, can you screen print your Resource URLs screen (http://<site>/civicrm/admin/setting/url?reset=1) and add that to your question?  @username_2 may have been on to something with his earlier comment - see https://forum.civicrm.org/index.php?topic=26696.msg114457#msg114457  
  > **username_3**: I'm seeing exactly the same issue on a new site I've just started working with. The contribution page works faultlessly when logged in, but does as Keuth describes when the user is not logged in. version 4.6.13 on D7.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2016-02-17. Score: 3 | Accepted answer
  
  Further investigation on my site, which was exhibiting the same issue as that noted by username_0, showed that there was no 'user 0' record in the Drupal users table.
  
  This page - <https://www.drupal.org/node/1029506> - offers various options about how to reinstate a 'user 0' record in the Drupal database.
  
  Once I had a 'user 0' record the CiviCRM contribution page worked as expected.
  
  
  ---
  
  