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) »
  • After contribution Error page is generated
Pages: [1]

Author Topic: After contribution Error page is generated  (Read 293 times)

dhirendra

  • I’m new here
  • *
  • Posts: 27
  • Karma: -1
  • CiviCRM version: 4.4.3
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5.3.3
After contribution Error page is generated
March 05, 2014, 12:11:02 am
Hello, I am using Civicrm 4.4.3 . I have written the code that When anonymous user contributes, he gets the membership of civicrm and drupal as well. I have used hook civicrm post method and user save method for programatically creating membership. But the problem is that the error page is getting generated after Contribution. And When i use hook civicrm pre method instead of hook civicrm post , that error is removed(Error is not generated after contribution), Instead duplicate account is getting created.


Error looks like(when using hook civicrm post):

T 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
he Error looks like(when using hook civicrm post):

 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • After contribution Error page is generated

This forum was archived on 2017-11-26.