CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contributions fail for anonymous users in Drupal 6
Pages: [1]

Author Topic: Contributions fail for anonymous users in Drupal 6  (Read 1182 times)

Martin.Schwenke

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
  • CiviCRM version: 4.1.x
  • CMS version: Drupal 6.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Contributions fail for anonymous users in Drupal 6
May 06, 2012, 04:27:39 am
I'm seeing failures in CiviContribute after clicking "Confirm Contribution" on the initial screen of any contribution page.  This only happens when a user is not logged into the Drupal site.  It doesn't matter whether it is a pay now or pay later contribution.  I think this has been happening since I upgraded to CiviCRM 4.1.1 from 3.4.8 but I can't be sure.

Quote
CiviContribute

Sorry.  A non-recoverable error has occurred.

We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.

Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.

Error type: Could not find a valid session key.

Return to home page.

Cookies are enabled - I've tried a couple of other browsers that don't have a blocking feature.  I used the Firefox "Live HTTP Headers" extension to watch what was happening with cookies.  After the initial "Set-Cookie:" header is sent, all subsequent requests contain the (exact same- verified with "grep -c ...") cookie that was set.

The domain/base URL is correct.  I may have had a http/https mismatch but I've corrected this and it still doesn't work.

This feels like some permission error where I haven't assigned some permission to the "anonymous user" role.  I allow "make online contributions" and "profile create"

This is with CiviCRM 4.1.2, Drupal 6.22, PHP 5.3.10.

Any ideas?

Thanks...

peace & happiness,
martin

Martin.Schwenke

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
  • CiviCRM version: 4.1.x
  • CMS version: Drupal 6.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Re: Contributions fail for anonymous users in Drupal 6
June 09, 2012, 09:02:04 pm
This seems to have fixed itself.

I have no idea why it the problem started and why it seems to be working again...  I hate bugs like that...   :(

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Contributions fail for anonymous users in Drupal 6
June 26, 2013, 01:19:03 pm
FYI - I see this issue in the watchdog file.  not sure what the cause is either

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Contributions fail for anonymous users in Drupal 6
June 26, 2013, 02:50:00 pm
One possible reason for this is the civicrm_cache table being cleared too aggressively. If you are on 4.1.2 & doing on site contributions you should be using the cccccc module - which can cause this if your timezone & the server timezone differ.

I strongly urge you to upgrade - for security reasons if nothing else
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contributions fail for anonymous users in Drupal 6

This forum was archived on 2017-11-26.