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) »
  • Empty content returned on CiviContribute submit
Pages: [1]

Author Topic: Empty content returned on CiviContribute submit  (Read 1901 times)

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Empty content returned on CiviContribute submit
February 29, 2012, 03:33:36 am
I have a very strange problem here.

First, I'm running Joomla 2.5.1 and Civicrm 4.1.

Currently, this site is in development.... so no other users during my tests.  Also, no SSL being used for this.  Still, I have a very weird problem. 

After a few test attempts of filling out a CiviCampaign form and submit it (hitting the "Confirm Contribution" button), I eventually get to a point where nothing gets returned.  This, where I expect a confirmation screen. 

What I get is a not a full while screen (like you would typically see with a PHP error and Display Errors turned off).  Instead, everything is being returned (header, modules... etc), except for the Content/Component area of the site.  That comes back blank.

I've been playing with this for a couple of days and can reproduce it fairly easily.  What I have notice is that it ONLY happens when Joomla caching is turned on (Conservative or progressive).  Cannot reproduce with cache off.

Also, there are no errors in the server log and PHP logs when this happens.

After additional testing, I've also determined that if I resubmit the form (which gives me browser message indicating that Post data will be resubmitted).... it continues to return the blank page.  This happen over and over again. 

Now, if I were to clear out the cache... specifically, ONLY the com_plugins entry in cache, and do the resubmit, the process continues correctly.  That is, I can resubmit the form 10 times ... get empty content area, delete com_plugins from cache, resubmit, and it goes through fine.  And again, I've narrowed this down to only needing to delete COM_Plugins... deleting any other entries in cache seems to have no effect.

I do notice that number of files for com_plugins always indicates 2 for me.   When I look in  the cache/com_plugins directory there is 1 cache file and an index.html file.

Any idea what the cause of this might be?

Is here any way for me to determine which plugins are being cached???
« Last Edit: February 29, 2012, 04:39:53 am by wjm »

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: Empty content returned on CiviContribute submit
February 29, 2012, 04:50:12 am
More info worth noting:

This is what the URL string looks like when the confirmation screen returns correctly:

Code: [Select]
http://mydomain.com/index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=310&_qf_Confirm_display=true&qfKey=24ad8f9e1cc13f3dbfd2cdbc2a8e98b3_7258
And this it what it looks like when I get the failure:

Code: [Select]
http://mydomain.com/index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=310
notice that the _qf_Confirm_display and qfKey values are missing.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: Empty content returned on CiviContribute submit
March 08, 2012, 08:20:13 pm
I think I've resolved this issue.  Looks to be conflict between CIVICRM and the Feed Gator pseudo-cron plugin. 

Updates here:  http://forum.civicrm.org/index.php/topic,23774.0.html

mrr2ro

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
Re: Empty content returned on CiviContribute submit
December 10, 2012, 04:02:09 pm
Hello there My 2 cents...

I had the same issue, going through the donation form and getting the pre-confirmation o.K. but the final submission step failed with a server 500 error and MOST of the  times a blank screen, I kept going to where the debug and error log was pointing to --- when I then checked the SSL log and found this.

"PHP Parse error:  syntax error, unexpected T_STRING in /XXXX/administrator/components/com_civicrm/civicrm/CRM/Utils/PDF/Utils.php on line 126, referer: https://XXXX/index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=193&_qf_Confirm_display=true&qfKey=XXXXXX"

Then when to civicrm component / administer / System Settings /  Undelete, Logging and ReCAPTCHA

Attached PDF copy to receipts Set to NO saved, cleared cache, reload and fixed -- The whole thing works!


Mr. R2ro.

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: Empty content returned on CiviContribute submit
December 10, 2012, 04:55:47 pm

what version of php are u on?

i'm suspecting 5.2.x? wkhtmltopdf uses namespaces et al and hence needs 5.3.x

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

rares

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: WP 3.5
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Empty content returned on CiviContribute submit
January 14, 2013, 05:54:54 am
I have this issue too (the T_STRING fatal error) and I'm running PHP 5.2.
Looks like the PHP version is the culprit here.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Empty content returned on CiviContribute submit

This forum was archived on 2017-11-26.