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) »
  • Contribution page: The page you requested is currently unavailable.
Pages: [1]

Author Topic: Contribution page: The page you requested is currently unavailable.  (Read 992 times)

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Contribution page: The page you requested is currently unavailable.
September 25, 2012, 10:07:13 pm

Running CiviCRM 4.2 on Drupal 6, I'm getting user reports of an error when they submit contribution pages.

The error happens either when they 'confirm contribution' or on the next page where they 'submit payment'--I'm not 100% sure which.  The payments haven't been submitted to the payment processor, so the error is happening before that point.

I haven't been able to replicate the error in testing, but today we got 3 payments and 2 reports of the bug while trying to make a payment :-(

Any thoughts on what could be causing this or how I could test to try to isolate the problem?

Here is the info from Drupal Watchdog for one of them--sorry for the somewhat mangled formatting:

Type civicrm
Date Tuesday, September 25, 2012 - 5:21pm
User Anonymous
Location http://ourwebsite.org/civicrm/contribute/transact?reset=1&id=21
Referrer
Message $Fatal Error Details = Array ( [message] => The page you requested is currently unavailable.
Code: [Select]
=> )
Severity debug
Hostname 204.250.119.254
Operations


$backTrace = /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 303 /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionBase.php, fatal, 271 /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php, preProcess, 68 /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Core/Form.php, preProcess, 338 /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 93 /home/ourwebsite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203 /home/ourwebsite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103 /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 289 /home/ourwebsite/www/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 228 /home/ourwebsite/www/www/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 382 , civicrm_invoke, /home/ourwebsite/www/www/includes/menu.inc, call_user_func_array, 349 /home/ourwebsite/www/www/index.php, menu_execute_active_handler, 17

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Re: Contribution page: The page you requested is currently unavailable.
September 26, 2012, 05:10:09 pm
Ok, I got one of the users to send me the error page so I know for certain this is the error received;

Quote
Type   civicrm
Date   Wednesday, September 26, 2012 - 2:34pm
User   Anonymous
Location   http://oursite.org/civicrm/contribute/transact
Referrer   https://oursite.org/civicrm/contribute/transact?reset=1&id=22
Message   $Fatal Error Details = Array ( message => This contribution has already been submitted. Click here if you want to make another contribution.
Severity   debug
Backtrace:

Quote
Type   civicrm
Date   Wednesday, September 26, 2012 - 2:34pm
User   Anonymous
Location   http://oursite.org/civicrm/contribute/transact
Referrer   https://oursite.org/civicrm/contribute/transact?reset=1&id=22
Message   $backTrace = /home/oursite/www/www/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 303 /home/oursite/www/www/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionBase.php, fatal, 203 /home/oursite/www/www/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php, preProcess, 68 /home/oursite/www/www/sites/all/modules/civicrm/CRM/Core/Form.php, preProcess, 338 /home/oursite/www/www/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, buildForm, 121 /home/oursite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203 /home/oursite/www/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103 /home/oursite/www/www/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 289 /home/oursite/www/www/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 228 /home/oursite/www/www/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 382 , civicrm_invoke, /home/oursite/www/www/includes/menu.inc, call_user_func_array, 349 /home/oursite/www/www/index.php, menu_execute_active_handler, 17
Severity   debug

The situation is this:  For some reason our site has been giving errors periodically that say, "Unable to Start Another Process, trying again in 10 seconds".  After ten seconds it reloads the page, but in the middle of a contribution submission, this is like hitting 'reload' of an already submitted page. Update:  It turns out that it isn't re-submitting the post data when it re-loads the page.

CiviCRM receives a page with no contribution page ID but the contribution page ID set in the session.  It interprets this as the contribution page already submitted and sends an error message to that effect.


CiviCRM detects this via a missing session variable and throws this error.

So one solution is, we'll work with the hosting company to get this error fixed.

However - perhaps there is a CiviCRM issue here, too.  There are some situations where the net connection fails or whatever and you really do need to re-submit a previously submitted form.  Does it make sense to check here whether the submission really was previously submitted before throwing this error?

In this case, the error message is misleading because the page actually has not been submitted or processed, but the error message gives users the impression that it was (and it gives users the impression that their credit card was processed--when it in fact, it wasn't).
« Last Edit: September 28, 2012, 04:37:11 pm by flug »

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Re: Contribution page: The page you requested is currently unavailable.
September 28, 2012, 04:36:02 pm
Puzzling this out a little more, and the circumstances that trigger it, I think the error message just needs to be updated. 

I filed my suggested update to the error message on JIRA: http://issues.civicrm.org/jira/browse/CRM-10946

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution page: The page you requested is currently unavailable.

This forum was archived on 2017-11-26.