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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • CiviCRM and PHP 5.3 compatibility
Pages: [1]

Author Topic: CiviCRM and PHP 5.3 compatibility  (Read 11921 times)

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
CiviCRM and PHP 5.3 compatibility
November 05, 2009, 08:57:12 am
Quote from: Donald Lobo
we will support it once both Drupal AND Joomla (the CMS'es that we work with) support PHP 5.3. I also suspect we will have to upgrade a fair number of the PEAR packages we use
Both Drupal (6.14) and Joomla (1.5.15) are now official PHP 5.3.x compatible. When CiviCRM to be published in the PHP 5.3.x compatible version? Today? Tomorrow? In the near future? Before end of this year?
« Last Edit: November 05, 2009, 09:08:29 am by mrl586 »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM and PHP 5.3 compatibility
November 06, 2009, 03:08:02 am
Check : http://drupal.org/node/360605, this kind of gives me impression that you will have to modify php.ini and turn off E_DEPRECATED.

So it looks like Drupal 7 will be fully compatible.

Kurund
Found this reply helpful? Support CiviCRM

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: CiviCRM and PHP 5.3 compatibility
November 06, 2009, 05:49:25 am

i suspect 3.2 might be PHP 5.3 compatible.

If important to you, please consider investigating and contributing patches towards the same.

Asking the same question periodically does not make it happen

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

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: CiviCRM and PHP 5.3 compatibility
November 08, 2009, 01:50:40 am
Quote from: Kurund Jalmi on November 06, 2009, 03:08:02 am
Check : http://drupal.org/node/360605, this kind of gives me impression that you will have to modify php.ini and turn off E_DEPRECATED.
I think that this is better way solve PHP 5.3 compatibility issue on Drupal 6.14. But this fix does not fix CiviCRM's PHP 5.3 compatibility issues.

PS. Can someone fix this bug?
Code: [Select]
backTrace

/home/mrl586/svn/civicrm/CRM/Core/Error.php, backtrace, 146
, handle,
/home/mrl586/svn/civicrm/packages/PEAR.php, call_user_func, 931
/home/mrl586/svn/civicrm/packages/HTML/QuickForm.php, PEAR_Error, 2070
/home/mrl586/svn/civicrm/packages/PEAR.php, HTML_QuickForm_Error, 564
/home/mrl586/svn/civicrm/packages/HTML/QuickForm.php, raiseError, 1600
/home/mrl586/svn/civicrm/CRM/Core/Form.php, validate, 292
/home/mrl586/svn/civicrm/CRM/Core/QuickForm/Action/Upload.php, validate, 136
/home/mrl586/svn/civicrm/CRM/Core/QuickForm/Action/Upload.php, realPerform, 129
/home/mrl586/svn/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/mrl586/svn/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/mrl586/svn/civicrm/CRM/Core/Controller.php, handle, 249
/home/mrl586/svn/civicrm/CRM/Utils/Wrapper.php, run, 114
/home/mrl586/svn/civicrm/CRM/Core/Invoke.php, run, 181
/home/mrl586/svn/civicrm/drupal/civicrm.module, invoke, 335
, civicrm_invoke,
/home/mrl586/public_html/drupal/includes/menu.inc, call_user_func_array, 348
/home/mrl586/public_html/drupal/index.php, menu_execute_active_handler, 18
...
New Sponsor
warning: Parameter 1 to CRM_Contact_Form_Edit_Organization::formRule() expected to be a reference, value given in /home/mrl586/svn/civicrm/packages/HTML/QuickForm.php on line 1596.
...


unrecoverable error
    Sorry. A non-recoverable error has occurred.

    QuickForm Error: unknown error

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [ code ] => -1
    [message] => QuickForm Error: unknown error
    [mode] => 16
    [debug_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [type] => HTML_QuickForm_Error
    [user_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [to_string] => [html_quickform_error: message="unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Form rule callback returned invalid value in HTML_QuickForm::validate()"]
)
CiviCRM version: trunk
PHP: 5.3.0
MySQL: 5.1.40
CMS: Drupal 6.14

thesamim

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
Re: CiviCRM and PHP 5.3 compatibility
December 28, 2009, 10:49:01 am
In case anybody cares: I have the same stack trace on Joomla.
CiviCRM version: CiviCRM 3.1.beta3.
PHP:    5.3.1
MySQL:    5.1.41
CMS: Joomla! 1.5.15 Stable

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviCRM and PHP 5.3 compatibility
December 28, 2009, 11:47:53 am
We will address PHP 5.3 compatiblity for the 3.2 release (est release in April / May 2010).
Protect your investment in CiviCRM by  becoming a Member!

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCRM and PHP 5.3 compatibility
February 18, 2010, 10:19:15 am
I started testing the latest 3.2 trunk with 5.3 since I'll have a need for this too. Note that you need to set date.timezone in your php.ini, but other than some deprecation warnings from GenCode.php haven't noticed any problems.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • CiviCRM and PHP 5.3 compatibility

This forum was archived on 2017-11-26.