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) »
  • CiviContribute PHP Fatal Error on Submission
Pages: [1]

Author Topic: CiviContribute PHP Fatal Error on Submission  (Read 4047 times)

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
CiviContribute PHP Fatal Error on Submission
August 06, 2013, 06:54:05 pm
Having issues with a CiviContribute Membership form where a Fatal error occurs when a user click "Contunue" after the confirmation page. I've increased the "memory_limit" and still has no impact.

Any insight would be greatly appreciated :)


Errors:
[Tue Aug 06 21:26:05 2013] [warn] [client 24.36.240.194] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3072 bytes) in /var/www/vhosts/apta.biz/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/ClassLoader.php on line 126, referer: https://apta.biz/corporate-registration/?page=CiviCRM&q=civicrm/contribute/transact&_qf_Confirm_display=true&qfKey=e0e819e5bfa977e35ae454d664054e08_252

[Tue Aug 06 21:26:05 2013] [warn] [client 24.36.240.194] mod_fcgid: stderr: PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0, referer: https://apta.biz/corporate-registration/?page=CiviCRM&q=civicrm/contribute/transact&_qf_Confirm_display=true&qfKey=e0e819e5bfa977e35ae454d664054e08_252

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: CiviContribute PHP Fatal Error on Submission
August 07, 2013, 09:44:56 am
Looks like you've only got 64Mb allocated to php, you'll probably want more. If you think you already increased the php.ini value, you might just need to restart apache.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviContribute PHP Fatal Error on Submission
August 08, 2013, 06:59:39 am
Yes, 64 mb is too little. The About CiviCRM page http://civicrm.org/aboutcivicrm recommends 126 mb and some sites require more.
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.

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
Re: CiviContribute PHP Fatal Error on Submission
October 22, 2013, 06:34:27 pm
Thanks guys... I'm stumped. I definitely increased memory, restarted Apache then verified with a phpinfo.php (memory_limit 1024M) and I can't get this worked out

[Tue Oct 22 21:18:34 2013] [warn] [client 24.235.189.34] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 6400 bytes) in /var/www/vhosts/apta.biz/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Activity/BAO/Activity.php on line 1858, referer: https://apta.biz/chapters/arizona/registration/

This error started once I migrated the site over from Bluehost to MediaTemple. Haven't had an issue with another site I migrated over (Drupal-CiviCRM), just with this one (WordPress-CiviCRM)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviContribute PHP Fatal Error on Submission
October 23, 2013, 03:22:28 am
Your error is the same--the memory is still limited to 64Mb. Perhaps somewhere your code is setting that. I would suggest you ask your host for assistance.
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.

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
Re: CiviContribute PHP Fatal Error on Submission
October 23, 2013, 06:07:45 pm
Thanks Hershel

I found a darn WordPress plugin that was the culprit so memory is no longer an issue, I am however (even after upgrading to 4.4 just now) getting an error that won't allow a Membership to get processed

[Wed Oct 23 20:44:16 2013] [warn] [client 24.235.189.34] mod_fcgid: stderr: PHP Fatal error: Class 'CiviCRM_Exception' not found in /var/www/vhosts/apta.biz/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Member/BAO/Membership.php on line 1448, referer: https://apta.biz/chapters/arizona/registration/?page=CiviCRM&q=civicrm/contribute/transact&_qf_Confirm_display=true&qfKey=dbe9c15e9b32cc1a3c87cf1a6c3dcf05_488

Line 1448 being:

throw new CiviCRM_Exception($message, 0, $errorParams);


adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: CiviContribute PHP Fatal Error on Submission
October 30, 2013, 10:04:27 am
That means it hit an error and then tried to execute it's error handling code and failed to do even that.

A symptom of a bad installation ... maybe another rogue wordpress extension? Off the top of my head, I'd guess taht CiviCRM isn't finding all it's things in it's normal places, so maybe some extension is doing a chdir or something ugly like that.

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: CiviContribute PHP Fatal Error on Submission
October 31, 2013, 05:57:05 am
This issue is fixed now . Here is the patch https://github.com/civicrm/civicrm-core/pull/1862

Hth
S
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • CiviContribute PHP Fatal Error on Submission

This forum was archived on 2017-11-26.