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 (Moderator: Dave Greenberg) »
  • issues adding membership to contacts
Pages: [1]

Author Topic: issues adding membership to contacts  (Read 1283 times)

ginga

  • Guest
issues adding membership to contacts
December 05, 2008, 10:41:01 am
Does anyone know why I would be getting these two error when ever I try to give a membership to a contact

# warning: mktime() expects parameter 4 to be long, string given in /home/earlychi/public_html/sites/all/modules/civicrm/CRM/Member/BAO/MembershipType.php on line 313.
# warning: mktime() expects parameter 4 to be long, string given in /home/earlychi/public_html/sites/all/modules/civicrm/CRM/Member/BAO/MembershipType.php on line 321.


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: issues adding membership to contacts
December 05, 2008, 02:43:15 pm

1. can you reproduce this on demo?

2. if not,  can you add this line of code to: CRM/Member/BAO/MembershipType.php

Code: [Select]
CRM_Core_Error::debug( 'membershipDetails', $membershipTypeDetails );
exit( );

you will need to add it after you fill out the form and before you hit save

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • issues adding membership to contacts

This forum was archived on 2017-11-26.