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) »
  • White Sreen when starting a contribution
Pages: [1]

Author Topic: White Sreen when starting a contribution  (Read 1239 times)

sibro

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
White Sreen when starting a contribution
December 21, 2012, 03:37:14 pm
This was working fine. Last weekend the site went live, we were previously using contributions and events with dedicated url's. We actually moved our www to point to the new server.

When a user went to make a contribution he got a white screen. If I removed the profile which added a few fields abut the donation it works fine. I am also unable to set a new profile to be seen in the contribution page. I suspect a database problem but can't get close enough to find where to put the print statements


Dec 21 16:49:18  [info] $Fatal Error Details = Array
(
    [message] => An error occurred during form submission. This page requires form data to be submitted for processing and no form data was submitted or processed. We are sorry for any inconvience. Please click <a href='/civicrm/contribute/transact?reset=1&amp;id=4'>here</a> to visit the contribution page and re-start the contribution process.
   
Code: [Select]
=>
)


Dec 21 16:49:18  [info] $backTrace = #0 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Core/Error.php(306): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionBase.php(207): CRM_Core_Error::fatal("An error occurred during form submission. This page requires form data to be ...")
#2 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php(68): CRM_Contribute_Form_ContributionBase->preProcess()
#3 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Core/Form.php(338): CRM_Contribute_Form_Contribution_Main->preProcess()
#4 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(93): CRM_Core_Form->buildForm()
#5 /home/fjmcprod/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contribute_Form_Contribution_Main), "display")
#6 /home/fjmcprod/public_html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution_Main), "display")
#7 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Core/Controller.php(289): HTML_QuickForm_Page->handle("display")
#8 /home/fjmcprod/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php(227): CRM_Core_Controller->run((Array:3), NULL)
#9 /home/fjmcprod/public_html/sites/all/modules/civicrm/drupal/civicrm.module(500): CRM_Core_Invoke::invoke((Array:3))
#10 [internal function](): civicrm_invoke("contribute", "transact")
#11 /home/fjmcprod/public_html/includes/menu.inc(516): call_user_func_array("civicrm_invoke", (Array:2))
#12 /home/fjmcprod/public_html/index.php(21): menu_execute_active_handler()
#13 {main}
[/tt]
Bruce

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: White Sreen when starting a contribution
December 22, 2012, 12:10:12 pm

you might want to ensure that you have followed all the steps here:

http://wiki.civicrm.org/confluence/display/CRMDOC42/Moving+an+Existing+Installation+to+a+New+Server+or+Location

if the above does not work, would help if your consultant / integrator takes a look and figures out whats happening and why. Please do post back once u have found the solution

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Sreen when starting a contribution
December 23, 2012, 07:47:02 am
Quote from: sibro on December 21, 2012, 03:37:14 pm
This was working fine. Last weekend the site went live, we were previously using contributions and events with dedicated url's. We actually moved our www to point to the new server.

Nothing else changed? Did you update civicrm.settings.php?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

sibro

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Re: White Sreen when starting a contribution
December 23, 2012, 03:31:28 pm
Our developer went through the entire list. I created a copy of the entire site in another directory, The problem followed the site.

I enabled listing of all the sql calls on the test site.  Had a great deal of calls on the other pages. On the failing page absolutely no database calls were shown. I turned off paid event and it works ok. It seems like when the link goes to the page nothing happens. I would think it needs to go to the database to know if payments are being collected.

Sounds like I need to run Xdebug but I have never used it.
Bruce

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: White Sreen when starting a contribution
December 23, 2012, 05:18:26 pm

if i was debugging the site, i would probably put a few debug statements in a few core places, starting @ civicrm_invoke and seeing where it gets to

however with a white screen, there has to be some error logged somewhere. finding where the error is logged will make things a lot easier (and quicker)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sibro

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Re: White Sreen when starting a contribution
December 24, 2012, 08:45:38 am
Thanks Lobo, one of your key experts developed the site. We did the contributions and the ongoing development.  She is as frustrated as me. Looks like I need to learn CiviCRM internals and run xdebug to step through the problem.  I hate it when a solid bug can't be pinned down.  I have seen white screens when the permissions are messed up, but nothing yet.
Bruce

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Sreen when starting a contribution
December 24, 2012, 08:47:53 am
If no DB calls are made, I wonder if something on the server config is blocking the page from executing...

Start debugging in index.php, to check from the very start.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • White Sreen when starting a contribution

This forum was archived on 2017-11-26.