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) »
  • Suddenly, contribution forms failing with 500 error
Pages: [1]

Author Topic: Suddenly, contribution forms failing with 500 error  (Read 485 times)

sisyphus

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Joomla! 2.5.11
  • MySQL version: 5.1.69-cll
  • PHP version: 5.3.18
Suddenly, contribution forms failing with 500 error
February 09, 2014, 04:19:25 am
Our Contribution forms were working fine up until a week ago, when they started returning 500 Internal Server Errors on all tested browsers, with caches cleared.  I have no idea what changed, and am having a difficult time debugging.  Any help would be greatly appreciated.

Running Joomla 2.5.18 and CiviCRM 4.4.4 (updated today in hopes it would fix the problem, but no such luck).  Here's one of the pages producing the error (feel free to test with name Test Test, other dummy data and 'No thank you' selected as a payment amount), though any old or newly created contribution page behaves the same:  http://awczurich.org/regular-membership?view=Contributions

Here's the kind of error appearing in the Civi error log, suggesting an error setting the correct domain in the cookies, but visiting the page, you can see that the domain matches. Why would the session key be invalid?

Feb 09 09:27:32  [info] $Fatal Error Details = Array
(
    [message] => 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.<br /><br />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.<br /><br />Error type: Could not find a valid session key.
   
Code: [Select]
=>
)


Feb 09 09:27:32  [info] $backTrace = #0 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(322): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(826): CRM_Core_Error::fatal("We can't load the requested web page. This page requires cookies to be enable...")
#2 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(840): CRM_Core_Controller->invalidKeyCommon()
#3 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/ContributionBase.php(205): CRM_Core_Controller->invalidKeyRedirect()
#4 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Main.php(69): CRM_Contribute_Form_ContributionBase->preProcess()
#5 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(351): CRM_Contribute_Form_Contribution_Main->preProcess()
#6 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(93): CRM_Core_Form->buildForm()
#7 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contribute_Form_Contribution_Main), "display")
#8 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution_Main), "display")
#9 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(345): HTML_QuickForm_Page->handle("display")
#10 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(323): CRM_Core_Controller->run((Array:3), NULL)
#11 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:15))
#12 /home/zurich/public_html/new/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#13 /home/zurich/public_html/new/components/com_civicrm/civicrm.php(85): CRM_Core_Invoke::invoke((Array:3))
#14 /home/zurich/public_html/new/components/com_civicrm/civicrm.php(11): civicrm_invoke()
#15 /home/zurich/public_html/new/libraries/joomla/application/component/helper.php(383): require_once("/home/zurich/public_html/new/components/com_civicrm/civicrm.php")
#16 /home/zurich/public_html/new/libraries/joomla/application/component/helper.php(351): JComponentHelper::executeComponent("/home/zurich/public_html/new/components/com_civicrm/civicrm.php")
#17 /home/zurich/public_html/new/includes/application.php(197): JComponentHelper::renderComponent("com_civicrm")
#18 /home/zurich/public_html/new/index.php(42): JSite->dispatch()
#19 {main}

Any clues on how to better understand what is happening and how to fix it?
Thanks!

greenkoi

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 3.2.4
  • MySQL version: 5.0.77
  • PHP version: 5.3.3
Re: Suddenly, contribution forms failing with 500 error
July 31, 2014, 03:22:22 pm
did you ever get some resolution to this ?

I'm running into a similar issue with Joomla

greenkoi

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Joomla 3.2.4
  • MySQL version: 5.0.77
  • PHP version: 5.3.3
Re: Suddenly, contribution forms failing with 500 error
August 05, 2014, 12:56:13 pm
What was the resolution to this?

Im running into the same issue.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Suddenly, contribution forms failing with 500 error

This forum was archived on 2017-11-26.